mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 16:54:51 +02:00
Rebuild documentation
This commit is contained in:
parent
9255dc07b7
commit
9511c34b4f
@ -0,0 +1,12 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f0cbbcef-3abe-43b0-bc94-9ef756185aec'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f0cbbcef-3abe-43b0-bc94-9ef756185aec HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
@ -0,0 +1,12 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/86c08af6-cc43-4051-a3d2-f441122611dd/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/86c08af6-cc43-4051-a3d2-f441122611dd/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3dc0854f-0bbe-463c-ad04-6f5c99786540/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/e8adbc13-6149-4541-8e1f-e911ed3cb1d3/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3dc0854f-0bbe-463c-ad04-6f5c99786540/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/e8adbc13-6149-4541-8e1f-e911ed3cb1d3/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/51d71d03-f1e8-4863-bcb7-cc13edbab6ef'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9e13a534-e22a-4391-8412-279bde813e3b'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/51d71d03-f1e8-4863-bcb7-cc13edbab6ef HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9e13a534-e22a-4391-8412-279bde813e3b HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8ec9575e-f928-4e6f-becd-795df7a0a20e/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c9b300c3-f0da-4ad5-a2f7-9ee686cc6f83/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8ec9575e-f928-4e6f-becd-795df7a0a20e/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c9b300c3-f0da-4ad5-a2f7-9ee686cc6f83/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -0,0 +1,12 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d730fde6-f8d2-4be9-a8fd-f08fe82624b9'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d730fde6-f8d2-4be9-a8fd-f08fe82624b9 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
@ -0,0 +1,12 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/4a4b37e2-0862-4fdf-8083-6009b27d1794/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/4a4b37e2-0862-4fdf-8083-6009b27d1794/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bce7d29c-4ccb-42ad-a3b5-6534cdf09273'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7aa06406-8520-4dcf-8e2b-de47d53ecaff'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bce7d29c-4ccb-42ad-a3b5-6534cdf09273 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7aa06406-8520-4dcf-8e2b-de47d53ecaff HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3a44ef10-61fb-4f0a-98d2-516a58b14e86/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7d7c54e3-582b-4ad7-8bde-67f4598a4862/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3a44ef10-61fb-4f0a-98d2-516a58b14e86/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7d7c54e3-582b-4ad7-8bde-67f4598a4862/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/fb25ddff-28fc-47d5-9151-c0f919dbcf7e/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/db35105b-863d-432c-87f1-e21f5fa3b5f9/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/fb25ddff-28fc-47d5-9151-c0f919dbcf7e/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/db35105b-863d-432c-87f1-e21f5fa3b5f9/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b2e2b69a-4934-4e7e-8bcd-e0f459725763'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/02f72086-d9a8-4dce-9df0-aea4274f84f1'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b2e2b69a-4934-4e7e-8bcd-e0f459725763 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/02f72086-d9a8-4dce-9df0-aea4274f84f1 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5e88621b-9b70-4121-91a2-4f788ca8b3b3/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e4a2af70-947b-4253-a007-a47f06217846/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5e88621b-9b70-4121-91a2-4f788ca8b3b3/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e4a2af70-947b-4253-a007-a47f06217846/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -14,10 +14,10 @@ X-ROUTE: /v2/compute/projects
|
||||
[
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
},
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
|
||||
}
|
||||
]
|
||||
|
@ -0,0 +1,962 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/09247bb6-2ed3-4e6c-9f59-5092098eed69'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/09247bb6-2ed3-4e6c-9f59-5092098eed69 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 19808
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
{
|
||||
"interfaces": [
|
||||
{
|
||||
"name": "bridge0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en1",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en2",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "fw0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "lo0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "p2p0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet1",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet2",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet3",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet4",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet5",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet6",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet7",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet1",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet10",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet100",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet101",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet102",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet103",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet104",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet105",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet106",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet107",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet108",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet109",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet11",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet110",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet111",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet112",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet113",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet114",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet115",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet116",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet117",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet118",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet119",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet12",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet120",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet121",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet122",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet123",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet124",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet125",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet126",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet127",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet128",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet129",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet13",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet130",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet131",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet132",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet133",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet134",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet135",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet136",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet137",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet138",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet139",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet14",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet140",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet141",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet142",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet143",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet144",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet145",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet146",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet147",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet148",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet149",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet15",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet150",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet151",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet152",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet153",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet154",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet155",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet156",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet157",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet158",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet159",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet16",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet160",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet161",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet162",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet163",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet164",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet165",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet166",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet167",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet168",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet169",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet17",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet170",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet171",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet172",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet173",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet174",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet175",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet176",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet177",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet178",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet179",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet18",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet180",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet181",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet182",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet183",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet184",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet185",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet186",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet187",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet188",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet189",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet19",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet190",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet191",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet192",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet193",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet194",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet195",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet196",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet197",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet198",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet199",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet2",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet20",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet200",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet201",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet202",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet203",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet204",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet205",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet206",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet207",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet208",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet209",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet21",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet210",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet211",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet212",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet213",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet214",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet215",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet216",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet217",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet218",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet219",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet22",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet220",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet23",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet24",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet25",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet26",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet27",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet28",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet29",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet3",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet30",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet31",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet32",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet33",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet34",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet35",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet36",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet37",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet38",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet39",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet4",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet40",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet41",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet42",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet43",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet44",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet45",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet46",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet47",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet48",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet49",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet5",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet50",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet51",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet52",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet53",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet54",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet55",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet56",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet57",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet58",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet59",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet6",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet60",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet61",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet62",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet63",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet64",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet65",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet66",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet67",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet68",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet69",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet7",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet70",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet71",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet72",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet73",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet74",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet75",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet76",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet77",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet78",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet79",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet8",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet80",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet81",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet82",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet83",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet84",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet85",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet86",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet87",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet88",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet89",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet9",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet90",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet91",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet92",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet93",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet94",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet95",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet96",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet97",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet98",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet99",
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"node_id": "09247bb6-2ed3-4e6c-9f59-5092098eed69",
|
||||
"ports": [],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "started"
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/42132b18-719b-408c-a78a-a349c5966396'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3ce6666e-2b7e-4ced-915a-6b060f4c2796'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/42132b18-719b-408c-a78a-a349c5966396 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3ce6666e-2b7e-4ced-915a-6b060f4c2796 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 721
|
||||
CONTENT-LENGTH: 696
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -16,12 +16,11 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
"console": 5711,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 2,
|
||||
"iourc_path": null,
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-140/test_json4/project-files/iou/42132b18-719b-408c-a78a-a349c5966396",
|
||||
"node_id": "42132b18-719b-408c-a78a-a349c5966396",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-69/test_json5/project-files/iou/3ce6666e-2b7e-4ced-915a-6b060f4c2796",
|
||||
"node_id": "3ce6666e-2b7e-4ced-915a-6b060f4c2796",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -0,0 +1,27 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/35d71fb8-b556-402f-abba-6f12971501b0'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/35d71fb8-b556-402f-abba-6f12971501b0 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 325
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "35d71fb8-b556-402f-abba-6f12971501b0",
|
||||
"ports": [
|
||||
{
|
||||
"interface": "eth1",
|
||||
"name": "nat0",
|
||||
"port_number": 1,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "started"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/061d6c7c-0288-402d-9731-69caa6422a3c'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/982bf60a-aa50-4716-b6ab-41e7700dd6c1'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/061d6c7c-0288-402d-9731-69caa6422a3c HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/982bf60a-aa50-4716-b6ab-41e7700dd6c1 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -41,15 +41,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:2a:3c:00",
|
||||
"mac_address": "00:dd:80:d6:c1:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpdrjz2o0r/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/061d6c7c-0288-402d-9731-69caa6422a3c",
|
||||
"node_id": "061d6c7c-0288-402d-9731-69caa6422a3c",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpe1qk71mi/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/982bf60a-aa50-4716-b6ab-41e7700dd6c1",
|
||||
"node_id": "982bf60a-aa50-4716-b6ab-41e7700dd6c1",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpetl5k_20/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1t_zelki/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3d3e36f1-5dc8-4c30-8421-c7a4f987d1be'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/61b068b6-38e5-4d38-ac66-6a294a10200a'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3d3e36f1-5dc8-4c30-8421-c7a4f987d1be HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/61b068b6-38e5-4d38-ac66-6a294a10200a HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -21,7 +21,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
"linked_clone": false,
|
||||
"name": "VMTEST",
|
||||
"node_directory": null,
|
||||
"node_id": "3d3e36f1-5dc8-4c30-8421-c7a4f987d1be",
|
||||
"node_id": "61b068b6-38e5-4d38-ac66-6a294a10200a",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/19f16d2f-1859-4a51-a816-45d1d8af547b'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/76cfacde-1811-4eae-a22f-06cd7f2032ed'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/19f16d2f-1859-4a51-a816-45d1d8af547b HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/76cfacde-1811-4eae-a22f-06cd7f2032ed HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -16,8 +16,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
"console": 5720,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpdrjz2o0r/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/19f16d2f-1859-4a51-a816-45d1d8af547b",
|
||||
"node_id": "19f16d2f-1859-4a51-a816-45d1d8af547b",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpe1qk71mi/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/76cfacde-1811-4eae-a22f-06cd7f2032ed",
|
||||
"node_id": "76cfacde-1811-4eae-a22f-06cd7f2032ed",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
964
docs/api/examples/compute_post_projectsprojectidcloudnodes.txt
Normal file
964
docs/api/examples/compute_post_projectsprojectidcloudnodes.txt
Normal file
@ -0,0 +1,964 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes' -d '{"name": "Cloud 1"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/1.1
|
||||
{
|
||||
"name": "Cloud 1"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 19808
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
|
||||
{
|
||||
"interfaces": [
|
||||
{
|
||||
"name": "bridge0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en1",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en2",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "fw0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "lo0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "p2p0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet1",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet2",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet3",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet4",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet5",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet6",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet7",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet1",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet10",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet100",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet101",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet102",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet103",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet104",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet105",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet106",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet107",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet108",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet109",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet11",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet110",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet111",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet112",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet113",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet114",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet115",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet116",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet117",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet118",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet119",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet12",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet120",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet121",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet122",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet123",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet124",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet125",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet126",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet127",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet128",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet129",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet13",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet130",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet131",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet132",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet133",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet134",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet135",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet136",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet137",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet138",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet139",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet14",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet140",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet141",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet142",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet143",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet144",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet145",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet146",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet147",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet148",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet149",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet15",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet150",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet151",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet152",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet153",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet154",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet155",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet156",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet157",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet158",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet159",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet16",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet160",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet161",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet162",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet163",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet164",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet165",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet166",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet167",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet168",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet169",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet17",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet170",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet171",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet172",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet173",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet174",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet175",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet176",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet177",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet178",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet179",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet18",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet180",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet181",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet182",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet183",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet184",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet185",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet186",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet187",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet188",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet189",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet19",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet190",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet191",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet192",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet193",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet194",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet195",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet196",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet197",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet198",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet199",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet2",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet20",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet200",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet201",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet202",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet203",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet204",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet205",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet206",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet207",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet208",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet209",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet21",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet210",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet211",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet212",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet213",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet214",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet215",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet216",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet217",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet218",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet219",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet22",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet220",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet23",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet24",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet25",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet26",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet27",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet28",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet29",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet3",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet30",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet31",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet32",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet33",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet34",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet35",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet36",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet37",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet38",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet39",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet4",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet40",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet41",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet42",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet43",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet44",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet45",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet46",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet47",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet48",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet49",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet5",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet50",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet51",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet52",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet53",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet54",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet55",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet56",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet57",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet58",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet59",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet6",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet60",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet61",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet62",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet63",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet64",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet65",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet66",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet67",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet68",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet69",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet7",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet70",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet71",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet72",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet73",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet74",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet75",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet76",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet77",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet78",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet79",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet8",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet80",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet81",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet82",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet83",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet84",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet85",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet86",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet87",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet88",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet89",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet9",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet90",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet91",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet92",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet93",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet94",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet95",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet96",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet97",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet98",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet99",
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"node_id": "bbddb1ea-9ec9-4fa6-b503-3ff74eed4ab0",
|
||||
"ports": [],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "started"
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d39b89b6-1a4d-4874-9f33-cce697db969a/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d39b89b6-1a4d-4874-9f33-cce697db969a/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 89
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/d810f789-7b5c-4e9c-9ddd-cb66aa11a48a/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2dbfa776-e4dd-446a-a46d-a72150191322/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/d810f789-7b5c-4e9c-9ddd-cb66aa11a48a/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2dbfa776-e4dd-446a-a46d-a72150191322/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3ecbe3f3-4972-4c4e-bfd3-5d182c4bc6d8/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a19882ff-53cd-4592-b386-ce424a73faed/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3ecbe3f3-4972-4c4e-bfd3-5d182c4bc6d8/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a19882ff-53cd-4592-b386-ce424a73faed/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -8,12 +8,12 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3ecb
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 146
|
||||
CONTENT-LENGTH: 145
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-140/test_json4/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-69/test_json5/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/cb14a233-7808-4219-9df8-eb7c6e986f7a/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/58b9a246-ce23-4c50-9af7-dd08092db8e1/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/cb14a233-7808-4219-9df8-eb7c6e986f7a/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/58b9a246-ce23-4c50-9af7-dd08092db8e1/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,16 +1,16 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "17425b54-3868-47dc-94ba-7775e7c04d1b", "path": "iou.bin", "startup_config_content": "hostname test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "b1ec956f-ef2d-49a5-80a0-2f3c95f3b748", "path": "iou.bin", "startup_config_content": "hostname test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.1
|
||||
{
|
||||
"name": "PC TEST 1",
|
||||
"node_id": "17425b54-3868-47dc-94ba-7775e7c04d1b",
|
||||
"node_id": "b1ec956f-ef2d-49a5-80a0-2f3c95f3b748",
|
||||
"path": "iou.bin",
|
||||
"startup_config_content": "hostname test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 737
|
||||
CONTENT-LENGTH: 712
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -21,12 +21,11 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes
|
||||
"console": 5711,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 2,
|
||||
"iourc_path": null,
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-140/test_json4/project-files/iou/17425b54-3868-47dc-94ba-7775e7c04d1b",
|
||||
"node_id": "17425b54-3868-47dc-94ba-7775e7c04d1b",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-69/test_json5/project-files/iou/b1ec956f-ef2d-49a5-80a0-2f3c95f3b748",
|
||||
"node_id": "b1ec956f-ef2d-49a5-80a0-2f3c95f3b748",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/38dfca02-6ea0-44e8-b58c-b7bdca09308a/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/53080a75-d40c-447c-a347-24c88b0c9513/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/38dfca02-6ea0-44e8-b58c-b7bdca09308a/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/53080a75-d40c-447c-a347-24c88b0c9513/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "bridge0",
|
||||
"type": "nio_ethernet"
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/93cf9e7b-070d-408b-81f5-283a9a0e247e/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/66921aca-148a-4625-bb51-8451ed7993e2/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/93cf9e7b-070d-408b-81f5-283a9a0e247e/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/66921aca-148a-4625-bb51-8451ed7993e2/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -8,12 +8,12 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/93cf9e7
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 146
|
||||
CONTENT-LENGTH: 145
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-140/test_json4/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-69/test_json5/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c8ebed81-7cfb-4392-8af8-2dff93de291c/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7713ca9a-509b-495f-850c-aac89e50b5a9/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c8ebed81-7cfb-4392-8af8-2dff93de291c/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7713ca9a-509b-495f-850c-aac89e50b5a9/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3947b6cc-ea2a-4e04-92f3-cade4f6404fb/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7f027614-6aab-4d13-96a1-d464893db68c/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3947b6cc-ea2a-4e04-92f3-cade4f6404fb/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7f027614-6aab-4d13-96a1-d464893db68c/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f8607a0c-8df3-482b-927f-321018542107/start' -d '{"iourc_content": "test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/88ef9436-cdb0-4d4b-8ee3-a143f500bede/start' -d '{"iourc_content": "test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f8607a0c-8df3-482b-927f-321018542107/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/88ef9436-cdb0-4d4b-8ee3-a143f500bede/start HTTP/1.1
|
||||
{
|
||||
"iourc_content": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 785
|
||||
CONTENT-LENGTH: 696
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -18,12 +18,11 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
||||
"console": 5711,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 2,
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp7xj2kn7r/iourc",
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-140/test_json4/project-files/iou/f8607a0c-8df3-482b-927f-321018542107",
|
||||
"node_id": "f8607a0c-8df3-482b-927f-321018542107",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-69/test_json5/project-files/iou/88ef9436-cdb0-4d4b-8ee3-a143f500bede",
|
||||
"node_id": "88ef9436-cdb0-4d4b-8ee3-a143f500bede",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e2dce29b-ae1b-415b-881b-855a0e194590/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/29ff3007-361e-449d-8fdd-78bbf25eaa78/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e2dce29b-ae1b-415b-881b-855a0e194590/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/29ff3007-361e-449d-8fdd-78bbf25eaa78/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
29
docs/api/examples/compute_post_projectsprojectidnatnodes.txt
Normal file
29
docs/api/examples/compute_post_projectsprojectidnatnodes.txt
Normal file
@ -0,0 +1,29 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes' -d '{"name": "Nat 1"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes HTTP/1.1
|
||||
{
|
||||
"name": "Nat 1"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 325
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/nat/nodes
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "2c745227-9d57-404d-9f49-330b1871ddbc",
|
||||
"ports": [
|
||||
{
|
||||
"interface": "eth1",
|
||||
"name": "nat0",
|
||||
"port_number": 1,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "started"
|
||||
}
|
@ -0,0 +1,24 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8be30430-3372-4a40-af11-5e3df5f8f497/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8be30430-3372-4a40-af11-5e3df5f8f497/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 89
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpetl5k_20/qemu-system-x86_64", "ram": 1024}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1t_zelki/qemu-system-x86_64", "ram": 1024}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1.1
|
||||
{
|
||||
"hda_disk_image": "linux\u8f7d.img",
|
||||
"name": "PC TEST 1",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpetl5k_20/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1t_zelki/qemu-system-x86_64",
|
||||
"ram": 1024
|
||||
}
|
||||
|
||||
@ -46,15 +46,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:0c:c1:00",
|
||||
"mac_address": "00:dd:80:3f:3f:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpdrjz2o0r/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/38fa68a3-8717-4a7c-9bbb-3a64a9e60cc1",
|
||||
"node_id": "38fa68a3-8717-4a7c-9bbb-3a64a9e60cc1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpe1qk71mi/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/7626d2a1-cc35-442d-bc85-8151af2f3f3f",
|
||||
"node_id": "7626d2a1-cc35-442d-bc85-8151af2f3f3f",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpetl5k_20/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1t_zelki/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/945b147c-060f-4a79-ac1c-32c0c736e1bf/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/44da0d8c-bb3b-4b93-8918-363345b58b9c/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/945b147c-060f-4a79-ac1c-32c0c736e1bf/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/44da0d8c-bb3b-4b93-8918-363345b58b9c/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "eth0",
|
||||
"type": "nio_ethernet"
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f456a9c9-0425-488f-8172-c8e3df767434/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0d8e7a92-8de1-4978-aa2e-c6e77dc7a7f2/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f456a9c9-0425-488f-8172-c8e3df767434/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0d8e7a92-8de1-4978-aa2e-c6e77dc7a7f2/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6599101f-a3ac-4303-826e-7092f7bab117/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8471705e-da31-4d1b-b070-9ba982711cc1/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6599101f-a3ac-4303-826e-7092f7bab117/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8471705e-da31-4d1b-b070-9ba982711cc1/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f8bf0222-44dc-4ac6-ab1c-32a50982d326/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ef7f5f10-637d-4103-a34f-7bcbce149f8e/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f8bf0222-44dc-4ac6-ab1c-32a50982d326/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ef7f5f10-637d-4103-a34f-7bcbce149f8e/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -41,15 +41,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:d3:26:00",
|
||||
"mac_address": "00:dd:80:9f:8e:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpdrjz2o0r/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/f8bf0222-44dc-4ac6-ab1c-32a50982d326",
|
||||
"node_id": "f8bf0222-44dc-4ac6-ab1c-32a50982d326",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpe1qk71mi/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/ef7f5f10-637d-4103-a34f-7bcbce149f8e",
|
||||
"node_id": "ef7f5f10-637d-4103-a34f-7bcbce149f8e",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpetl5k_20/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1t_zelki/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d0e548d5-1cd1-40a7-84af-225702ce993a/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/64642cf3-92ef-49a9-859c-2d50b2e06b24/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d0e548d5-1cd1-40a7-84af-225702ce993a/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/64642cf3-92ef-49a9-859c-2d50b2e06b24/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/50bc44d6-3274-4e34-8967-f03bc6f77a38/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b96ad185-f250-46fe-bb27-a0307656db10/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/50bc44d6-3274-4e34-8967-f03bc6f77a38/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b96ad185-f250-46fe-bb27-a0307656db10/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -25,7 +25,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"node_directory": null,
|
||||
"node_id": "65abbe8d-dff3-43be-a3d1-c18f2f4658a2",
|
||||
"node_id": "8207fc7e-9b7f-4a04-a2e9-eb01d826ba4f",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/97942d37-2d75-4599-b04d-2b05444a4c05/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c969abea-4228-49cb-9da8-6c118a444ea0/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/97942d37-2d75-4599-b04d-2b05444a4c05/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c969abea-4228-49cb-9da8-6c118a444ea0/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8bf8e172-f166-42e0-bdfd-80aca6f2e4fb/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/25bfb4b1-af29-4c23-8762-9d65092652ce/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8bf8e172-f166-42e0-bdfd-80aca6f2e4fb/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/25bfb4b1-af29-4c23-8762-9d65092652ce/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/622fb0cc-d606-460f-b747-40522d9b343a/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/506a3552-19dc-4c9f-91a1-8a8cb9d2e244/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/622fb0cc-d606-460f-b747-40522d9b343a/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/506a3552-19dc-4c9f-91a1-8a8cb9d2e244/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7a1579fb-2768-4999-bca3-647e9ba47a63/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dec8ba6d-e98f-4330-a83e-b89b505db1ff/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7a1579fb-2768-4999-bca3-647e9ba47a63/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dec8ba6d-e98f-4330-a83e-b89b505db1ff/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4bbb3869-411b-4a29-9d63-134c51da727e/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4b8c8554-e309-4268-be07-9030ac3f9dc9/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4bbb3869-411b-4a29-9d63-134c51da727e/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4b8c8554-e309-4268-be07-9030ac3f9dc9/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/21931428-40d7-466e-9c6c-26fbf90a6172/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bf7560e4-23fc-4029-ada5-122c2aef97a6/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/21931428-40d7-466e-9c6c-26fbf90a6172/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bf7560e4-23fc-4029-ada5-122c2aef97a6/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -18,8 +18,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes
|
||||
"console": 5720,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpdrjz2o0r/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/8a4dac14-7af3-4f14-bc94-866223f81c51",
|
||||
"node_id": "8a4dac14-7af3-4f14-bc94-866223f81c51",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpe1qk71mi/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/e5748c47-6674-467c-8989-21c6ec8772ae",
|
||||
"node_id": "e5748c47-6674-467c-8989-21c6ec8772ae",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5cf81283-7a37-4fe4-b387-228eda727008/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a6b0cfea-8161-4ebb-9af9-e98643cba39a/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5cf81283-7a37-4fe4-b387-228eda727008/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a6b0cfea-8161-4ebb-9af9-e98643cba39a/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2721cc81-3274-4a89-9e7b-4cfb986a9e80/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8b061422-b92f-4b4a-878c-536f55ba1221/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2721cc81-3274-4a89-9e7b-4cfb986a9e80/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8b061422-b92f-4b4a-878c-536f55ba1221/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/696e00ce-d1b5-461f-8f8f-a5397762f0d4/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a0e7676b-0d45-481e-a98b-101848d559d6/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/696e00ce-d1b5-461f-8f8f-a5397762f0d4/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a0e7676b-0d45-481e-a98b-101848d559d6/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -16,8 +16,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
|
||||
"console": 5720,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpdrjz2o0r/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/696e00ce-d1b5-461f-8f8f-a5397762f0d4",
|
||||
"node_id": "696e00ce-d1b5-461f-8f8f-a5397762f0d4",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpe1qk71mi/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/a0e7676b-0d45-481e-a98b-101848d559d6",
|
||||
"node_id": "a0e7676b-0d45-481e-a98b-101848d559d6",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/75f19d3b-b46c-4f80-973f-d126e8011dd1/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/9aedadc1-a312-4186-a053-648e9df8ae9b/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/75f19d3b-b46c-4f80-973f-d126e8011dd1/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/9aedadc1-a312-4186-a053-648e9df8ae9b/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -0,0 +1,964 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/11800c81-28cb-419d-869e-4c1cec9738fe' -d '{"name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/11800c81-28cb-419d-869e-4c1cec9738fe HTTP/1.1
|
||||
{
|
||||
"name": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 19805
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
{
|
||||
"interfaces": [
|
||||
{
|
||||
"name": "bridge0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en1",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en2",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "fw0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "lo0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "p2p0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet0",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet1",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet2",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet3",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet4",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet5",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet6",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet7",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet1",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet10",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet100",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet101",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet102",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet103",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet104",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet105",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet106",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet107",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet108",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet109",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet11",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet110",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet111",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet112",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet113",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet114",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet115",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet116",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet117",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet118",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet119",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet12",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet120",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet121",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet122",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet123",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet124",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet125",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet126",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet127",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet128",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet129",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet13",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet130",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet131",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet132",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet133",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet134",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet135",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet136",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet137",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet138",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet139",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet14",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet140",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet141",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet142",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet143",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet144",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet145",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet146",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet147",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet148",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet149",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet15",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet150",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet151",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet152",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet153",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet154",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet155",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet156",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet157",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet158",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet159",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet16",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet160",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet161",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet162",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet163",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet164",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet165",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet166",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet167",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet168",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet169",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet17",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet170",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet171",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet172",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet173",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet174",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet175",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet176",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet177",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet178",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet179",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet18",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet180",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet181",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet182",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet183",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet184",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet185",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet186",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet187",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet188",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet189",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet19",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet190",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet191",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet192",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet193",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet194",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet195",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet196",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet197",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet198",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet199",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet2",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet20",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet200",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet201",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet202",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet203",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet204",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet205",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet206",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet207",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet208",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet209",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet21",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet210",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet211",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet212",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet213",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet214",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet215",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet216",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet217",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet218",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet219",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet22",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet220",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet23",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet24",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet25",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet26",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet27",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet28",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet29",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet3",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet30",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet31",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet32",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet33",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet34",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet35",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet36",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet37",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet38",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet39",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet4",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet40",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet41",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet42",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet43",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet44",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet45",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet46",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet47",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet48",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet49",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet5",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet50",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet51",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet52",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet53",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet54",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet55",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet56",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet57",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet58",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet59",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet6",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet60",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet61",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet62",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet63",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet64",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet65",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet66",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet67",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet68",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet69",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet7",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet70",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet71",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet72",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet73",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet74",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet75",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet76",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet77",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet78",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet79",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet8",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet80",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet81",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet82",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet83",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet84",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet85",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet86",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet87",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet88",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet89",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet9",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet90",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet91",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet92",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet93",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet94",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet95",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet96",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet97",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet98",
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet99",
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"name": "test",
|
||||
"node_id": "11800c81-28cb-419d-869e-4c1cec9738fe",
|
||||
"ports": [],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "started"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/aca4e44c-9642-4662-826e-f88af1989002' -d '{"console": 5713, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/42a35b9a-6b07-4cf3-9030-fc93c5cb588a' -d '{"console": 5713, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/aca4e44c-9642-4662-826e-f88af1989002 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/42a35b9a-6b07-4cf3-9030-fc93c5cb588a HTTP/1.1
|
||||
{
|
||||
"console": 5713,
|
||||
"environment": "GNS3=1\nGNS4=0",
|
||||
@ -10,7 +10,7 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/aca4e
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 654
|
||||
CONTENT-LENGTH: 653
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -28,8 +28,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
|
||||
"environment": "GNS3=1\nGNS4=0",
|
||||
"image": "nginx:latest",
|
||||
"name": "test",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-140/test_json4/project-files/docker/aca4e44c-9642-4662-826e-f88af1989002",
|
||||
"node_id": "aca4e44c-9642-4662-826e-f88af1989002",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-69/test_json5/project-files/docker/42a35b9a-6b07-4cf3-9030-fc93c5cb588a",
|
||||
"node_id": "42a35b9a-6b07-4cf3-9030-fc93c5cb588a",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"start_command": "yes",
|
||||
"status": "stopped"
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/50a92f74-b721-4346-9f8d-11bc7f651f62' -d '{"console": 5712, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0544cde0-2d2a-4488-8970-49f87b463674' -d '{"console": 5712, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/50a92f74-b721-4346-9f8d-11bc7f651f62 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0544cde0-2d2a-4488-8970-49f87b463674 HTTP/1.1
|
||||
{
|
||||
"console": 5712,
|
||||
"ethernet_adapters": 4,
|
||||
@ -16,7 +16,7 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/50a92f74
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 796
|
||||
CONTENT-LENGTH: 707
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -27,12 +27,11 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
"console": 5712,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 4,
|
||||
"iourc_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp3osvg462/iourc",
|
||||
"l1_keepalives": true,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "test",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-140/test_json4/project-files/iou/50a92f74-b721-4346-9f8d-11bc7f651f62",
|
||||
"node_id": "50a92f74-b721-4346-9f8d-11bc7f651f62",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-69/test_json5/project-files/iou/0544cde0-2d2a-4488-8970-49f87b463674",
|
||||
"node_id": "0544cde0-2d2a-4488-8970-49f87b463674",
|
||||
"nvram": 2048,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
|
@ -0,0 +1,29 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/6bfb85ec-15bc-4c41-a4c0-a1ac3564b662' -d '{"name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/6bfb85ec-15bc-4c41-a4c0-a1ac3564b662 HTTP/1.1
|
||||
{
|
||||
"name": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 324
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
{
|
||||
"name": "test",
|
||||
"node_id": "6bfb85ec-15bc-4c41-a4c0-a1ac3564b662",
|
||||
"ports": [
|
||||
{
|
||||
"interface": "eth1",
|
||||
"name": "nat0",
|
||||
"port_number": 1,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "started"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/91996aa5-a205-42b0-80df-9a86685a8563' -d '{"console": 5712, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/11db191a-9c2d-4e40-a086-413aaccceaff' -d '{"console": 5712, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/91996aa5-a205-42b0-80df-9a86685a8563 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/11db191a-9c2d-4e40-a086-413aaccceaff HTTP/1.1
|
||||
{
|
||||
"console": 5712,
|
||||
"hdb_disk_image": "linux\u8f7d.img",
|
||||
@ -46,15 +46,15 @@ X-ROUTE: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:85:63:00",
|
||||
"mac_address": "00:dd:80:ea:ff:00",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpdrjz2o0r/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/91996aa5-a205-42b0-80df-9a86685a8563",
|
||||
"node_id": "91996aa5-a205-42b0-80df-9a86685a8563",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpe1qk71mi/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/11db191a-9c2d-4e40-a086-413aaccceaff",
|
||||
"node_id": "11db191a-9c2d-4e40-a086-413aaccceaff",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpetl5k_20/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1t_zelki/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5e581f48-254f-413c-994f-ff03a349d386' -d '{"console": 5721, "name": "test"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0981ed02-441a-4eab-a04a-5f5d686a79ee' -d '{"console": 5721, "name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5e581f48-254f-413c-994f-ff03a349d386 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0981ed02-441a-4eab-a04a-5f5d686a79ee HTTP/1.1
|
||||
{
|
||||
"console": 5721,
|
||||
"name": "test"
|
||||
@ -24,7 +24,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
"linked_clone": false,
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "5e581f48-254f-413c-994f-ff03a349d386",
|
||||
"node_id": "0981ed02-441a-4eab-a04a-5f5d686a79ee",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e27400b3-bf43-4ba1-95e5-7784db5b8d05' -d '{"console": 5722, "name": "test", "startup_script": "ip 192.168.1.1"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/515dde30-c071-4b00-9bd3-4c9670894a7b' -d '{"console": 5722, "name": "test", "startup_script": "ip 192.168.1.1"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e27400b3-bf43-4ba1-95e5-7784db5b8d05 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/515dde30-c071-4b00-9bd3-4c9670894a7b HTTP/1.1
|
||||
{
|
||||
"console": 5722,
|
||||
"name": "test",
|
||||
@ -20,8 +20,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
"console": 5722,
|
||||
"console_type": "telnet",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpdrjz2o0r/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/e27400b3-bf43-4ba1-95e5-7784db5b8d05",
|
||||
"node_id": "e27400b3-bf43-4ba1-95e5-7784db5b8d05",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpe1qk71mi/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/515dde30-c071-4b00-9bd3-4c9670894a7b",
|
||||
"node_id": "515dde30-c071-4b00-9bd3-4c9670894a7b",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": "ip 192.168.1.1",
|
||||
"startup_script_path": "startup.vpc",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/7074992f-14e6-46f8-bd00-e0ebe49ba6bb'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/62332e68-a255-4526-9af5-302b6670256f'
|
||||
|
||||
DELETE /v2/projects/7074992f-14e6-46f8-bd00-e0ebe49ba6bb HTTP/1.1
|
||||
DELETE /v2/projects/62332e68-a255-4526-9af5-302b6670256f HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/8f835819-7610-431f-ac63-f7aac942da0f/drawings/751256c7-86de-4bca-a224-cd46bdc0a289'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/edad99ed-f0b9-4019-b9f9-9351f97710f0/drawings/0f396900-1e78-4350-ab98-c07cec24239a'
|
||||
|
||||
DELETE /v2/projects/8f835819-7610-431f-ac63-f7aac942da0f/drawings/751256c7-86de-4bca-a224-cd46bdc0a289 HTTP/1.1
|
||||
DELETE /v2/projects/edad99ed-f0b9-4019-b9f9-9351f97710f0/drawings/0f396900-1e78-4350-ab98-c07cec24239a HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/15ec7567-33b4-4648-876a-b7128c33cb07/links/cbca8122-7162-4ce0-a2ad-82075775bada'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/e7967118-9e5f-41d2-922e-e35053b5e5a7/links/701e9502-119d-4aec-8a66-c13f7c8013d5'
|
||||
|
||||
DELETE /v2/projects/15ec7567-33b4-4648-876a-b7128c33cb07/links/cbca8122-7162-4ce0-a2ad-82075775bada HTTP/1.1
|
||||
DELETE /v2/projects/e7967118-9e5f-41d2-922e-e35053b5e5a7/links/701e9502-119d-4aec-8a66-c13f7c8013d5 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/3c6bdfb3-52a2-4c28-9f2b-cb6c6d4d3ae1/nodes/fa1fc0e2-c4bd-4f0e-ad65-36a71111f381'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/6659771c-4fe9-4ffc-8c19-dfd672f26b76/nodes/97aa684f-b23c-4bfb-81bf-05df5d187b3f'
|
||||
|
||||
DELETE /v2/projects/3c6bdfb3-52a2-4c28-9f2b-cb6c6d4d3ae1/nodes/fa1fc0e2-c4bd-4f0e-ad65-36a71111f381 HTTP/1.1
|
||||
DELETE /v2/projects/6659771c-4fe9-4ffc-8c19-dfd672f26b76/nodes/97aa684f-b23c-4bfb-81bf-05df5d187b3f HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/b220fd00-88c0-4ae4-a457-9e06ece8243e/snapshots/61eeff3d-750f-4c73-beff-29757c862e1a'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/f432c246-be05-43e2-b60a-05d924ac89ff/snapshots/9a2f99d4-2248-4f49-98fc-a0513cb5248d'
|
||||
|
||||
DELETE /v2/projects/b220fd00-88c0-4ae4-a457-9e06ece8243e/snapshots/61eeff3d-750f-4c73-beff-29757c862e1a HTTP/1.1
|
||||
DELETE /v2/projects/f432c246-be05-43e2-b60a-05d924ac89ff/snapshots/9a2f99d4-2248-4f49-98fc-a0513cb5248d HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
20
docs/api/examples/controller_get_gns3vm.txt
Normal file
20
docs/api/examples/controller_get_gns3vm.txt
Normal file
@ -0,0 +1,20 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/gns3vm'
|
||||
|
||||
GET /v2/gns3vm HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 113
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/gns3vm
|
||||
|
||||
{
|
||||
"auto_stop": true,
|
||||
"enable": false,
|
||||
"engine": "vmware",
|
||||
"headless": false,
|
||||
"vmname": null
|
||||
}
|
25
docs/api/examples/controller_get_gns3vmengines.txt
Normal file
25
docs/api/examples/controller_get_gns3vmengines.txt
Normal file
@ -0,0 +1,25 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/gns3vm/engines'
|
||||
|
||||
GET /v2/gns3vm/engines HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 366
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/gns3vm/engines
|
||||
|
||||
[
|
||||
{
|
||||
"description": "VMware is the recommended choice for best performances.",
|
||||
"engine_id": "vmware",
|
||||
"name": "VMware Fusion"
|
||||
},
|
||||
{
|
||||
"description": "VirtualBox doesn't support nested virtualization, this means running Qemu based VM could be very slow.",
|
||||
"engine_id": "virtualbox",
|
||||
"name": "VirtualBox"
|
||||
}
|
||||
]
|
18
docs/api/examples/controller_get_gns3vmenginesenginevms.txt
Normal file
18
docs/api/examples/controller_get_gns3vmenginesenginevms.txt
Normal file
@ -0,0 +1,18 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/gns3vm/engines/vmware/vms'
|
||||
|
||||
GET /v2/gns3vm/engines/vmware/vms HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 40
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/gns3vm/engines/{engine}/vms
|
||||
|
||||
[
|
||||
{
|
||||
"vmname": "test"
|
||||
}
|
||||
]
|
@ -5,7 +5,7 @@ GET /v2/projects HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 285
|
||||
CONTENT-LENGTH: 369
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -13,9 +13,12 @@ X-ROUTE: /v2/projects
|
||||
|
||||
[
|
||||
{
|
||||
"auto_close": true,
|
||||
"auto_open": false,
|
||||
"auto_start": false,
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-140/test_list_projects1",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-69/test_list_projects1",
|
||||
"project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,20 +1,23 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/752e3ddf-bcad-4feb-b72c-6498a74bfabf'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/d839c8ca-3daa-423c-8818-48bd419981a3'
|
||||
|
||||
GET /v2/projects/752e3ddf-bcad-4feb-b72c-6498a74bfabf HTTP/1.1
|
||||
GET /v2/projects/d839c8ca-3daa-423c-8818-48bd419981a3 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 255
|
||||
CONTENT-LENGTH: 328
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}
|
||||
|
||||
{
|
||||
"auto_close": true,
|
||||
"auto_open": false,
|
||||
"auto_start": false,
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmplesu6g2y/projects/752e3ddf-bcad-4feb-b72c-6498a74bfabf",
|
||||
"project_id": "752e3ddf-bcad-4feb-b72c-6498a74bfabf",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpfu9wtq18/projects/d839c8ca-3daa-423c-8818-48bd419981a3",
|
||||
"project_id": "d839c8ca-3daa-423c-8818-48bd419981a3",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/21c986f6-bcb3-49ca-b2a7-13b95b1ae1b4/drawings'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/477f33f8-ee23-4c5e-a344-f3ca66ac7e21/drawings'
|
||||
|
||||
GET /v2/projects/21c986f6-bcb3-49ca-b2a7-13b95b1ae1b4/drawings HTTP/1.1
|
||||
GET /v2/projects/477f33f8-ee23-4c5e-a344-f3ca66ac7e21/drawings HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -13,8 +13,8 @@ X-ROUTE: /v2/projects/{project_id}/drawings
|
||||
|
||||
[
|
||||
{
|
||||
"drawing_id": "9fcf65e4-ffd7-47ad-af23-f161d5bbfa11",
|
||||
"project_id": "21c986f6-bcb3-49ca-b2a7-13b95b1ae1b4",
|
||||
"drawing_id": "799b4ac6-9b05-4e77-9b3f-21af71106e8b",
|
||||
"project_id": "477f33f8-ee23-4c5e-a344-f3ca66ac7e21",
|
||||
"rotation": 0,
|
||||
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
|
||||
"x": 10,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/3863fae6-89f2-44b8-8440-130c111f5237/links'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/6aa6ab8c-71f5-41d8-a0db-934e797cdbf6/links'
|
||||
|
||||
GET /v2/projects/3863fae6-89f2-44b8-8440-130c111f5237/links HTTP/1.1
|
||||
GET /v2/projects/6aa6ab8c-71f5-41d8-a0db-934e797cdbf6/links HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ X-ROUTE: /v2/projects/{project_id}/links
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "99a8611f-f802-4a23-9d6f-3f5c1fdc6efa",
|
||||
"link_id": "6dd714f1-40e7-4550-bdf2-5166f38d07f3",
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
@ -27,7 +27,7 @@ X-ROUTE: /v2/projects/{project_id}/links
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "3d057b55-d638-4d38-9d22-a2f6f56d1799",
|
||||
"node_id": "b719f78c-f29c-49d8-bb20-c0e3f646b9f3",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
@ -39,10 +39,10 @@ X-ROUTE: /v2/projects/{project_id}/links
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "de315007-d0cf-499e-93b4-cf7ed94a14e6",
|
||||
"node_id": "dc59e823-fd6f-4adb-9ca3-9f00465224cc",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "3863fae6-89f2-44b8-8440-130c111f5237"
|
||||
"project_id": "6aa6ab8c-71f5-41d8-a0db-934e797cdbf6"
|
||||
}
|
||||
]
|
||||
|
@ -1,11 +1,11 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/21f741da-fe54-4d8d-ad40-fef06d536dc5/nodes'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/0a89252b-f833-40a8-bd19-0a8536c7e9be/nodes'
|
||||
|
||||
GET /v2/projects/21f741da-fe54-4d8d-ad40-fef06d536dc5/nodes HTTP/1.1
|
||||
GET /v2/projects/0a89252b-f833-40a8-bd19-0a8536c7e9be/nodes HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 810
|
||||
CONTENT-LENGTH: 811
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -18,25 +18,25 @@ X-ROUTE: /v2/projects/{project_id}/nodes
|
||||
"console": 2048,
|
||||
"console_host": "example.org",
|
||||
"console_type": null,
|
||||
"height": 70,
|
||||
"height": 59,
|
||||
"label": {
|
||||
"rotation": 0,
|
||||
"style": "font-size: 10;font-familly: Verdana",
|
||||
"text": "test",
|
||||
"x": -17,
|
||||
"y": -25
|
||||
"x": null,
|
||||
"y": -40
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "3797673d-fb0c-40d6-9fa1-c768167c1989",
|
||||
"node_id": "16d978e0-d0b3-462b-bc47-eec738a200e1",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "21f741da-fe54-4d8d-ad40-fef06d536dc5",
|
||||
"project_id": "0a89252b-f833-40a8-bd19-0a8536c7e9be",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
"width": 70,
|
||||
"width": 65,
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/2e182242-533c-45fa-a997-c4dbfd13f66c/nodes/444057ba-eb3d-4120-8f9d-8e764bab489f/dynamips/auto_idlepc'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/1a1e45df-eb32-4009-a135-b250af5c0168/nodes/986e62dd-3025-4ee8-8ce0-fcd29a08ea5f/dynamips/auto_idlepc'
|
||||
|
||||
GET /v2/projects/2e182242-533c-45fa-a997-c4dbfd13f66c/nodes/444057ba-eb3d-4120-8f9d-8e764bab489f/dynamips/auto_idlepc HTTP/1.1
|
||||
GET /v2/projects/1a1e45df-eb32-4009-a135-b250af5c0168/nodes/986e62dd-3025-4ee8-8ce0-fcd29a08ea5f/dynamips/auto_idlepc HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/086d8799-7ab0-4d3c-a355-da83ab65b8c8/nodes/18a28349-459a-4644-a220-6d3f1c87ba4f/dynamips/idlepc_proposals'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/d4513b9c-1fed-4e89-920a-cb9c1064c4fd/nodes/aa547a4d-b8fa-48f4-ba0b-b085c0942040/dynamips/idlepc_proposals'
|
||||
|
||||
GET /v2/projects/086d8799-7ab0-4d3c-a355-da83ab65b8c8/nodes/18a28349-459a-4644-a220-6d3f1c87ba4f/dynamips/idlepc_proposals HTTP/1.1
|
||||
GET /v2/projects/d4513b9c-1fed-4e89-920a-cb9c1064c4fd/nodes/aa547a4d-b8fa-48f4-ba0b-b085c0942040/dynamips/idlepc_proposals HTTP/1.1
|
||||
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/95248748-6c54-4935-a3e1-db0638fa923e/snapshots'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/6abcb53c-71b4-46a1-a8a2-51c38166bb59/snapshots'
|
||||
|
||||
GET /v2/projects/95248748-6c54-4935-a3e1-db0638fa923e/snapshots HTTP/1.1
|
||||
GET /v2/projects/6abcb53c-71b4-46a1-a8a2-51c38166bb59/snapshots HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -13,9 +13,9 @@ X-ROUTE: /v2/projects/{project_id}/snapshots
|
||||
|
||||
[
|
||||
{
|
||||
"created_at": 1471275494,
|
||||
"created_at": 1472128867,
|
||||
"name": "test",
|
||||
"project_id": "95248748-6c54-4935-a3e1-db0638fa923e",
|
||||
"snapshot_id": "2da92e42-c175-4d37-b0d4-85433c4a9be5"
|
||||
"project_id": "6abcb53c-71b4-46a1-a8a2-51c38166bb59",
|
||||
"snapshot_id": "f8c8bd01-ae51-4444-8e9d-10d631dc0d21"
|
||||
}
|
||||
]
|
||||
|
@ -8,16 +8,19 @@ POST /v2/projects HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 255
|
||||
CONTENT-LENGTH: 328
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects
|
||||
|
||||
{
|
||||
"auto_close": true,
|
||||
"auto_open": false,
|
||||
"auto_start": false,
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9tsioz_l/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpz1kilzjg/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -7,16 +7,19 @@ POST /v2/projects/load HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 255
|
||||
CONTENT-LENGTH: 328
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/load
|
||||
|
||||
{
|
||||
"auto_close": true,
|
||||
"auto_open": false,
|
||||
"auto_start": false,
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpixvpn8v2/projects/1207c9ba-3f18-4d4c-8adc-271cfaefed03",
|
||||
"project_id": "1207c9ba-3f18-4d4c-8adc-271cfaefed03",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2tn0j7vo/projects/11afd4a8-bec3-477b-9462-018af5ec1c52",
|
||||
"project_id": "11afd4a8-bec3-477b-9462-018af5ec1c52",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,20 +1,23 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/c3ec9d20-749b-4e11-b2a5-922e807209c6/close' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/be87a340-df85-48a2-8b3c-b4c52d34b803/close' -d '{}'
|
||||
|
||||
POST /v2/projects/c3ec9d20-749b-4e11-b2a5-922e807209c6/close HTTP/1.1
|
||||
POST /v2/projects/be87a340-df85-48a2-8b3c-b4c52d34b803/close HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 255
|
||||
CONTENT-LENGTH: 328
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/close
|
||||
|
||||
{
|
||||
"auto_close": true,
|
||||
"auto_open": false,
|
||||
"auto_start": false,
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp2uaousem/projects/c3ec9d20-749b-4e11-b2a5-922e807209c6",
|
||||
"project_id": "c3ec9d20-749b-4e11-b2a5-922e807209c6",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmptjk4s03z/projects/be87a340-df85-48a2-8b3c-b4c52d34b803",
|
||||
"project_id": "be87a340-df85-48a2-8b3c-b4c52d34b803",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/7f91b223-b43b-46d8-9352-f486b561e319/drawings' -d '{"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>", "x": 10, "y": 20, "z": 0}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/2f61fea5-bace-44cc-84ff-e24345fef6c5/drawings' -d '{"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>", "x": 10, "y": 20, "z": 0}'
|
||||
|
||||
POST /v2/projects/7f91b223-b43b-46d8-9352-f486b561e319/drawings HTTP/1.1
|
||||
POST /v2/projects/2f61fea5-bace-44cc-84ff-e24345fef6c5/drawings HTTP/1.1
|
||||
{
|
||||
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
|
||||
"x": 10,
|
||||
@ -17,8 +17,8 @@ SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/drawings
|
||||
|
||||
{
|
||||
"drawing_id": "5a959fe2-7551-44de-b8b9-f143bed44b95",
|
||||
"project_id": "7f91b223-b43b-46d8-9352-f486b561e319",
|
||||
"drawing_id": "1da3253e-dcec-4acd-8ee1-0158fa204131",
|
||||
"project_id": "2f61fea5-bace-44cc-84ff-e24345fef6c5",
|
||||
"rotation": 0,
|
||||
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
|
||||
"x": 10,
|
||||
|
@ -1,22 +1,25 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/7d5b9b55-cff9-435b-9ee7-45f4f33efe64/duplicate' -d '{"name": "hello"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/dfc1c666-6a21-4e08-b5d1-00bd2aa3e1dc/duplicate' -d '{"name": "hello"}'
|
||||
|
||||
POST /v2/projects/7d5b9b55-cff9-435b-9ee7-45f4f33efe64/duplicate HTTP/1.1
|
||||
POST /v2/projects/dfc1c666-6a21-4e08-b5d1-00bd2aa3e1dc/duplicate HTTP/1.1
|
||||
{
|
||||
"name": "hello"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 226
|
||||
CONTENT-LENGTH: 299
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/duplicate
|
||||
|
||||
{
|
||||
"auto_close": true,
|
||||
"auto_open": false,
|
||||
"auto_start": false,
|
||||
"filename": "hello.gns3",
|
||||
"name": "hello",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp5dv92n90/projects/hello",
|
||||
"project_id": "a8dc4a17-ae16-4b8b-8f2b-a3fa6a8c4556",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm7_ll93m/projects/hello",
|
||||
"project_id": "d623e4a8-ee78-4da6-aee7-1613b1e4a6d3",
|
||||
"status": "closed"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/6fbfc705-c539-4013-a025-a5c76f7e1c8e/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "450a918f-d477-459e-bdab-26f32ab4de4e", "port_number": 3}, {"adapter_number": 2, "node_id": "39edeb79-6111-45e4-a6c2-2b0610356dc5", "port_number": 4}]}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/3eca4ad9-19e6-48a5-8cf4-cc2076b3cf33/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "49b39d66-11d1-4155-89c4-99265417991b", "port_number": 3}, {"adapter_number": 2, "node_id": "71b97329-fbf9-41c6-a138-c8829a63050a", "port_number": 4}]}'
|
||||
|
||||
POST /v2/projects/6fbfc705-c539-4013-a025-a5c76f7e1c8e/links HTTP/1.1
|
||||
POST /v2/projects/3eca4ad9-19e6-48a5-8cf4-cc2076b3cf33/links HTTP/1.1
|
||||
{
|
||||
"nodes": [
|
||||
{
|
||||
@ -10,12 +10,12 @@ POST /v2/projects/6fbfc705-c539-4013-a025-a5c76f7e1c8e/links HTTP/1.1
|
||||
"x": 42,
|
||||
"y": 0
|
||||
},
|
||||
"node_id": "450a918f-d477-459e-bdab-26f32ab4de4e",
|
||||
"node_id": "49b39d66-11d1-4155-89c4-99265417991b",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
"adapter_number": 2,
|
||||
"node_id": "39edeb79-6111-45e4-a6c2-2b0610356dc5",
|
||||
"node_id": "71b97329-fbf9-41c6-a138-c8829a63050a",
|
||||
"port_number": 4
|
||||
}
|
||||
]
|
||||
@ -33,7 +33,7 @@ X-ROUTE: /v2/projects/{project_id}/links
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "690b280c-0e37-41c7-a771-6665af22a542",
|
||||
"link_id": "1812c97d-3993-46f9-8bb6-65a36389f005",
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
@ -42,7 +42,7 @@ X-ROUTE: /v2/projects/{project_id}/links
|
||||
"x": 42,
|
||||
"y": 0
|
||||
},
|
||||
"node_id": "450a918f-d477-459e-bdab-26f32ab4de4e",
|
||||
"node_id": "49b39d66-11d1-4155-89c4-99265417991b",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
@ -54,9 +54,9 @@ X-ROUTE: /v2/projects/{project_id}/links
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "39edeb79-6111-45e4-a6c2-2b0610356dc5",
|
||||
"node_id": "71b97329-fbf9-41c6-a138-c8829a63050a",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "6fbfc705-c539-4013-a025-a5c76f7e1c8e"
|
||||
"project_id": "3eca4ad9-19e6-48a5-8cf4-cc2076b3cf33"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/1e55b8ee-8ed3-4295-8d51-3f09e3f705b1/links/cbb6ee48-d041-4962-992a-0375735707a1/start_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/3577db33-a30c-46d2-a4ab-1c9012e8c395/links/a4060582-5d49-412d-96b9-51fa6f0a60f2/start_capture' -d '{}'
|
||||
|
||||
POST /v2/projects/1e55b8ee-8ed3-4295-8d51-3f09e3f705b1/links/cbb6ee48-d041-4962-992a-0375735707a1/start_capture HTTP/1.1
|
||||
POST /v2/projects/3577db33-a30c-46d2-a4ab-1c9012e8c395/links/a4060582-5d49-412d-96b9-51fa6f0a60f2/start_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ X-ROUTE: /v2/projects/{project_id}/links/{link_id}/start_capture
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "cbb6ee48-d041-4962-992a-0375735707a1",
|
||||
"link_id": "a4060582-5d49-412d-96b9-51fa6f0a60f2",
|
||||
"nodes": [],
|
||||
"project_id": "1e55b8ee-8ed3-4295-8d51-3f09e3f705b1"
|
||||
"project_id": "3577db33-a30c-46d2-a4ab-1c9012e8c395"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/34959503-cdb0-420d-b157-57e393f5118d/links/f5d59f5f-b6fc-43d6-886c-417234c123fb/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/92bde20a-0063-43c1-b661-f9058570f657/links/f32eaaad-c223-40da-bd94-a62a51a696fd/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/projects/34959503-cdb0-420d-b157-57e393f5118d/links/f5d59f5f-b6fc-43d6-886c-417234c123fb/stop_capture HTTP/1.1
|
||||
POST /v2/projects/92bde20a-0063-43c1-b661-f9058570f657/links/f32eaaad-c223-40da-bd94-a62a51a696fd/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -15,7 +15,7 @@ X-ROUTE: /v2/projects/{project_id}/links/{link_id}/stop_capture
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "f5d59f5f-b6fc-43d6-886c-417234c123fb",
|
||||
"link_id": "f32eaaad-c223-40da-bd94-a62a51a696fd",
|
||||
"nodes": [],
|
||||
"project_id": "34959503-cdb0-420d-b157-57e393f5118d"
|
||||
"project_id": "92bde20a-0063-43c1-b661-f9058570f657"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/cc0908dc-6ae4-4186-b537-4f6b23c13f0c/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/af6a3906-9f06-486a-a833-b6d267557daf/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
|
||||
POST /v2/projects/cc0908dc-6ae4-4186-b537-4f6b23c13f0c/nodes HTTP/1.1
|
||||
POST /v2/projects/af6a3906-9f06-486a-a833-b6d267557daf/nodes HTTP/1.1
|
||||
{
|
||||
"compute_id": "example.com",
|
||||
"name": "test",
|
||||
@ -12,7 +12,7 @@ POST /v2/projects/cc0908dc-6ae4-4186-b537-4f6b23c13f0c/nodes HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 690
|
||||
CONTENT-LENGTH: 691
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -24,25 +24,25 @@ X-ROUTE: /v2/projects/{project_id}/nodes
|
||||
"console": 2048,
|
||||
"console_host": "example.org",
|
||||
"console_type": null,
|
||||
"height": 70,
|
||||
"height": 59,
|
||||
"label": {
|
||||
"rotation": 0,
|
||||
"style": "font-size: 10;font-familly: Verdana",
|
||||
"text": "test",
|
||||
"x": -17,
|
||||
"y": -25
|
||||
"x": null,
|
||||
"y": -40
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "a414b9fb-f612-4042-8f2a-59206dce9bf5",
|
||||
"node_id": "23cd9a53-e3c7-4830-9bda-56d547504316",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "cc0908dc-6ae4-4186-b537-4f6b23c13f0c",
|
||||
"project_id": "af6a3906-9f06-486a-a833-b6d267557daf",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
"width": 70,
|
||||
"width": 65,
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
|
@ -1,12 +1,40 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/e2c0dd62-7f12-43e5-9296-c38e1145fb14/nodes/52481486-ea78-40ff-ac8b-036031fcaa5b/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/236b8cd6-bae4-4848-b4fe-eb99e0a41d4e/nodes/32e707d3-89c9-4e4a-8b74-a7040bb5d12f/reload' -d '{}'
|
||||
|
||||
POST /v2/projects/e2c0dd62-7f12-43e5-9296-c38e1145fb14/nodes/52481486-ea78-40ff-ac8b-036031fcaa5b/reload HTTP/1.1
|
||||
POST /v2/projects/236b8cd6-bae4-4848-b4fe-eb99e0a41d4e/nodes/32e707d3-89c9-4e4a-8b74-a7040bb5d12f/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 648
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}/reload
|
||||
|
||||
{
|
||||
"command_line": null,
|
||||
"compute_id": "example.com",
|
||||
"console": null,
|
||||
"console_host": "example.org",
|
||||
"console_type": null,
|
||||
"height": 59,
|
||||
"label": {
|
||||
"rotation": 0,
|
||||
"style": "font-size: 10;font-familly: Verdana",
|
||||
"text": "test",
|
||||
"x": null,
|
||||
"y": -40
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "32e707d3-89c9-4e4a-8b74-a7040bb5d12f",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "236b8cd6-bae4-4848-b4fe-eb99e0a41d4e",
|
||||
"properties": {},
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
"width": 65,
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
|
@ -1,12 +1,40 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/ce2e3571-8926-41a2-9f51-62eaf007f9be/nodes/78ed81ef-3683-4410-be15-b5bc13dd9429/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/1b98b3cf-543e-4d65-b616-1d868bc618ff/nodes/12d632a0-815f-46c2-b49a-7a759e6d2e63/start' -d '{}'
|
||||
|
||||
POST /v2/projects/ce2e3571-8926-41a2-9f51-62eaf007f9be/nodes/78ed81ef-3683-4410-be15-b5bc13dd9429/start HTTP/1.1
|
||||
POST /v2/projects/1b98b3cf-543e-4d65-b616-1d868bc618ff/nodes/12d632a0-815f-46c2-b49a-7a759e6d2e63/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 648
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
"command_line": null,
|
||||
"compute_id": "example.com",
|
||||
"console": null,
|
||||
"console_host": "example.org",
|
||||
"console_type": null,
|
||||
"height": 59,
|
||||
"label": {
|
||||
"rotation": 0,
|
||||
"style": "font-size: 10;font-familly: Verdana",
|
||||
"text": "test",
|
||||
"x": null,
|
||||
"y": -40
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "12d632a0-815f-46c2-b49a-7a759e6d2e63",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "1b98b3cf-543e-4d65-b616-1d868bc618ff",
|
||||
"properties": {},
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
"width": 65,
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
|
@ -1,12 +1,40 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/3e0c6b33-c9ea-4135-8e1a-37f9a7dd3dfb/nodes/d903e05a-7e4b-46ce-9d49-484e1f10cd58/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/da888da8-94d8-42e1-b43e-d04ea2215a94/nodes/bfdd209e-e2bf-4b55-a400-6c8f04c0217f/stop' -d '{}'
|
||||
|
||||
POST /v2/projects/3e0c6b33-c9ea-4135-8e1a-37f9a7dd3dfb/nodes/d903e05a-7e4b-46ce-9d49-484e1f10cd58/stop HTTP/1.1
|
||||
POST /v2/projects/da888da8-94d8-42e1-b43e-d04ea2215a94/nodes/bfdd209e-e2bf-4b55-a400-6c8f04c0217f/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 648
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}/stop
|
||||
|
||||
{
|
||||
"command_line": null,
|
||||
"compute_id": "example.com",
|
||||
"console": null,
|
||||
"console_host": "example.org",
|
||||
"console_type": null,
|
||||
"height": 59,
|
||||
"label": {
|
||||
"rotation": 0,
|
||||
"style": "font-size: 10;font-familly: Verdana",
|
||||
"text": "test",
|
||||
"x": null,
|
||||
"y": -40
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "bfdd209e-e2bf-4b55-a400-6c8f04c0217f",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "da888da8-94d8-42e1-b43e-d04ea2215a94",
|
||||
"properties": {},
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
"width": 65,
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
|
@ -1,12 +1,40 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/6bf667a1-aac0-4668-bc80-c664d0d9dfe9/nodes/622d2b21-0306-4c9d-8466-ac0a5274e6f9/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/f51e5708-278b-43bc-92ec-ef439b5c88c4/nodes/9251ff6b-9c38-449f-8010-60abbd442ec4/suspend' -d '{}'
|
||||
|
||||
POST /v2/projects/6bf667a1-aac0-4668-bc80-c664d0d9dfe9/nodes/622d2b21-0306-4c9d-8466-ac0a5274e6f9/suspend HTTP/1.1
|
||||
POST /v2/projects/f51e5708-278b-43bc-92ec-ef439b5c88c4/nodes/9251ff6b-9c38-449f-8010-60abbd442ec4/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
CONTENT-LENGTH: 0
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 648
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}/suspend
|
||||
|
||||
{
|
||||
"command_line": null,
|
||||
"compute_id": "example.com",
|
||||
"console": null,
|
||||
"console_host": "example.org",
|
||||
"console_type": null,
|
||||
"height": 59,
|
||||
"label": {
|
||||
"rotation": 0,
|
||||
"style": "font-size: 10;font-familly: Verdana",
|
||||
"text": "test",
|
||||
"x": null,
|
||||
"y": -40
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "9251ff6b-9c38-449f-8010-60abbd442ec4",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "f51e5708-278b-43bc-92ec-ef439b5c88c4",
|
||||
"properties": {},
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
"width": 65,
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/1ed78eb2-bc11-4a1f-b91a-8778c18dcf28/nodes/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/81959e6d-f388-4889-90e2-8482a6ece7d0/nodes/reload' -d '{}'
|
||||
|
||||
POST /v2/projects/1ed78eb2-bc11-4a1f-b91a-8778c18dcf28/nodes/reload HTTP/1.1
|
||||
POST /v2/projects/81959e6d-f388-4889-90e2-8482a6ece7d0/nodes/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/2ebf6f80-977c-4f82-ab8d-ec6de00f676e/nodes/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/b10ea154-7fb6-463d-8dfe-34b213ebc669/nodes/start' -d '{}'
|
||||
|
||||
POST /v2/projects/2ebf6f80-977c-4f82-ab8d-ec6de00f676e/nodes/start HTTP/1.1
|
||||
POST /v2/projects/b10ea154-7fb6-463d-8dfe-34b213ebc669/nodes/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/a2ad1b32-c750-448f-83b5-f0b7f8807bd0/nodes/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/07c6f30e-3449-4861-a4ca-89b13ec1d379/nodes/stop' -d '{}'
|
||||
|
||||
POST /v2/projects/a2ad1b32-c750-448f-83b5-f0b7f8807bd0/nodes/stop HTTP/1.1
|
||||
POST /v2/projects/07c6f30e-3449-4861-a4ca-89b13ec1d379/nodes/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/465579b6-39ec-4200-8f30-18e3b626a251/nodes/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/dfc836bf-fb62-4689-be01-31d10435651c/nodes/suspend' -d '{}'
|
||||
|
||||
POST /v2/projects/465579b6-39ec-4200-8f30-18e3b626a251/nodes/suspend HTTP/1.1
|
||||
POST /v2/projects/dfc836bf-fb62-4689-be01-31d10435651c/nodes/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
|
@ -1,20 +1,23 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/3d5c3c10-0934-4005-a3b6-4b75c53eb4a0/open' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/da7d2398-58ca-49a2-a298-d50e0186948b/open' -d '{}'
|
||||
|
||||
POST /v2/projects/3d5c3c10-0934-4005-a3b6-4b75c53eb4a0/open HTTP/1.1
|
||||
POST /v2/projects/da7d2398-58ca-49a2-a298-d50e0186948b/open HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 255
|
||||
CONTENT-LENGTH: 328
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/open
|
||||
|
||||
{
|
||||
"auto_close": true,
|
||||
"auto_open": false,
|
||||
"auto_start": false,
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp7ego61b6/projects/3d5c3c10-0934-4005-a3b6-4b75c53eb4a0",
|
||||
"project_id": "3d5c3c10-0934-4005-a3b6-4b75c53eb4a0",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1a1i8jm0/projects/da7d2398-58ca-49a2-a298-d50e0186948b",
|
||||
"project_id": "da7d2398-58ca-49a2-a298-d50e0186948b",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/90cf6f4c-635d-470a-a4bd-7f098cac153b/snapshots' -d '{"name": "snap1"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/3f70d171-a7c7-483c-b0c3-031de0f52d2e/snapshots' -d '{"name": "snap1"}'
|
||||
|
||||
POST /v2/projects/90cf6f4c-635d-470a-a4bd-7f098cac153b/snapshots HTTP/1.1
|
||||
POST /v2/projects/3f70d171-a7c7-483c-b0c3-031de0f52d2e/snapshots HTTP/1.1
|
||||
{
|
||||
"name": "snap1"
|
||||
}
|
||||
@ -14,8 +14,8 @@ SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/snapshots
|
||||
|
||||
{
|
||||
"created_at": 1471275495,
|
||||
"created_at": 1472128867,
|
||||
"name": "snap1",
|
||||
"project_id": "90cf6f4c-635d-470a-a4bd-7f098cac153b",
|
||||
"snapshot_id": "5ef71f28-7a2f-4f9d-bc74-809ac51ee7c4"
|
||||
"project_id": "3f70d171-a7c7-483c-b0c3-031de0f52d2e",
|
||||
"snapshot_id": "2ffacd88-e742-4fe2-a1a3-5c64a74132e2"
|
||||
}
|
||||
|
@ -1,20 +1,23 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/130d7a29-9b49-4688-8cf2-074a0434eb7f/snapshots/c99cf511-3108-4880-9236-61289bcf847a/restore' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/projects/ff0e2be2-cd34-45dd-bcdd-de7f75b7c52a/snapshots/dc1e014a-75e8-4884-b522-c6ad59ea94bf/restore' -d '{}'
|
||||
|
||||
POST /v2/projects/130d7a29-9b49-4688-8cf2-074a0434eb7f/snapshots/c99cf511-3108-4880-9236-61289bcf847a/restore HTTP/1.1
|
||||
POST /v2/projects/ff0e2be2-cd34-45dd-bcdd-de7f75b7c52a/snapshots/dc1e014a-75e8-4884-b522-c6ad59ea94bf/restore HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 255
|
||||
CONTENT-LENGTH: 328
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/snapshots/{snapshot_id}/restore
|
||||
|
||||
{
|
||||
"auto_close": true,
|
||||
"auto_open": false,
|
||||
"auto_start": false,
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo86kamvs/projects/130d7a29-9b49-4688-8cf2-074a0434eb7f",
|
||||
"project_id": "130d7a29-9b49-4688-8cf2-074a0434eb7f",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9rl3b2qi/projects/ff0e2be2-cd34-45dd-bcdd-de7f75b7c52a",
|
||||
"project_id": "ff0e2be2-cd34-45dd-bcdd-de7f75b7c52a",
|
||||
"status": "opened"
|
||||
}
|
||||
|
22
docs/api/examples/controller_put_gns3vm.txt
Normal file
22
docs/api/examples/controller_put_gns3vm.txt
Normal file
@ -0,0 +1,22 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/gns3vm' -d '{"vmname": "TEST VM"}'
|
||||
|
||||
PUT /v2/gns3vm HTTP/1.1
|
||||
{
|
||||
"vmname": "TEST VM"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
CONTENT-LENGTH: 118
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/gns3vm
|
||||
|
||||
{
|
||||
"auto_stop": true,
|
||||
"enable": false,
|
||||
"engine": "vmware",
|
||||
"headless": false,
|
||||
"vmname": "TEST VM"
|
||||
}
|
@ -7,16 +7,19 @@ PUT /v2/projects/10010203-0405-0607-0809-0a0b0c0d0e0f HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 256
|
||||
CONTENT-LENGTH: 329
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}
|
||||
|
||||
{
|
||||
"auto_close": true,
|
||||
"auto_open": false,
|
||||
"auto_start": false,
|
||||
"filename": "test.gns3",
|
||||
"name": "test2",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmphkjv57k4/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9mjl0ygs/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"status": "opened"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/projects/9f19ae38-fc03-43d0-97a4-99f3780c27a4/drawings/29de97b8-f1c9-4af3-9e39-1eade9566912' -d '{"x": 42}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/projects/4bcd1c2a-6140-42e1-8f13-6f8447821a7c/drawings/9209ac20-d18f-43a4-ac57-75c4d287f726' -d '{"x": 42}'
|
||||
|
||||
PUT /v2/projects/9f19ae38-fc03-43d0-97a4-99f3780c27a4/drawings/29de97b8-f1c9-4af3-9e39-1eade9566912 HTTP/1.1
|
||||
PUT /v2/projects/4bcd1c2a-6140-42e1-8f13-6f8447821a7c/drawings/9209ac20-d18f-43a4-ac57-75c4d287f726 HTTP/1.1
|
||||
{
|
||||
"x": 42
|
||||
}
|
||||
@ -14,8 +14,8 @@ SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
X-ROUTE: /v2/projects/{project_id}/drawings/{drawing_id}
|
||||
|
||||
{
|
||||
"drawing_id": "29de97b8-f1c9-4af3-9e39-1eade9566912",
|
||||
"project_id": "9f19ae38-fc03-43d0-97a4-99f3780c27a4",
|
||||
"drawing_id": "9209ac20-d18f-43a4-ac57-75c4d287f726",
|
||||
"project_id": "4bcd1c2a-6140-42e1-8f13-6f8447821a7c",
|
||||
"rotation": 0,
|
||||
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
|
||||
"x": 42,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/projects/bfc7b4de-f0ea-42cd-9d48-a8d3f26de83b/nodes/886d119e-2966-4f46-8f8a-05bcff37154a' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/projects/146e5310-7dea-4b4b-b924-bcafd28d0a68/nodes/e1268e65-65ca-4fee-8602-31dfa07f5d94' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
|
||||
|
||||
PUT /v2/projects/bfc7b4de-f0ea-42cd-9d48-a8d3f26de83b/nodes/886d119e-2966-4f46-8f8a-05bcff37154a HTTP/1.1
|
||||
PUT /v2/projects/146e5310-7dea-4b4b-b924-bcafd28d0a68/nodes/e1268e65-65ca-4fee-8602-31dfa07f5d94 HTTP/1.1
|
||||
{
|
||||
"compute_id": "example.com",
|
||||
"name": "test",
|
||||
@ -12,7 +12,7 @@ PUT /v2/projects/bfc7b4de-f0ea-42cd-9d48-a8d3f26de83b/nodes/886d119e-2966-4f46-8
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
CONTENT-LENGTH: 647
|
||||
CONTENT-LENGTH: 648
|
||||
CONTENT-TYPE: application/json
|
||||
DATE: Thu, 08 Jan 2015 16:09:15 GMT
|
||||
SERVER: Python/3.5 GNS3/2.0.0dev1
|
||||
@ -24,23 +24,23 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}
|
||||
"console": 2048,
|
||||
"console_host": "example.org",
|
||||
"console_type": null,
|
||||
"height": 70,
|
||||
"height": 59,
|
||||
"label": {
|
||||
"rotation": 0,
|
||||
"style": "font-size: 10;font-familly: Verdana",
|
||||
"text": "test",
|
||||
"x": -17,
|
||||
"y": -25
|
||||
"x": null,
|
||||
"y": -40
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "886d119e-2966-4f46-8f8a-05bcff37154a",
|
||||
"node_id": "e1268e65-65ca-4fee-8602-31dfa07f5d94",
|
||||
"node_type": "vpcs",
|
||||
"project_id": "bfc7b4de-f0ea-42cd-9d48-a8d3f26de83b",
|
||||
"project_id": "146e5310-7dea-4b4b-b924-bcafd28d0a68",
|
||||
"properties": {},
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
"width": 70,
|
||||
"width": 65,
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"drawing_id": "9fcf65e4-ffd7-47ad-af23-f161d5bbfa11",
|
||||
"project_id": "21c986f6-bcb3-49ca-b2a7-13b95b1ae1b4",
|
||||
"drawing_id": "799b4ac6-9b05-4e77-9b3f-21af71106e8b",
|
||||
"project_id": "477f33f8-ee23-4c5e-a344-f3ca66ac7e21",
|
||||
"rotation": 0,
|
||||
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
|
||||
"x": 10,
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user