Rebuild doc

This commit is contained in:
Julien Duponchelle 2016-03-14 20:37:07 +01:00
parent 9062490be3
commit ed291da566
No known key found for this signature in database
GPG Key ID: F1E2485547D4595D
118 changed files with 528 additions and 237 deletions

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:8000/v2/projects/ab68f6d3-fdf2-42f8-9bd3-a35f60063fdb'
curl -i -X DELETE 'http://localhost:8000/v2/projects/65cf5095-11e2-4b5f-a953-b74aca5a34ec'
DELETE /v2/projects/ab68f6d3-fdf2-42f8-9bd3-a35f60063fdb HTTP/1.1
DELETE /v2/projects/65cf5095-11e2-4b5f-a953-b74aca5a34ec HTTP/1.1

View File

@ -0,0 +1,18 @@
curl -i -X DELETE 'http://localhost:8000/v2/projects/7e95cc8e-44b0-42ca-9c2b-8769755b7586/links/8805466a-991c-40ec-937f-517561ecf65b'
DELETE /v2/projects/7e95cc8e-44b0-42ca-9c2b-8769755b7586/links/8805466a-991c-40ec-937f-517561ecf65b HTTP/1.1
HTTP/1.1 201
ACCESS-CONTROL-ALLOW-ORIGIN: *
CONTENT-LENGTH: 72
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/1.5.0dev1
X-ROUTE: /v2/projects/{project_id}/links/{link_id}
{
"link_id": "8805466a-991c-40ec-937f-517561ecf65b",
"vms": []
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/projects/e77e2864-4c3f-4613-b06b-489cc608e9f5/close' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/projects/d7c2d234-9854-47d4-bb78-93a94f2d8bfc/close' -d '{}'
POST /v2/projects/e77e2864-4c3f-4613-b06b-489cc608e9f5/close HTTP/1.1
POST /v2/projects/d7c2d234-9854-47d4-bb78-93a94f2d8bfc/close HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/projects/86f47fd6-908d-4ca7-998d-a69782792b31/commit' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/projects/cf4f50f1-0a93-494b-ada6-39fe0c3df67d/commit' -d '{}'
POST /v2/projects/86f47fd6-908d-4ca7-998d-a69782792b31/commit HTTP/1.1
POST /v2/projects/cf4f50f1-0a93-494b-ada6-39fe0c3df67d/commit HTTP/1.1
{}

View File

@ -1,17 +1,17 @@
curl -i -X POST 'http://localhost:8000/v2/projects/f6bf6c1c-19ac-4441-9efe-8ed31a5f7542/links' -d '{"vms": [{"adapter_number": 0, "port_number": 3, "vm_id": "4b9f3a9a-b40e-4144-bcb2-429ff3f64049"}, {"adapter_number": 2, "port_number": 4, "vm_id": "d32d5a58-1f36-4937-a3b6-c24fb43df67c"}]}'
curl -i -X POST 'http://localhost:8000/v2/projects/b61e91b1-e69c-4eaa-a012-9d98135a53e0/links' -d '{"vms": [{"adapter_number": 0, "port_number": 3, "vm_id": "0f349889-091d-4919-87d2-11d7ec429066"}, {"adapter_number": 2, "port_number": 4, "vm_id": "bc556663-16a6-41e0-9562-4e541037d890"}]}'
POST /v2/projects/f6bf6c1c-19ac-4441-9efe-8ed31a5f7542/links HTTP/1.1
POST /v2/projects/b61e91b1-e69c-4eaa-a012-9d98135a53e0/links HTTP/1.1
{
"vms": [
{
"adapter_number": 0,
"port_number": 3,
"vm_id": "4b9f3a9a-b40e-4144-bcb2-429ff3f64049"
"vm_id": "0f349889-091d-4919-87d2-11d7ec429066"
},
{
"adapter_number": 2,
"port_number": 4,
"vm_id": "d32d5a58-1f36-4937-a3b6-c24fb43df67c"
"vm_id": "bc556663-16a6-41e0-9562-4e541037d890"
}
]
}
@ -26,17 +26,17 @@ SERVER: Python/3.5 GNS3/1.5.0dev1
X-ROUTE: /v2/projects/{project_id}/links
{
"link_id": "bfb1c5e0-4915-454d-acf9-fa8b19e62bf8",
"link_id": "43bd7b6b-8878-48fd-b8f7-1ca876b372ae",
"vms": [
{
"adapter_number": 0,
"port_number": 3,
"vm_id": "4b9f3a9a-b40e-4144-bcb2-429ff3f64049"
"vm_id": "0f349889-091d-4919-87d2-11d7ec429066"
},
{
"adapter_number": 2,
"port_number": 4,
"vm_id": "d32d5a58-1f36-4937-a3b6-c24fb43df67c"
"vm_id": "bc556663-16a6-41e0-9562-4e541037d890"
}
]
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/projects/b580182b-d534-4be7-818b-6ebf47ad8df8/vms' -d '{"hypervisor_id": "example.com", "name": "test", "properties": {"startup_script": "echo test"}, "vm_type": "vpcs"}'
curl -i -X POST 'http://localhost:8000/v2/projects/e00d950d-0d48-422c-b3ea-43d0fbaa8291/vms' -d '{"hypervisor_id": "example.com", "name": "test", "properties": {"startup_script": "echo test"}, "vm_type": "vpcs"}'
POST /v2/projects/b580182b-d534-4be7-818b-6ebf47ad8df8/vms HTTP/1.1
POST /v2/projects/e00d950d-0d48-422c-b3ea-43d0fbaa8291/vms HTTP/1.1
{
"hypervisor_id": "example.com",
"name": "test",
@ -24,10 +24,10 @@ X-ROUTE: /v2/projects/{project_id}/vms
"console_type": "telnet",
"hypervisor_id": "example.com",
"name": "test",
"project_id": "b580182b-d534-4be7-818b-6ebf47ad8df8",
"project_id": "e00d950d-0d48-422c-b3ea-43d0fbaa8291",
"properties": {
"startup_script": "echo test"
},
"vm_id": "65e7c4d6-82c4-42a5-a9ee-c419637180f0",
"vm_id": "a311973e-9ede-4aa2-823c-268e972fc66a",
"vm_type": "vpcs"
}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/55ea1a0f-c23b-4021-981b-567a4bd5426d/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/acaac98d-b81f-4490-9392-ffa7fad3832e/adapters/0/ports/0/nio'
DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/55ea1a0f-c23b-4021-981b-567a4bd5426d/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/acaac98d-b81f-4490-9392-ffa7fad3832e/adapters/0/ports/0/nio HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/6899c001-04b8-4219-a5fb-c0549e6a7437'
curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/30962bb6-155f-4da8-b5e3-499f899e103b'
DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/6899c001-04b8-4219-a5fb-c0549e6a7437 HTTP/1.1
DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/30962bb6-155f-4da8-b5e3-499f899e103b HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/d7462950-4980-4633-8d48-128744cdb012/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/4a38812f-0a66-4219-937a-c4f688dd2c08/adapters/1/ports/0/nio'
DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/d7462950-4980-4633-8d48-128744cdb012/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/4a38812f-0a66-4219-937a-c4f688dd2c08/adapters/1/ports/0/nio HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/ad2930c4-fe84-497b-9ec0-853bf3c52feb'
curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/dd357050-393f-4f87-85a8-312c47aed7e6'
DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/ad2930c4-fe84-497b-9ec0-853bf3c52feb HTTP/1.1
DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/dd357050-393f-4f87-85a8-312c47aed7e6 HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/704bfca0-ac4d-4cda-9926-f8d2254e12a0/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/986f79ba-ad3a-417b-a56f-d3769cfd7f82/adapters/1/ports/0/nio'
DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/704bfca0-ac4d-4cda-9926-f8d2254e12a0/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/986f79ba-ad3a-417b-a56f-d3769cfd7f82/adapters/1/ports/0/nio HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/1fe30649-d55a-4a7e-873a-41c6254cf514/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/364e147a-7c89-4104-b987-6d0d7853f8de/adapters/0/ports/0/nio'
DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/1fe30649-d55a-4a7e-873a-41c6254cf514/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/364e147a-7c89-4104-b987-6d0d7853f8de/adapters/0/ports/0/nio HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/b81ae681-aa48-4114-8d36-1d2b8cc9ca09'
curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/b3c886ce-7ad3-4721-9544-c93709c8b638'
DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/b81ae681-aa48-4114-8d36-1d2b8cc9ca09 HTTP/1.1
DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/b3c886ce-7ad3-4721-9544-c93709c8b638 HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/31fe119f-a164-424e-8dfa-8d6454126766/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/06588b10-2226-43b1-8d08-28e1aa4f5393/adapters/0/ports/0/nio'
DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/31fe119f-a164-424e-8dfa-8d6454126766/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/06588b10-2226-43b1-8d08-28e1aa4f5393/adapters/0/ports/0/nio HTTP/1.1

View File

@ -6,7 +6,7 @@ GET /v2/hypervisor/interfaces HTTP/1.1
HTTP/1.1 200
ACCESS-CONTROL-ALLOW-ORIGIN: *
CONTENT-LENGTH: 1253
CONTENT-LENGTH: 6277
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/1.5.0dev1
@ -82,5 +82,255 @@ X-ROUTE: /v2/hypervisor/interfaces
"id": "vboxnet6",
"ip_address": "",
"name": "vboxnet6"
},
{
"id": "vmnet1",
"ip_address": "172.16.16.1",
"name": "vmnet1"
},
{
"id": "vmnet10",
"ip_address": "172.16.7.1",
"name": "vmnet10"
},
{
"id": "vmnet11",
"ip_address": "172.16.8.1",
"name": "vmnet11"
},
{
"id": "vmnet12",
"ip_address": "172.16.9.1",
"name": "vmnet12"
},
{
"id": "vmnet13",
"ip_address": "172.16.10.1",
"name": "vmnet13"
},
{
"id": "vmnet14",
"ip_address": "172.16.11.1",
"name": "vmnet14"
},
{
"id": "vmnet15",
"ip_address": "172.16.12.1",
"name": "vmnet15"
},
{
"id": "vmnet16",
"ip_address": "172.16.13.1",
"name": "vmnet16"
},
{
"id": "vmnet17",
"ip_address": "172.16.14.1",
"name": "vmnet17"
},
{
"id": "vmnet18",
"ip_address": "172.16.15.1",
"name": "vmnet18"
},
{
"id": "vmnet19",
"ip_address": "172.16.17.1",
"name": "vmnet19"
},
{
"id": "vmnet2",
"ip_address": "172.16.0.1",
"name": "vmnet2"
},
{
"id": "vmnet20",
"ip_address": "172.16.18.1",
"name": "vmnet20"
},
{
"id": "vmnet21",
"ip_address": "172.16.19.1",
"name": "vmnet21"
},
{
"id": "vmnet22",
"ip_address": "172.16.20.1",
"name": "vmnet22"
},
{
"id": "vmnet23",
"ip_address": "172.16.21.1",
"name": "vmnet23"
},
{
"id": "vmnet24",
"ip_address": "172.16.22.1",
"name": "vmnet24"
},
{
"id": "vmnet25",
"ip_address": "172.16.23.1",
"name": "vmnet25"
},
{
"id": "vmnet26",
"ip_address": "172.16.24.1",
"name": "vmnet26"
},
{
"id": "vmnet27",
"ip_address": "172.16.25.1",
"name": "vmnet27"
},
{
"id": "vmnet28",
"ip_address": "172.16.26.1",
"name": "vmnet28"
},
{
"id": "vmnet29",
"ip_address": "172.16.27.1",
"name": "vmnet29"
},
{
"id": "vmnet3",
"ip_address": "172.16.1.1",
"name": "vmnet3"
},
{
"id": "vmnet30",
"ip_address": "172.16.28.1",
"name": "vmnet30"
},
{
"id": "vmnet31",
"ip_address": "172.16.29.1",
"name": "vmnet31"
},
{
"id": "vmnet32",
"ip_address": "172.16.30.1",
"name": "vmnet32"
},
{
"id": "vmnet33",
"ip_address": "172.16.31.1",
"name": "vmnet33"
},
{
"id": "vmnet34",
"ip_address": "172.16.32.1",
"name": "vmnet34"
},
{
"id": "vmnet35",
"ip_address": "172.16.33.1",
"name": "vmnet35"
},
{
"id": "vmnet36",
"ip_address": "172.16.34.1",
"name": "vmnet36"
},
{
"id": "vmnet37",
"ip_address": "172.16.35.1",
"name": "vmnet37"
},
{
"id": "vmnet38",
"ip_address": "172.16.36.1",
"name": "vmnet38"
},
{
"id": "vmnet39",
"ip_address": "172.16.37.1",
"name": "vmnet39"
},
{
"id": "vmnet4",
"ip_address": "172.16.2.1",
"name": "vmnet4"
},
{
"id": "vmnet40",
"ip_address": "172.16.38.1",
"name": "vmnet40"
},
{
"id": "vmnet41",
"ip_address": "172.16.39.1",
"name": "vmnet41"
},
{
"id": "vmnet42",
"ip_address": "172.16.40.1",
"name": "vmnet42"
},
{
"id": "vmnet43",
"ip_address": "172.16.41.1",
"name": "vmnet43"
},
{
"id": "vmnet44",
"ip_address": "172.16.42.1",
"name": "vmnet44"
},
{
"id": "vmnet45",
"ip_address": "172.16.43.1",
"name": "vmnet45"
},
{
"id": "vmnet46",
"ip_address": "172.16.44.1",
"name": "vmnet46"
},
{
"id": "vmnet47",
"ip_address": "172.16.45.1",
"name": "vmnet47"
},
{
"id": "vmnet48",
"ip_address": "172.16.46.1",
"name": "vmnet48"
},
{
"id": "vmnet49",
"ip_address": "172.16.47.1",
"name": "vmnet49"
},
{
"id": "vmnet5",
"ip_address": "172.16.3.1",
"name": "vmnet5"
},
{
"id": "vmnet50",
"ip_address": "172.16.48.1",
"name": "vmnet50"
},
{
"id": "vmnet6",
"ip_address": "172.16.4.1",
"name": "vmnet6"
},
{
"id": "vmnet7",
"ip_address": "172.16.5.1",
"name": "vmnet7"
},
{
"id": "vmnet8",
"ip_address": "192.168.229.1",
"name": "vmnet8"
},
{
"id": "vmnet9",
"ip_address": "172.16.6.1",
"name": "vmnet9"
}
]

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/e8423a70-2b34-4be2-bc37-a6bac6a3334a'
curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/2e4fb556-c2ff-487a-b893-89ce71664e50'
GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/e8423a70-2b34-4be2-bc37-a6bac6a3334a HTTP/1.1
GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/2e4fb556-c2ff-487a-b893-89ce71664e50 HTTP/1.1
@ -28,6 +28,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/iou/vms/{vm_id}
"serial_adapters": 2,
"startup_config": null,
"use_default_iou_values": true,
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfk_m3jgm/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/e8423a70-2b34-4be2-bc37-a6bac6a3334a",
"vm_id": "e8423a70-2b34-4be2-bc37-a6bac6a3334a"
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphaiimisv/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/2e4fb556-c2ff-487a-b893-89ce71664e50",
"vm_id": "2e4fb556-c2ff-487a-b893-89ce71664e50"
}

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/6a58f681-755e-4678-ae5f-9d747aeb05ec/configs'
curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/ad0bffec-9cc8-40ab-8912-deb6747e8816/configs'
GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/6a58f681-755e-4678-ae5f-9d747aeb05ec/configs HTTP/1.1
GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/ad0bffec-9cc8-40ab-8912-deb6747e8816/configs HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/97b9930a-de17-452c-8838-1fd384eb2ba4'
curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/91ef9646-40e4-476d-843f-15903bbd8ab7'
GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/97b9930a-de17-452c-8838-1fd384eb2ba4 HTTP/1.1
GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/91ef9646-40e4-476d-843f-15903bbd8ab7 HTTP/1.1
@ -42,15 +42,15 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/qemu/vms/{vm_id}
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:00:ab:2b:a4:00",
"mac_address": "00:00:ab:8a:b7:00",
"name": "PC TEST 1",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpxlfg0aki/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpusrb0a1j/qemu-system-x86_64",
"ram": 256,
"usage": "",
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpbcb6b3fb/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/97b9930a-de17-452c-8838-1fd384eb2ba4",
"vm_id": "97b9930a-de17-452c-8838-1fd384eb2ba4"
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpynsw_k3v/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/91ef9646-40e4-476d-843f-15903bbd8ab7",
"vm_id": "91ef9646-40e4-476d-843f-15903bbd8ab7"
}

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/150848d4-6c71-4ca1-b039-174b479afe51'
curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/e959b3bc-0d08-4528-a0a1-512bdd6b6cc8'
GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/150848d4-6c71-4ca1-b039-174b479afe51 HTTP/1.1
GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/e959b3bc-0d08-4528-a0a1-512bdd6b6cc8 HTTP/1.1
@ -24,6 +24,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/virtualbox/vms/{vm_id}
"ram": 0,
"use_any_adapter": false,
"vm_directory": null,
"vm_id": "150848d4-6c71-4ca1-b039-174b479afe51",
"vm_id": "e959b3bc-0d08-4528-a0a1-512bdd6b6cc8",
"vmname": "VMTEST"
}

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/5d855bb2-517d-449b-a47d-128d0b8efbc2'
curl -i -X GET 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/7aa4b445-5fe9-4525-9704-8f409ce002f1'
GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/5d855bb2-517d-449b-a47d-128d0b8efbc2 HTTP/1.1
GET /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/7aa4b445-5fe9-4525-9704-8f409ce002f1 HTTP/1.1
@ -21,6 +21,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/vpcs/vms/{vm_id}
"startup_script": null,
"startup_script_path": null,
"status": "stopped",
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpbcb6b3fb/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/5d855bb2-517d-449b-a47d-128d0b8efbc2",
"vm_id": "5d855bb2-517d-449b-a47d-128d0b8efbc2"
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpynsw_k3v/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/7aa4b445-5fe9-4525-9704-8f409ce002f1",
"vm_id": "7aa4b445-5fe9-4525-9704-8f409ce002f1"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/b997d690-c8a3-4f15-83e8-a674e6cd006d/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/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/30686a1e-59ac-4e43-8b0e-aeec3f1180c8/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/b997d690-c8a3-4f15-83e8-a674e6cd006d/adapters/0/ports/0/nio HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/30686a1e-59ac-4e43-8b0e-aeec3f1180c8/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/739b85bc-2f6e-45bd-b173-4378060582c2/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/430212e5-c7c1-42c5-bdf2-51f2fdd9d1f2/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/739b85bc-2f6e-45bd-b173-4378060582c2/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/430212e5-c7c1-42c5-bdf2-51f2fdd9d1f2/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@ -16,5 +16,5 @@ SERVER: Python/3.5 GNS3/1.5.0dev1
X-ROUTE: /v2/hypervisor/projects/{project_id}/docker/vms/{vm_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
{
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfk_m3jgm/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphaiimisv/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/ba1dc09d-3998-43a6-a014-d36dcb4a9179/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/f407d63c-43cd-44d5-b759-182527f85e6b/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/ba1dc09d-3998-43a6-a014-d36dcb4a9179/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/f407d63c-43cd-44d5-b759-182527f85e6b/adapters/0/ports/0/stop_capture HTTP/1.1
{}

View File

@ -1,11 +1,11 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms' -d '{"name": "PC TEST 1", "path": "iou.bin", "startup_config_content": "hostname test", "vm_id": "12d081d8-d490-4535-9485-3820d7452cb3"}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms' -d '{"name": "PC TEST 1", "path": "iou.bin", "startup_config_content": "hostname test", "vm_id": "3b289fdd-8fc9-48de-8366-db79c1a1dbe4"}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms HTTP/1.1
{
"name": "PC TEST 1",
"path": "iou.bin",
"startup_config_content": "hostname test",
"vm_id": "12d081d8-d490-4535-9485-3820d7452cb3"
"vm_id": "3b289fdd-8fc9-48de-8366-db79c1a1dbe4"
}
@ -33,6 +33,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/iou/vms
"serial_adapters": 2,
"startup_config": "startup-config.cfg",
"use_default_iou_values": true,
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfk_m3jgm/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/12d081d8-d490-4535-9485-3820d7452cb3",
"vm_id": "12d081d8-d490-4535-9485-3820d7452cb3"
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphaiimisv/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/3b289fdd-8fc9-48de-8366-db79c1a1dbe4",
"vm_id": "3b289fdd-8fc9-48de-8366-db79c1a1dbe4"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/2663a05a-a0b1-4f99-b1e6-0c88eb4f428f/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_generic_ethernet"}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/946c98ca-806d-4335-80e3-9cb65d13dbf4/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_generic_ethernet"}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/2663a05a-a0b1-4f99-b1e6-0c88eb4f428f/adapters/1/ports/0/nio HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/946c98ca-806d-4335-80e3-9cb65d13dbf4/adapters/1/ports/0/nio HTTP/1.1
{
"ethernet_device": "bridge0",
"type": "nio_generic_ethernet"

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/8079ff79-b537-41aa-ae14-1e432d831542/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/7c669c68-7877-4542-a652-f3243556fb58/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/8079ff79-b537-41aa-ae14-1e432d831542/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/7c669c68-7877-4542-a652-f3243556fb58/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@ -16,5 +16,5 @@ SERVER: Python/3.5 GNS3/1.5.0dev1
X-ROUTE: /v2/hypervisor/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/tmpfk_m3jgm/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
"pcap_file_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphaiimisv/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/1a9a1732-2d48-4951-8ea3-80bbd4a38a24/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/0c9e3dff-9bab-4523-a89c-6c1093e301a1/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/1a9a1732-2d48-4951-8ea3-80bbd4a38a24/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/0c9e3dff-9bab-4523-a89c-6c1093e301a1/adapters/0/ports/0/stop_capture HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/4bc03cbc-a8e3-482e-821f-76b75b4bb313/reload' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/dafdd9c1-4d5c-4d40-8a13-b866a74bb2c8/reload' -d '{}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/4bc03cbc-a8e3-482e-821f-76b75b4bb313/reload HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/dafdd9c1-4d5c-4d40-8a13-b866a74bb2c8/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/8881069e-0211-46ae-8f47-675b8f0ce206/start' -d '{"iourc_content": "test"}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/cca906af-beae-4410-a54d-604a07eab8e3/start' -d '{"iourc_content": "test"}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/8881069e-0211-46ae-8f47-675b8f0ce206/start HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/cca906af-beae-4410-a54d-604a07eab8e3/start HTTP/1.1
{
"iourc_content": "test"
}
@ -18,7 +18,7 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/iou/vms/{vm_id}/start
"command_line": "",
"console": 2001,
"ethernet_adapters": 2,
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpevnclseh/iourc",
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8j6jo9a_/iourc",
"l1_keepalives": false,
"md5sum": null,
"name": "PC TEST 1",
@ -30,6 +30,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/iou/vms/{vm_id}/start
"serial_adapters": 2,
"startup_config": null,
"use_default_iou_values": true,
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfk_m3jgm/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/8881069e-0211-46ae-8f47-675b8f0ce206",
"vm_id": "8881069e-0211-46ae-8f47-675b8f0ce206"
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphaiimisv/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/cca906af-beae-4410-a54d-604a07eab8e3",
"vm_id": "cca906af-beae-4410-a54d-604a07eab8e3"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/e81c63c7-26af-4129-8e36-4dec3306ca67/stop' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/d6a25ceb-736a-4d24-b3d2-cba27138ce09/stop' -d '{}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/e81c63c7-26af-4129-8e36-4dec3306ca67/stop HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/d6a25ceb-736a-4d24-b3d2-cba27138ce09/stop HTTP/1.1
{}

View File

@ -1,10 +1,10 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpxlfg0aki/qemu-system-x86_64", "ram": 1024}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpusrb0a1j/qemu-system-x86_64", "ram": 1024}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms HTTP/1.1
{
"hda_disk_image": "linux\u8f7d.img",
"name": "PC TEST 1",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpxlfg0aki/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpusrb0a1j/qemu-system-x86_64",
"ram": 1024
}
@ -47,15 +47,15 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/qemu/vms
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:00:ab:9b:31:00",
"mac_address": "00:00:ab:18:4a:00",
"name": "PC TEST 1",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpxlfg0aki/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpusrb0a1j/qemu-system-x86_64",
"ram": 1024,
"usage": "",
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpbcb6b3fb/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/ca25d6ee-ca26-48ca-ada2-8e9a0b739b31",
"vm_id": "ca25d6ee-ca26-48ca-ada2-8e9a0b739b31"
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpynsw_k3v/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/11bbadb6-e914-4182-ba7a-647b5f5d184a",
"vm_id": "11bbadb6-e914-4182-ba7a-647b5f5d184a"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/07830c1f-df4e-4fbd-b978-ce81f923a20b/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_generic_ethernet"}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/26f94755-2893-4ca8-b5cd-01f4f5aeb667/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_generic_ethernet"}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/07830c1f-df4e-4fbd-b978-ce81f923a20b/adapters/1/ports/0/nio HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/26f94755-2893-4ca8-b5cd-01f4f5aeb667/adapters/1/ports/0/nio HTTP/1.1
{
"ethernet_device": "eth0",
"type": "nio_generic_ethernet"

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/b01e27e4-ba29-4d13-8c09-a9a3e2391521/reload' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/34c53d14-505e-43c0-8f01-4140d2b12f02/reload' -d '{}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/b01e27e4-ba29-4d13-8c09-a9a3e2391521/reload HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/34c53d14-505e-43c0-8f01-4140d2b12f02/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/d6e84048-dc17-4582-940e-3d8df5bf9c07/resume' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/51ea2f31-1a16-46e7-8088-a8bc0d0b6726/resume' -d '{}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/d6e84048-dc17-4582-940e-3d8df5bf9c07/resume HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/51ea2f31-1a16-46e7-8088-a8bc0d0b6726/resume HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/9e9e0707-891f-42e8-afac-fb8febdbb525/start' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/7d920e6d-b929-4a3b-a299-a9641030efaf/start' -d '{}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/9e9e0707-891f-42e8-afac-fb8febdbb525/start HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/7d920e6d-b929-4a3b-a299-a9641030efaf/start HTTP/1.1
{}
@ -42,15 +42,15 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/qemu/vms/{vm_id}/start
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:00:ab:b5:25:00",
"mac_address": "00:00:ab:ef:af:00",
"name": "PC TEST 1",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpxlfg0aki/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpusrb0a1j/qemu-system-x86_64",
"ram": 256,
"usage": "",
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpbcb6b3fb/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/9e9e0707-891f-42e8-afac-fb8febdbb525",
"vm_id": "9e9e0707-891f-42e8-afac-fb8febdbb525"
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpynsw_k3v/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/7d920e6d-b929-4a3b-a299-a9641030efaf",
"vm_id": "7d920e6d-b929-4a3b-a299-a9641030efaf"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/0fe62000-82a6-48cc-ac9f-4fb604f19a2a/stop' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/b9ad593f-25d6-4942-9379-6c7e8d0c82ca/stop' -d '{}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/0fe62000-82a6-48cc-ac9f-4fb604f19a2a/stop HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/b9ad593f-25d6-4942-9379-6c7e8d0c82ca/stop HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/781be018-69dd-4cd6-985d-be2301dba8ca/suspend' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/5ee4acd6-bc2d-489a-b3c5-4133351d9425/suspend' -d '{}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/781be018-69dd-4cd6-985d-be2301dba8ca/suspend HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/5ee4acd6-bc2d-489a-b3c5-4133351d9425/suspend HTTP/1.1
{}

View File

@ -28,6 +28,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/virtualbox/vms
"ram": 0,
"use_any_adapter": false,
"vm_directory": null,
"vm_id": "cb0cef3c-a75e-45c8-9f97-5aec95f8e035",
"vm_id": "abab4e24-e383-441d-94c6-f652c42bd118",
"vmname": "VM1"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/0af21b9f-c66d-400d-8654-3b602346f060/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/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/eb5565b0-a548-470d-9e4c-221b1e5d82a5/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/0af21b9f-c66d-400d-8654-3b602346f060/adapters/0/ports/0/nio HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/eb5565b0-a548-470d-9e4c-221b1e5d82a5/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/ced4e23d-bea0-4b42-8523-893a00c2aa7e/reload' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/b179e3b1-87b6-4dcc-a3de-1ad9e89358c4/reload' -d '{}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/ced4e23d-bea0-4b42-8523-893a00c2aa7e/reload HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/b179e3b1-87b6-4dcc-a3de-1ad9e89358c4/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/8d0086ae-cd1e-4342-9b58-efceb1181028/resume' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/e6529446-ab5d-4190-a139-244c8a67c9c7/resume' -d '{}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/8d0086ae-cd1e-4342-9b58-efceb1181028/resume HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/e6529446-ab5d-4190-a139-244c8a67c9c7/resume HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/b5497eb4-d79a-47e0-add8-5c8253af8d8c/start' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/e90e3431-d33b-48c1-b209-a020ef8bfb3b/start' -d '{}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/b5497eb4-d79a-47e0-add8-5c8253af8d8c/start HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/e90e3431-d33b-48c1-b209-a020ef8bfb3b/start HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/1cc2181a-cb95-4ad9-ac06-0d8b5260cc4e/stop' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/f9284ef5-ac37-4fc1-80ec-557601b73014/stop' -d '{}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/1cc2181a-cb95-4ad9-ac06-0d8b5260cc4e/stop HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/f9284ef5-ac37-4fc1-80ec-557601b73014/stop HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/1ea73ab1-24f3-4a3b-a2dd-762a39da3a1e/suspend' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/c678bfc1-e72f-4f98-a2f1-3c7d8045b314/suspend' -d '{}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/1ea73ab1-24f3-4a3b-a2dd-762a39da3a1e/suspend HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/c678bfc1-e72f-4f98-a2f1-3c7d8045b314/suspend HTTP/1.1
{}

View File

@ -23,6 +23,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/vpcs/vms
"startup_script": null,
"startup_script_path": null,
"status": "stopped",
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpbcb6b3fb/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/3ac92acc-daaa-4f92-8665-1a767b468acd",
"vm_id": "3ac92acc-daaa-4f92-8665-1a767b468acd"
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpynsw_k3v/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/0df154bc-6b88-4a64-a2ac-98bb4d533080",
"vm_id": "0df154bc-6b88-4a64-a2ac-98bb4d533080"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/73167116-8f1a-4d22-8de4-d01be61d1586/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/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/92d44e75-bf67-4af4-bb8a-5d37a11910a7/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/73167116-8f1a-4d22-8de4-d01be61d1586/adapters/0/ports/0/nio HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/92d44e75-bf67-4af4-bb8a-5d37a11910a7/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/c21f760d-5e7d-4c2e-b6c9-deedec0d3624/reload' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/878612a6-3fa2-40a6-9139-a7b0e9e8e240/reload' -d '{}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/c21f760d-5e7d-4c2e-b6c9-deedec0d3624/reload HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/878612a6-3fa2-40a6-9139-a7b0e9e8e240/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/d602e749-c218-4bed-8090-eb9418184fc3/start' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/0dbd6567-d8ab-42e2-b4c5-353ca46b8ebd/start' -d '{}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/d602e749-c218-4bed-8090-eb9418184fc3/start HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/0dbd6567-d8ab-42e2-b4c5-353ca46b8ebd/start HTTP/1.1
{}
@ -21,6 +21,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/vpcs/vms/{vm_id}/start
"startup_script": null,
"startup_script_path": null,
"status": "stopped",
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpbcb6b3fb/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/d602e749-c218-4bed-8090-eb9418184fc3",
"vm_id": "d602e749-c218-4bed-8090-eb9418184fc3"
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpynsw_k3v/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/0dbd6567-d8ab-42e2-b4c5-353ca46b8ebd",
"vm_id": "0dbd6567-d8ab-42e2-b4c5-353ca46b8ebd"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/5c800474-3d9d-4096-872e-5c78ecde9624/stop' -d '{}'
curl -i -X POST 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/258a6795-534b-4f3c-a201-9a5a880120c7/stop' -d '{}'
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/5c800474-3d9d-4096-872e-5c78ecde9624/stop HTTP/1.1
POST /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/258a6795-534b-4f3c-a201-9a5a880120c7/stop HTTP/1.1
{}

View File

@ -1,9 +1,9 @@
curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/90010203-0405-0607-0809-0a0b0c0d0e0b' -d '{"name": "second_name", "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-345/test_update_path_project_non_l0"}'
curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/90010203-0405-0607-0809-0a0b0c0d0e0b' -d '{"name": "second_name", "path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-29/test_update_path_project_non_l0"}'
PUT /v2/hypervisor/projects/90010203-0405-0607-0809-0a0b0c0d0e0b HTTP/1.1
{
"name": "second_name",
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-345/test_update_path_project_non_l0"
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-29/test_update_path_project_non_l0"
}

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/3fc8b9d5-db4f-4904-a591-3e08e2b1d76b' -d '{"console": 2003, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/2e306044-f567-47d5-a484-2da89c0f769b' -d '{"console": 2003, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/3fc8b9d5-db4f-4904-a591-3e08e2b1d76b HTTP/1.1
PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/vms/2e306044-f567-47d5-a484-2da89c0f769b HTTP/1.1
{
"console": 2003,
"environment": "GNS3=1\nGNS4=0",
@ -28,6 +28,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/docker/vms/{vm_id}
"name": "test",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"start_command": "yes",
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfk_m3jgm/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/docker/3fc8b9d5-db4f-4904-a591-3e08e2b1d76b",
"vm_id": "3fc8b9d5-db4f-4904-a591-3e08e2b1d76b"
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphaiimisv/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/docker/2e306044-f567-47d5-a484-2da89c0f769b",
"vm_id": "2e306044-f567-47d5-a484-2da89c0f769b"
}

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/15104b60-b993-40f3-9065-6261c65a54ff' -d '{"console": 2002, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/f3b53fd5-aecd-4fa3-a309-7ff7a95cd1ca' -d '{"console": 2002, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/15104b60-b993-40f3-9065-6261c65a54ff HTTP/1.1
PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/vms/f3b53fd5-aecd-4fa3-a309-7ff7a95cd1ca HTTP/1.1
{
"console": 2002,
"ethernet_adapters": 4,
@ -27,7 +27,7 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/iou/vms/{vm_id}
"command_line": "",
"console": 2002,
"ethernet_adapters": 4,
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3bj6zobt/iourc",
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmppwv76w68/iourc",
"l1_keepalives": true,
"md5sum": null,
"name": "test",
@ -39,6 +39,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/iou/vms/{vm_id}
"serial_adapters": 0,
"startup_config": "startup-config.cfg",
"use_default_iou_values": true,
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfk_m3jgm/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/15104b60-b993-40f3-9065-6261c65a54ff",
"vm_id": "15104b60-b993-40f3-9065-6261c65a54ff"
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphaiimisv/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/iou/f3b53fd5-aecd-4fa3-a309-7ff7a95cd1ca",
"vm_id": "f3b53fd5-aecd-4fa3-a309-7ff7a95cd1ca"
}

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/58d92f9b-26b2-4500-8995-cd5717e3cf7c' -d '{"console": 2002, "hdb_disk_image": "linux.img", "name": "test", "ram": 1024}'
curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/80dba7a3-62f4-4ff0-9c83-4dbe38ae647f' -d '{"console": 2002, "hdb_disk_image": "linux.img", "name": "test", "ram": 1024}'
PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/58d92f9b-26b2-4500-8995-cd5717e3cf7c HTTP/1.1
PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/vms/80dba7a3-62f4-4ff0-9c83-4dbe38ae647f HTTP/1.1
{
"console": 2002,
"hdb_disk_image": "linux.img",
@ -47,15 +47,15 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/qemu/vms/{vm_id}
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:00:ab:cf:7c:00",
"mac_address": "00:00:ab:64:7f:00",
"name": "test",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpxlfg0aki/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpusrb0a1j/qemu-system-x86_64",
"ram": 1024,
"usage": "",
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpbcb6b3fb/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/58d92f9b-26b2-4500-8995-cd5717e3cf7c",
"vm_id": "58d92f9b-26b2-4500-8995-cd5717e3cf7c"
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpynsw_k3v/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/80dba7a3-62f4-4ff0-9c83-4dbe38ae647f",
"vm_id": "80dba7a3-62f4-4ff0-9c83-4dbe38ae647f"
}

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/f11456e7-a2d4-442b-b65a-baeba0a46087' -d '{"console": 2011, "name": "test"}'
curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/ca8d44c3-d536-4649-a7f2-317c915b81f5' -d '{"console": 2011, "name": "test"}'
PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/f11456e7-a2d4-442b-b65a-baeba0a46087 HTTP/1.1
PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/vms/ca8d44c3-d536-4649-a7f2-317c915b81f5 HTTP/1.1
{
"console": 2011,
"name": "test"
@ -27,6 +27,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/virtualbox/vms/{vm_id}
"ram": 0,
"use_any_adapter": false,
"vm_directory": null,
"vm_id": "f11456e7-a2d4-442b-b65a-baeba0a46087",
"vm_id": "ca8d44c3-d536-4649-a7f2-317c915b81f5",
"vmname": "VMTEST"
}

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/670e09f9-a0ec-4400-887d-7cb839582acc' -d '{"console": 2012, "name": "test", "startup_script": "ip 192.168.1.1"}'
curl -i -X PUT 'http://localhost:8000/v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/6f444597-b557-498a-9771-ab87707d3807' -d '{"console": 2012, "name": "test", "startup_script": "ip 192.168.1.1"}'
PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/670e09f9-a0ec-4400-887d-7cb839582acc HTTP/1.1
PUT /v2/hypervisor/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/vms/6f444597-b557-498a-9771-ab87707d3807 HTTP/1.1
{
"console": 2012,
"name": "test",
@ -25,6 +25,6 @@ X-ROUTE: /v2/hypervisor/projects/{project_id}/vpcs/vms/{vm_id}
"startup_script": "ip 192.168.1.1",
"startup_script_path": "startup.vpc",
"status": "stopped",
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpbcb6b3fb/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/670e09f9-a0ec-4400-887d-7cb839582acc",
"vm_id": "670e09f9-a0ec-4400-887d-7cb839582acc"
"vm_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpynsw_k3v/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/6f444597-b557-498a-9771-ab87707d3807",
"vm_id": "6f444597-b557-498a-9771-ab87707d3807"
}

View File

@ -0,0 +1,25 @@
/v2/projects/{project_id}/links/{link_id}
------------------------------------------------------------------------------------------------------------------------------------------
.. contents::
DELETE /v2/projects/**{project_id}**/links/**{link_id}**
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Delete a link instance
Parameters
**********
- **link_id**: UUID of the link
- **project_id**: UUID for the project
Response status codes
**********************
- **400**: Invalid request
- **201**: Link deleted
Sample session
***************
.. literalinclude:: ../../../examples/controller_delete_projectsprojectidlinkslinkid.txt

View File

@ -9,8 +9,8 @@ Delete a Docker container
Parameters
**********
- **id**: ID for the container
- **project_id**: UUID for the project
- **id**: ID for the container
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Restart a Docker container
Parameters
**********
- **id**: ID of the container
- **project_id**: UUID of the project
- **id**: ID of the container
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Start a Docker container
Parameters
**********
- **id**: ID of the container
- **project_id**: UUID of the project
- **id**: ID of the container
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Stop a Docker container
Parameters
**********
- **id**: ID of the container
- **project_id**: UUID of the project
- **id**: ID of the container
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Pause a Docker container
Parameters
**********
- **id**: ID of the container
- **project_id**: UUID of the project
- **id**: ID of the container
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Update a Docker instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,10 +9,10 @@ Add a NIO to a Docker container
Parameters
**********
- **adapter_number**: Adapter where the nio should be added
- **port_number**: Port on the adapter
- **id**: ID of the container
- **adapter_number**: Adapter where the nio should be added
- **project_id**: UUID for the project
- **id**: ID of the container
Response status codes
**********************
@ -33,10 +33,10 @@ Remove a NIO from a Docker container
Parameters
**********
- **adapter_number**: Adapter where the nio should be added
- **port_number**: Port on the adapter
- **id**: ID of the container
- **adapter_number**: Adapter where the nio should be added
- **project_id**: UUID for the project
- **id**: ID of the container
Response status codes
**********************

View File

@ -10,9 +10,9 @@ Start a packet capture on a IOU VM instance
Parameters
**********
- **port_number**: Port on the adapter
- **vm_id**: UUID for the instance
- **adapter_number**: Adapter to start a packet capture
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -10,9 +10,9 @@ Stop a packet capture on a IOU VM instance
Parameters
**********
- **port_number**: Port on the adapter (always 0)
- **vm_id**: UUID for the instance
- **adapter_number**: Adapter to stop a packet capture
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Get a Dynamips device instance
Parameters
**********
- **device_id**: UUID for the instance
- **project_id**: UUID for the project
- **device_id**: UUID for the instance
Response status codes
**********************
@ -38,8 +38,8 @@ Update a Dynamips device instance
Parameters
**********
- **device_id**: UUID for the instance
- **project_id**: UUID for the project
- **device_id**: UUID for the instance
Response status codes
**********************
@ -96,8 +96,8 @@ Delete a Dynamips device instance
Parameters
**********
- **device_id**: UUID for the instance
- **project_id**: UUID for the project
- **device_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,9 +9,9 @@ Add a NIO to a Dynamips device instance
Parameters
**********
- **device_id**: UUID for the instance
- **port_number**: Port on the device
- **project_id**: UUID for the project
- **device_id**: UUID for the instance
Response status codes
**********************
@ -139,9 +139,9 @@ Remove a NIO from a Dynamips device instance
Parameters
**********
- **device_id**: UUID for the instance
- **port_number**: Port on the device
- **project_id**: UUID for the project
- **device_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,9 +9,9 @@ Start a packet capture on a Dynamips device instance
Parameters
**********
- **device_id**: UUID for the instance
- **port_number**: Port on the device
- **project_id**: UUID for the project
- **device_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,9 +9,9 @@ Stop a packet capture on a Dynamips device instance
Parameters
**********
- **device_id**: UUID for the instance
- **port_number**: Port on the device
- **project_id**: UUID for the project
- **device_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Get a Dynamips VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************
@ -77,8 +77,8 @@ Update a Dynamips VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************
@ -194,8 +194,8 @@ Delete a Dynamips VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -10,9 +10,9 @@ Add a NIO to a Dynamips VM instance
Parameters
**********
- **port_number**: Port on the adapter
- **vm_id**: UUID for the instance
- **adapter_number**: Adapter where the nio should be added
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************
@ -28,9 +28,9 @@ Remove a NIO from a Dynamips VM instance
Parameters
**********
- **port_number**: Port on the adapter
- **vm_id**: UUID for the instance
- **adapter_number**: Adapter from where the nio should be removed
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -10,9 +10,9 @@ Start a packet capture on a Dynamips VM instance
Parameters
**********
- **port_number**: Port on the adapter
- **vm_id**: UUID for the instance
- **adapter_number**: Adapter to start a packet capture
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -10,9 +10,9 @@ Stop a packet capture on a Dynamips VM instance
Parameters
**********
- **port_number**: Port on the adapter (always 0)
- **vm_id**: UUID for the instance
- **adapter_number**: Adapter to stop a packet capture
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Reload a Dynamips VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Resume a suspended Dynamips VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Start a Dynamips VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Stop a Dynamips VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Suspend a Dynamips VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Get a IOU instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************
@ -56,8 +56,8 @@ Update a IOU instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************
@ -125,8 +125,8 @@ Delete a IOU instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -10,9 +10,9 @@ Add a NIO to a IOU instance
Parameters
**********
- **port_number**: Port where the nio should be added
- **vm_id**: UUID for the instance
- **adapter_number**: Network adapter where the nio is located
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************
@ -34,9 +34,9 @@ Remove a NIO from a IOU instance
Parameters
**********
- **port_number**: Port from where the nio should be removed
- **vm_id**: UUID for the instance
- **adapter_number**: Network adapter where the nio is located
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -10,9 +10,9 @@ Start a packet capture on a IOU VM instance
Parameters
**********
- **port_number**: Port on the adapter
- **vm_id**: UUID for the instance
- **adapter_number**: Adapter to start a packet capture
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -10,9 +10,9 @@ Stop a packet capture on a IOU VM instance
Parameters
**********
- **port_number**: Port on the adapter (always 0)
- **vm_id**: UUID for the instance
- **adapter_number**: Adapter to stop a packet capture
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Reload a IOU instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Start a IOU instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Stop a IOU instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Get a Qemu VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************
@ -79,8 +79,8 @@ Update a Qemu VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************
@ -194,8 +194,8 @@ Delete a Qemu VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -10,9 +10,9 @@ Add a NIO to a Qemu VM instance
Parameters
**********
- **port_number**: Port on the adapter (always 0)
- **vm_id**: UUID for the instance
- **adapter_number**: Network adapter where the nio is located
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************
@ -34,9 +34,9 @@ Remove a NIO from a Qemu VM instance
Parameters
**********
- **port_number**: Port on the adapter (always 0)
- **vm_id**: UUID for the instance
- **adapter_number**: Network adapter where the nio is located
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Reload a Qemu VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Resume a Qemu VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Start a Qemu VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Stop a Qemu VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Suspend a Qemu VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Get a VirtualBox VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************
@ -52,8 +52,8 @@ Update a VirtualBox VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************
@ -114,8 +114,8 @@ Delete a VirtualBox VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -10,9 +10,9 @@ Add a NIO to a VirtualBox VM instance
Parameters
**********
- **port_number**: Port on the adapter (always 0)
- **vm_id**: UUID for the instance
- **adapter_number**: Adapter where the nio should be added
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************
@ -34,9 +34,9 @@ Remove a NIO from a VirtualBox VM instance
Parameters
**********
- **port_number**: Port on the adapter (always 0)
- **vm_id**: UUID for the instance
- **adapter_number**: Adapter from where the nio should be removed
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -10,9 +10,9 @@ Start a packet capture on a VirtualBox VM instance
Parameters
**********
- **port_number**: Port on the adapter (always 0)
- **vm_id**: UUID for the instance
- **adapter_number**: Adapter to start a packet capture
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -10,9 +10,9 @@ Stop a packet capture on a VirtualBox VM instance
Parameters
**********
- **port_number**: Port on the adapter (always 0)
- **vm_id**: UUID for the instance
- **adapter_number**: Adapter to stop a packet capture
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Reload a VirtualBox VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Resume a suspended VirtualBox VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Start a VirtualBox VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

View File

@ -9,8 +9,8 @@ Stop a VirtualBox VM instance
Parameters
**********
- **vm_id**: UUID for the instance
- **project_id**: UUID for the project
- **vm_id**: UUID for the instance
Response status codes
**********************

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