1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-24 09:18:08 +00:00

Rebuild documentation

This commit is contained in:
Julien Duponchelle 2016-09-14 15:24:27 +02:00
parent 2f0e2260ab
commit 803064d5cf
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8
174 changed files with 1069 additions and 5167 deletions

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/cc542a13-874e-4d16-b6e9-9cad0bfe3b93'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/41e83f3d-8456-473f-8195-516a1f738801'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/cc542a13-874e-4d16-b6e9-9cad0bfe3b93 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/41e83f3d-8456-473f-8195-516a1f738801 HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6a1c7cea-6610-4ffe-aceb-3219cd0d0ec1/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/77548610-5538-4f30-9de6-9104d2fb8370/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6a1c7cea-6610-4ffe-aceb-3219cd0d0ec1/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/77548610-5538-4f30-9de6-9104d2fb8370/adapters/0/ports/0/nio HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a36a487a-dced-4e76-a6ea-d15bb8ad88db/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2f12b49b-d282-419c-ab2e-94579b9d19c6/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a36a487a-dced-4e76-a6ea-d15bb8ad88db/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/2f12b49b-d282-419c-ab2e-94579b9d19c6/adapters/0/ports/0/nio HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5bc11f8c-b5ea-4aef-ba83-c74451f36693'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f97a8bd6-3799-452e-b3a3-d7fc4fd2f16f'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5bc11f8c-b5ea-4aef-ba83-c74451f36693 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f97a8bd6-3799-452e-b3a3-d7fc4fd2f16f HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e91beca3-58ce-4aba-9493-42f3b4525cb3/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1fef5d59-4568-43c1-b7d5-5de22a145243/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e91beca3-58ce-4aba-9493-42f3b4525cb3/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1fef5d59-4568-43c1-b7d5-5de22a145243/adapters/1/ports/0/nio HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/32b858c9-ae11-4c35-8282-75d468e16c49'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/08932e82-3f90-44c6-aac9-f599a1fed13a'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/32b858c9-ae11-4c35-8282-75d468e16c49 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/08932e82-3f90-44c6-aac9-f599a1fed13a HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/a94ef927-8990-4f15-bcb8-9d8e269b9664/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/a3ed88f8-6639-4655-b67b-423f20906e1a/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/a94ef927-8990-4f15-bcb8-9d8e269b9664/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/a3ed88f8-6639-4655-b67b-423f20906e1a/adapters/0/ports/0/nio HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6e641104-4fee-4ef4-bd12-b37beee0d12a'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7e12bebe-49da-48c1-8ec1-cf63635029fd'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6e641104-4fee-4ef4-bd12-b37beee0d12a HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7e12bebe-49da-48c1-8ec1-cf63635029fd HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2001cf01-22c0-4bc4-b105-a62b2d966bc2/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bdd1115c-ded9-4b2f-8560-d555bb12f643/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2001cf01-22c0-4bc4-b105-a62b2d966bc2/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bdd1115c-ded9-4b2f-8560-d555bb12f643/adapters/1/ports/0/nio HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5ed503b4-6381-4b0c-903f-e509a7b55918/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5edf41d8-1041-48d4-ba8b-c53695d59fc1/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5ed503b4-6381-4b0c-903f-e509a7b55918/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5edf41d8-1041-48d4-ba8b-c53695d59fc1/adapters/0/ports/0/nio HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d825429d-d6f4-445c-9a0f-9c42dc2b426c'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0cb7dac8-87ec-4882-9062-2f4000a1653d'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d825429d-d6f4-445c-9a0f-9c42dc2b426c HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0cb7dac8-87ec-4882-9062-2f4000a1653d HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/27f7db39-8425-4d8e-a7e5-1bc388e94212/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bc9a8630-043d-473a-bfd4-0e5def6bdfb5/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/27f7db39-8425-4d8e-a7e5-1bc388e94212/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bc9a8630-043d-473a-bfd4-0e5def6bdfb5/adapters/0/ports/0/nio HTTP/1.1

View File

@ -14,9 +14,9 @@ X-ROUTE: /v2/compute/capabilities
{
"node_types": [
"cloud",
"nat",
"ethernet_hub",
"ethernet_switch",
"nat",
"vpcs",
"virtualbox",
"dynamips",

File diff suppressed because it is too large Load Diff

View File

@ -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"
}
]

View File

@ -1,11 +1,11 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a577ec14-fd92-46f0-8d14-6b4cb6e856c0'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/34630f62-2144-4dd8-bf6f-a44a606b1a47'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a577ec14-fd92-46f0-8d14-6b4cb6e856c0 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/34630f62-2144-4dd8-bf6f-a44a606b1a47 HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 19808
CONTENT-LENGTH: 1593
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -41,38 +41,6 @@ X-ROUTE: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"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"
@ -81,882 +49,42 @@ X-ROUTE: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"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": "a577ec14-fd92-46f0-8d14-6b4cb6e856c0",
"ports": [],
"node_id": "34630f62-2144-4dd8-bf6f-a44a606b1a47",
"ports_mapping": [],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "started"
}

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2e31f185-ba34-4abf-8f1f-a8353358202c'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/058d18a2-92ca-4122-827b-26076d3cdd66'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2e31f185-ba34-4abf-8f1f-a8353358202c HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/058d18a2-92ca-4122-827b-26076d3cdd66 HTTP/1.1
@ -19,8 +19,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-311/test_json5/project-files/iou/2e31f185-ba34-4abf-8f1f-a8353358202c",
"node_id": "2e31f185-ba34-4abf-8f1f-a8353358202c",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-330/test_json5/project-files/iou/058d18a2-92ca-4122-827b-26076d3cdd66",
"node_id": "058d18a2-92ca-4122-827b-26076d3cdd66",
"nvram": 128,
"path": "iou.bin",
"private_config": null,

View File

@ -1,11 +1,11 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/82d46bae-c93f-43d4-b9c6-9c761b2ac723'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8a6c287b-a7dd-456b-82e5-878fe3ddb13f'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/82d46bae-c93f-43d4-b9c6-9c761b2ac723 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8a6c287b-a7dd-456b-82e5-878fe3ddb13f HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 325
CONTENT-LENGTH: 337
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -13,12 +13,12 @@ X-ROUTE: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
{
"name": "Nat 1",
"node_id": "82d46bae-c93f-43d4-b9c6-9c761b2ac723",
"ports": [
"node_id": "8a6c287b-a7dd-456b-82e5-878fe3ddb13f",
"ports_mapping": [
{
"interface": "eth1",
"name": "nat0",
"port_number": 1,
"interface": "virbr0",
"name": "virbr0",
"port_number": 0,
"type": "ethernet"
}
],

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fcd4fe2c-9810-41d1-b138-bba259673ece'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8dbcde24-cf90-48bd-a0fb-de2e208d7573'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fcd4fe2c-9810-41d1-b138-bba259673ece HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8dbcde24-cf90-48bd-a0fb-de2e208d7573 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:3e:ce:00",
"mac_address": "00:dd:80:75:73:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps5w9xq7p/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/fcd4fe2c-9810-41d1-b138-bba259673ece",
"node_id": "fcd4fe2c-9810-41d1-b138-bba259673ece",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpskaf5ewe/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/8dbcde24-cf90-48bd-a0fb-de2e208d7573",
"node_id": "8dbcde24-cf90-48bd-a0fb-de2e208d7573",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1qzj1p83/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1uokww80/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/828c994a-efd0-4e74-8476-14d2b2865bbd'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bd5a4841-7543-4c38-bad8-d1477bb28f67'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/828c994a-efd0-4e74-8476-14d2b2865bbd HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bd5a4841-7543-4c38-bad8-d1477bb28f67 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": "828c994a-efd0-4e74-8476-14d2b2865bbd",
"node_id": "bd5a4841-7543-4c38-bad8-d1477bb28f67",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f71793ba-3071-484d-be05-db5063e69d46'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f3e04996-caaa-4b4f-9e6b-0a75464f32d5'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f71793ba-3071-484d-be05-db5063e69d46 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f3e04996-caaa-4b4f-9e6b-0a75464f32d5 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/tmps5w9xq7p/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/f71793ba-3071-484d-be05-db5063e69d46",
"node_id": "f71793ba-3071-484d-be05-db5063e69d46",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpskaf5ewe/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/f3e04996-caaa-4b4f-9e6b-0a75464f32d5",
"node_id": "f3e04996-caaa-4b4f-9e6b-0a75464f32d5",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,

View File

@ -7,7 +7,7 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/
HTTP/1.1 201
CONTENT-LENGTH: 19808
CONTENT-LENGTH: 1593
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -43,38 +43,6 @@ X-ROUTE: /v2/compute/projects/{project_id}/cloud/nodes
"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"
@ -83,882 +51,42 @@ X-ROUTE: /v2/compute/projects/{project_id}/cloud/nodes
"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": "1bd434db-4dec-4e4c-924f-d8ea21a1a5f9",
"ports": [],
"node_id": "6f4beb91-7921-4f1c-b9cd-ffeac5aa93f2",
"ports_mapping": [],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "started"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/450786c3-e12e-4fd5-bed0-d4ef34bd5c57/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/2082261d-96d5-4ca7-9668-175ab9c3a328/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/450786c3-e12e-4fd5-bed0-d4ef34bd5c57/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/2082261d-96d5-4ca7-9668-175ab9c3a328/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/72f0b846-4b14-459a-8b82-7d0b2b5246c8/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/72a5e8e7-52dc-4524-afe1-867723a01ad0/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/72f0b846-4b14-459a-8b82-7d0b2b5246c8/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/72a5e8e7-52dc-4524-afe1-867723a01ad0/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/d464bb56-e328-4d84-bab3-4f8e5872125b/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/06b94241-1c19-43ad-9fdb-ab34f8955968/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/d464bb56-e328-4d84-bab3-4f8e5872125b/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/06b94241-1c19-43ad-9fdb-ab34f8955968/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@ -15,5 +15,5 @@ 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-311/test_json5/tmp/captures/test.pcap"
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-330/test_json5/tmp/captures/test.pcap"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/9fdb7c14-b4f2-414a-8e50-11b796064263/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/525765d2-3b72-4b91-98b3-312bece7b8ff/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/9fdb7c14-b4f2-414a-8e50-11b796064263/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/525765d2-3b72-4b91-98b3-312bece7b8ff/adapters/0/ports/0/stop_capture HTTP/1.1
{}

View File

@ -1,9 +1,9 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "5715b228-58f0-420b-949b-8b4319e8fb5c", "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": "67b7e870-fe42-4301-9862-7cd32811b424", "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": "5715b228-58f0-420b-949b-8b4319e8fb5c",
"node_id": "67b7e870-fe42-4301-9862-7cd32811b424",
"path": "iou.bin",
"startup_config_content": "hostname test"
}
@ -24,8 +24,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-311/test_json5/project-files/iou/5715b228-58f0-420b-949b-8b4319e8fb5c",
"node_id": "5715b228-58f0-420b-949b-8b4319e8fb5c",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-330/test_json5/project-files/iou/67b7e870-fe42-4301-9862-7cd32811b424",
"node_id": "67b7e870-fe42-4301-9862-7cd32811b424",
"nvram": 128,
"path": "iou.bin",
"private_config": null,

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9195792e-61eb-4304-b25f-4fd1603d87c1/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/222d17b2-661c-4fee-bb74-a224daa0eb21/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9195792e-61eb-4304-b25f-4fd1603d87c1/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/222d17b2-661c-4fee-bb74-a224daa0eb21/adapters/1/ports/0/nio HTTP/1.1
{
"ethernet_device": "bridge0",
"type": "nio_ethernet"

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/bac7558b-815a-418f-94d4-f439b31609e4/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/764dd16d-0415-4fb8-a824-9c127a0d3555/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/bac7558b-815a-418f-94d4-f439b31609e4/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/764dd16d-0415-4fb8-a824-9c127a0d3555/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@ -15,5 +15,5 @@ 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-311/test_json5/tmp/captures/test.pcap"
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-330/test_json5/tmp/captures/test.pcap"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d9248289-21c5-405d-bd1a-71d65d8f4d21/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4aa61165-026e-487c-a0ec-6aa054b656f3/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d9248289-21c5-405d-bd1a-71d65d8f4d21/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4aa61165-026e-487c-a0ec-6aa054b656f3/adapters/0/ports/0/stop_capture HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/233c92cc-0d86-4102-81b3-3f7632ad4b9d/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4b3e858d-c676-45e3-b359-70910b9aa900/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/233c92cc-0d86-4102-81b3-3f7632ad4b9d/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/4b3e858d-c676-45e3-b359-70910b9aa900/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/65f984aa-5e12-47a4-91d7-365af01bdcc2/start' -d '{"iourc_content": "test"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f04a8f46-d27f-4a47-81f5-23d490e2f113/start' -d '{"iourc_content": "test"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/65f984aa-5e12-47a4-91d7-365af01bdcc2/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f04a8f46-d27f-4a47-81f5-23d490e2f113/start HTTP/1.1
{
"iourc_content": "test"
}
@ -21,8 +21,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-311/test_json5/project-files/iou/65f984aa-5e12-47a4-91d7-365af01bdcc2",
"node_id": "65f984aa-5e12-47a4-91d7-365af01bdcc2",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-330/test_json5/project-files/iou/f04a8f46-d27f-4a47-81f5-23d490e2f113",
"node_id": "f04a8f46-d27f-4a47-81f5-23d490e2f113",
"nvram": 128,
"path": "iou.bin",
"private_config": null,

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/29764528-ae1d-4c1d-b193-54145a7d8c15/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c45c676f-28a2-472f-95f0-f9e48e24608c/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/29764528-ae1d-4c1d-b193-54145a7d8c15/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/c45c676f-28a2-472f-95f0-f9e48e24608c/stop HTTP/1.1
{}

View File

@ -7,7 +7,7 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes HTTP/1.
HTTP/1.1 201
CONTENT-LENGTH: 325
CONTENT-LENGTH: 337
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -15,12 +15,12 @@ X-ROUTE: /v2/compute/projects/{project_id}/nat/nodes
{
"name": "Nat 1",
"node_id": "71001d69-522e-4c19-ab07-e4a9a002ea94",
"ports": [
"node_id": "01896f4d-3570-4605-b689-b1a9cb3099f5",
"ports_mapping": [
{
"interface": "eth1",
"name": "nat0",
"port_number": 1,
"interface": "virbr0",
"name": "virbr0",
"port_number": 0,
"type": "ethernet"
}
],

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/bc572389-2f58-4202-8510-66c7a2a5b219/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/64d8f00d-794a-4ceb-bcb7-473e95159332/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/bc572389-2f58-4202-8510-66c7a2a5b219/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/64d8f00d-794a-4ceb-bcb7-473e95159332/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",

View File

@ -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/tmp1qzj1p83/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/tmp1uokww80/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/tmp1qzj1p83/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1uokww80/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:42:d7:00",
"mac_address": "00:dd:80:7b:ae:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps5w9xq7p/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/a4b94490-6246-44dc-82cc-b7ff02fd42d7",
"node_id": "a4b94490-6246-44dc-82cc-b7ff02fd42d7",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpskaf5ewe/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/d6932073-021c-4487-b7ae-598fdd5b7bae",
"node_id": "d6932073-021c-4487-b7ae-598fdd5b7bae",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1qzj1p83/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1uokww80/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/29401064-f0a7-4a27-9e21-f674007a0f7a/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/1dd8bd1c-9b93-460e-b89f-3edf32d4cfed/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/29401064-f0a7-4a27-9e21-f674007a0f7a/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1dd8bd1c-9b93-460e-b89f-3edf32d4cfed/adapters/1/ports/0/nio HTTP/1.1
{
"ethernet_device": "eth0",
"type": "nio_ethernet"

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a5061c79-6870-4b2e-87e1-6633171bb779/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4d02fea0-afec-4674-9036-0a5b201ea147/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a5061c79-6870-4b2e-87e1-6633171bb779/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4d02fea0-afec-4674-9036-0a5b201ea147/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/aba644c6-1a0f-4c44-89c4-e7f7d0b52fe8/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8e8db19b-a05b-40dc-9b0b-5856ef87476c/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/aba644c6-1a0f-4c44-89c4-e7f7d0b52fe8/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8e8db19b-a05b-40dc-9b0b-5856ef87476c/resume HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bc2bd9c3-1ba3-40d9-b846-51bd96983475/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7f6708f3-7dfc-44cf-8fb9-60167d910d19/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/bc2bd9c3-1ba3-40d9-b846-51bd96983475/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7f6708f3-7dfc-44cf-8fb9-60167d910d19/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:34:75:00",
"mac_address": "00:dd:80:0d:19:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps5w9xq7p/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/bc2bd9c3-1ba3-40d9-b846-51bd96983475",
"node_id": "bc2bd9c3-1ba3-40d9-b846-51bd96983475",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpskaf5ewe/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/7f6708f3-7dfc-44cf-8fb9-60167d910d19",
"node_id": "7f6708f3-7dfc-44cf-8fb9-60167d910d19",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1qzj1p83/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1uokww80/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c6bafe0f-0202-4327-92a6-292c7c1714e8/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/35a8aa8f-8a84-4dde-b8b8-d19cef00b6b6/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c6bafe0f-0202-4327-92a6-292c7c1714e8/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/35a8aa8f-8a84-4dde-b8b8-d19cef00b6b6/stop HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/77781dcd-ea91-4084-b520-6ef95f3b20e2/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2a5eca63-0705-4d1a-8d2e-f5479349e7c2/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/77781dcd-ea91-4084-b520-6ef95f3b20e2/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2a5eca63-0705-4d1a-8d2e-f5479349e7c2/suspend HTTP/1.1
{}

View File

@ -25,7 +25,7 @@ X-ROUTE: /v2/compute/projects/{project_id}/virtualbox/nodes
"linked_clone": false,
"name": "VM1",
"node_directory": null,
"node_id": "26ac7779-ec36-4e9d-94d8-62361b29c9d8",
"node_id": "8dd097ca-91eb-4e28-9467-0ab62d2388aa",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/6c56be36-fcea-4773-ac70-ea77aaee975a/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/3efce36b-25eb-40e4-8d55-f65220445f99/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/6c56be36-fcea-4773-ac70-ea77aaee975a/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3efce36b-25eb-40e4-8d55-f65220445f99/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7216430a-e89f-4cca-974d-dd618d56ac47/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9f394bd7-f78d-4786-8ce2-cf09ce8aa0ad/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7216430a-e89f-4cca-974d-dd618d56ac47/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/9f394bd7-f78d-4786-8ce2-cf09ce8aa0ad/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/222f1da1-0fb1-40bb-922d-6068ecac32d2/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b30bdd7d-d7ce-472c-a5be-959b44f279f7/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/222f1da1-0fb1-40bb-922d-6068ecac32d2/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b30bdd7d-d7ce-472c-a5be-959b44f279f7/resume HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ee0d4d3d-6ae7-47b1-ab3f-0a1dbe69d2ea/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/fcf6ad7a-0842-4ec0-b54b-37fe977896fd/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ee0d4d3d-6ae7-47b1-ab3f-0a1dbe69d2ea/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/fcf6ad7a-0842-4ec0-b54b-37fe977896fd/start HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1e9bac81-a029-43d5-92a6-ea8673a65991/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a35f2693-692b-4aa4-bd1b-6e3a5e7844e4/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1e9bac81-a029-43d5-92a6-ea8673a65991/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a35f2693-692b-4aa4-bd1b-6e3a5e7844e4/stop HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/03c6edcc-e783-443e-975a-b3eac4ed34cd/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/714c5575-f45b-4cd8-b7b6-940215e36973/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/03c6edcc-e783-443e-975a-b3eac4ed34cd/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/714c5575-f45b-4cd8-b7b6-940215e36973/suspend HTTP/1.1
{}

View File

@ -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/tmps5w9xq7p/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/5733a9a0-05be-4d3c-94ee-80b517f29bc2",
"node_id": "5733a9a0-05be-4d3c-94ee-80b517f29bc2",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpskaf5ewe/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/28993ca5-cc72-4766-911e-6f88f9cb0dd2",
"node_id": "28993ca5-cc72-4766-911e-6f88f9cb0dd2",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5dc42324-e40c-418e-99f5-5e2b5d920d08/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/2e6458fb-9415-4d48-a2a5-fd67a04db517/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/5dc42324-e40c-418e-99f5-5e2b5d920d08/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2e6458fb-9415-4d48-a2a5-fd67a04db517/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4f127a7f-86af-4188-b1d2-a4a0f37961af/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b8c8bedf-74e4-4dd5-8d43-d1d8bca1c0b9/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4f127a7f-86af-4188-b1d2-a4a0f37961af/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b8c8bedf-74e4-4dd5-8d43-d1d8bca1c0b9/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/752da6c4-fd2d-4c55-a6cf-30a1a88f1048/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b32c3c1e-d6f2-4012-9430-6dc13c815f7a/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/752da6c4-fd2d-4c55-a6cf-30a1a88f1048/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b32c3c1e-d6f2-4012-9430-6dc13c815f7a/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/tmps5w9xq7p/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/752da6c4-fd2d-4c55-a6cf-30a1a88f1048",
"node_id": "752da6c4-fd2d-4c55-a6cf-30a1a88f1048",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpskaf5ewe/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/b32c3c1e-d6f2-4012-9430-6dc13c815f7a",
"node_id": "b32c3c1e-d6f2-4012-9430-6dc13c815f7a",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/284de9e5-36a5-48c5-b684-a7535c3e4f22/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a7eff962-25e6-4f2d-a877-86c7fa144b1c/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/284de9e5-36a5-48c5-b684-a7535c3e4f22/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a7eff962-25e6-4f2d-a877-86c7fa144b1c/stop HTTP/1.1
{}

View File

@ -1,13 +1,13 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/2cf9d65f-8859-43f1-969e-a717b3e53352' -d '{"name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/e7b150e3-b03a-4a17-a28f-90e7a84e89d3' -d '{"name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/2cf9d65f-8859-43f1-969e-a717b3e53352 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/e7b150e3-b03a-4a17-a28f-90e7a84e89d3 HTTP/1.1
{
"name": "test"
}
HTTP/1.1 200
CONTENT-LENGTH: 19805
CONTENT-LENGTH: 1590
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -43,38 +43,6 @@ X-ROUTE: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"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"
@ -83,882 +51,42 @@ X-ROUTE: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"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": "2cf9d65f-8859-43f1-969e-a717b3e53352",
"ports": [],
"node_id": "e7b150e3-b03a-4a17-a28f-90e7a84e89d3",
"ports_mapping": [],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "started"
}

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/cb569790-f7ff-4c77-a3ee-9f8586699e6e' -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/b11cabf9-ffa8-470d-bc83-e9f047ba09e9' -d '{"console": 5713, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/cb569790-f7ff-4c77-a3ee-9f8586699e6e HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b11cabf9-ffa8-470d-bc83-e9f047ba09e9 HTTP/1.1
{
"console": 5713,
"environment": "GNS3=1\nGNS4=0",
@ -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-311/test_json5/project-files/docker/cb569790-f7ff-4c77-a3ee-9f8586699e6e",
"node_id": "cb569790-f7ff-4c77-a3ee-9f8586699e6e",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-330/test_json5/project-files/docker/b11cabf9-ffa8-470d-bc83-e9f047ba09e9",
"node_id": "b11cabf9-ffa8-470d-bc83-e9f047ba09e9",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"start_command": "yes",
"status": "stopped"

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/52e439c4-8dc0-4e6f-9507-b525c2066e04' -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/79e87d08-c942-472c-baac-dbb34526882e' -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/52e439c4-8dc0-4e6f-9507-b525c2066e04 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/79e87d08-c942-472c-baac-dbb34526882e HTTP/1.1
{
"console": 5712,
"ethernet_adapters": 4,
@ -30,8 +30,8 @@ X-ROUTE: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
"l1_keepalives": true,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "test",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-311/test_json5/project-files/iou/52e439c4-8dc0-4e6f-9507-b525c2066e04",
"node_id": "52e439c4-8dc0-4e6f-9507-b525c2066e04",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-330/test_json5/project-files/iou/79e87d08-c942-472c-baac-dbb34526882e",
"node_id": "79e87d08-c942-472c-baac-dbb34526882e",
"nvram": 2048,
"path": "iou.bin",
"private_config": null,

View File

@ -1,13 +1,13 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/a1d2a112-bbdc-4d9b-ba29-5149a4a7ef72' -d '{"name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b945c3a0-b7f5-4bf3-8173-85f032b61b53' -d '{"name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/a1d2a112-bbdc-4d9b-ba29-5149a4a7ef72 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b945c3a0-b7f5-4bf3-8173-85f032b61b53 HTTP/1.1
{
"name": "test"
}
HTTP/1.1 200
CONTENT-LENGTH: 324
CONTENT-LENGTH: 336
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -15,12 +15,12 @@ X-ROUTE: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
{
"name": "test",
"node_id": "a1d2a112-bbdc-4d9b-ba29-5149a4a7ef72",
"ports": [
"node_id": "b945c3a0-b7f5-4bf3-8173-85f032b61b53",
"ports_mapping": [
{
"interface": "eth1",
"name": "nat0",
"port_number": 1,
"interface": "virbr0",
"name": "virbr0",
"port_number": 0,
"type": "ethernet"
}
],

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f20c993a-5959-4c5b-b69c-a0ff161a3135' -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/acb10e2a-f47c-4a95-8551-0e5f76fc206c' -d '{"console": 5712, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f20c993a-5959-4c5b-b69c-a0ff161a3135 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/acb10e2a-f47c-4a95-8551-0e5f76fc206c 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:31:35:00",
"mac_address": "00:dd:80:20:6c:00",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps5w9xq7p/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/f20c993a-5959-4c5b-b69c-a0ff161a3135",
"node_id": "f20c993a-5959-4c5b-b69c-a0ff161a3135",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpskaf5ewe/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/acb10e2a-f47c-4a95-8551-0e5f76fc206c",
"node_id": "acb10e2a-f47c-4a95-8551-0e5f76fc206c",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1qzj1p83/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1uokww80/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/914a6816-13eb-4b29-a79b-eb19c2b327da' -d '{"console": 5721, "name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bb7fb45b-8c96-4fdd-99fc-e1a91779d19a' -d '{"console": 5721, "name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/914a6816-13eb-4b29-a79b-eb19c2b327da HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/bb7fb45b-8c96-4fdd-99fc-e1a91779d19a 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": "914a6816-13eb-4b29-a79b-eb19c2b327da",
"node_id": "bb7fb45b-8c96-4fdd-99fc-e1a91779d19a",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e0719a9b-7863-46f7-ace1-479ff261f909' -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/41035467-4785-45a3-997f-4125c0f0955c' -d '{"console": 5722, "name": "test", "startup_script": "ip 192.168.1.1"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e0719a9b-7863-46f7-ace1-479ff261f909 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/41035467-4785-45a3-997f-4125c0f0955c 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/tmps5w9xq7p/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/e0719a9b-7863-46f7-ace1-479ff261f909",
"node_id": "e0719a9b-7863-46f7-ace1-479ff261f909",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpskaf5ewe/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/41035467-4785-45a3-997f-4125c0f0955c",
"node_id": "41035467-4785-45a3-997f-4125c0f0955c",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": "ip 192.168.1.1",
"startup_script_path": "startup.vpc",

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/03ded74c-9066-4e4d-b2e2-4b835fce5631'
curl -i -X DELETE 'http://localhost:3080/v2/projects/c8e7d20f-adab-47e4-be7f-6bd1b3028009'
DELETE /v2/projects/03ded74c-9066-4e4d-b2e2-4b835fce5631 HTTP/1.1
DELETE /v2/projects/c8e7d20f-adab-47e4-be7f-6bd1b3028009 HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/70a58fbb-b8c9-44b4-89c1-a5fa72e9506c/drawings/1db2e2f6-3dd1-4831-9532-a60ab856294b'
curl -i -X DELETE 'http://localhost:3080/v2/projects/e4d9e39f-c6d7-4549-9a39-77b491a1d0c9/drawings/5e201fa7-093b-438a-813a-fb9c0ca7d1bc'
DELETE /v2/projects/70a58fbb-b8c9-44b4-89c1-a5fa72e9506c/drawings/1db2e2f6-3dd1-4831-9532-a60ab856294b HTTP/1.1
DELETE /v2/projects/e4d9e39f-c6d7-4549-9a39-77b491a1d0c9/drawings/5e201fa7-093b-438a-813a-fb9c0ca7d1bc HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/de115f02-96b9-4158-837c-1a73c47c96c7/links/669968e7-64ab-44d5-8a4f-d7caa3ac6de9'
curl -i -X DELETE 'http://localhost:3080/v2/projects/237d87b6-9912-4aff-9210-b46706b18caf/links/c1f96066-ff56-4c79-9a82-df5c53edcfd9'
DELETE /v2/projects/de115f02-96b9-4158-837c-1a73c47c96c7/links/669968e7-64ab-44d5-8a4f-d7caa3ac6de9 HTTP/1.1
DELETE /v2/projects/237d87b6-9912-4aff-9210-b46706b18caf/links/c1f96066-ff56-4c79-9a82-df5c53edcfd9 HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/0555e4fa-ea3b-4cfc-9ee7-f893afdc0529/nodes/930d8103-563f-4550-a43f-34a718883c6e'
curl -i -X DELETE 'http://localhost:3080/v2/projects/b33faa3d-e348-4de5-a266-30b3949d5872/nodes/cf34dae9-ff88-4ef4-a37f-e3954d07e351'
DELETE /v2/projects/0555e4fa-ea3b-4cfc-9ee7-f893afdc0529/nodes/930d8103-563f-4550-a43f-34a718883c6e HTTP/1.1
DELETE /v2/projects/b33faa3d-e348-4de5-a266-30b3949d5872/nodes/cf34dae9-ff88-4ef4-a37f-e3954d07e351 HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/41922bc6-248e-49f1-bff4-a90a1ddcc6e8/snapshots/00f53403-6c95-4d73-9062-65ece9e4797a'
curl -i -X DELETE 'http://localhost:3080/v2/projects/444b02bb-7499-40a7-860c-531554e3e7ab/snapshots/e8b20eee-6a23-4dfc-8cae-1f3ec3e7b880'
DELETE /v2/projects/41922bc6-248e-49f1-bff4-a90a1ddcc6e8/snapshots/00f53403-6c95-4d73-9062-65ece9e4797a HTTP/1.1
DELETE /v2/projects/444b02bb-7499-40a7-860c-531554e3e7ab/snapshots/e8b20eee-6a23-4dfc-8cae-1f3ec3e7b880 HTTP/1.1

View File

@ -5,16 +5,16 @@ GET /v2/gns3vm HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 113
CONTENT-LENGTH: 115
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
"vmname": null,
"when_exit": "stop"
}

View File

@ -5,7 +5,7 @@ GET /v2/gns3vm/engines HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 366
CONTENT-LENGTH: 1018
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -13,13 +13,24 @@ X-ROUTE: /v2/gns3vm/engines
[
{
"description": "VMware is the recommended choice for best performances.",
"description": "VMware is the recommended choice for best performances.<br>The GNS3 VM can be <a href=\"https://github.com/GNS3/gns3-gui/releases/download/v2.0.0dev1/GNS3.VM.VMware.Workstation.2.0.0dev1.zip\">downloaded here</a>.",
"engine_id": "vmware",
"name": "VMware Fusion"
"name": "VMware Fusion",
"support_headless": true,
"support_when_exit": true
},
{
"description": "VirtualBox doesn't support nested virtualization, this means running Qemu based VM could be very slow.",
"description": "VirtualBox doesn't support nested virtualization, this means running Qemu based VM could be very slow.<br>The GNS3 VM can be <a href=\"https://github.com/GNS3/gns3-gui/releases/download/v2.0.0dev1/GNS3.VM.VirtualBox.2.0.0dev1.zip\">downloaded here</a>",
"engine_id": "virtualbox",
"name": "VirtualBox"
"name": "VirtualBox",
"support_headless": true,
"support_when_exit": true
},
{
"description": "Use a remote GNS3 server as the GNS3 VM.",
"engine_id": "remote",
"name": "Remote",
"support_headless": false,
"support_when_exit": false
}
]

View File

@ -18,7 +18,7 @@ X-ROUTE: /v2/projects
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-311/test_list_projects1",
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-330/test_list_projects1",
"project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/daa8ed17-122d-4e73-a2be-c0473c14694d'
curl -i -X GET 'http://localhost:3080/v2/projects/ad599422-7555-46f0-82aa-bc5cc232a84c'
GET /v2/projects/daa8ed17-122d-4e73-a2be-c0473c14694d HTTP/1.1
GET /v2/projects/ad599422-7555-46f0-82aa-bc5cc232a84c HTTP/1.1
@ -17,7 +17,7 @@ X-ROUTE: /v2/projects/{project_id}
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpjy0a1u4u/projects/daa8ed17-122d-4e73-a2be-c0473c14694d",
"project_id": "daa8ed17-122d-4e73-a2be-c0473c14694d",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpm0i67nfc/projects/ad599422-7555-46f0-82aa-bc5cc232a84c",
"project_id": "ad599422-7555-46f0-82aa-bc5cc232a84c",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/a309218f-8733-4b79-a1b0-b5029e1f4e98/drawings'
curl -i -X GET 'http://localhost:3080/v2/projects/213aea2d-98f7-4d6b-a436-5f67458ad62d/drawings'
GET /v2/projects/a309218f-8733-4b79-a1b0-b5029e1f4e98/drawings HTTP/1.1
GET /v2/projects/213aea2d-98f7-4d6b-a436-5f67458ad62d/drawings HTTP/1.1
@ -13,8 +13,8 @@ X-ROUTE: /v2/projects/{project_id}/drawings
[
{
"drawing_id": "dc2a42e7-1597-48e0-8d87-eb9d4b19e1f8",
"project_id": "a309218f-8733-4b79-a1b0-b5029e1f4e98",
"drawing_id": "397ff7c4-157e-4513-bf16-5cf857fd2433",
"project_id": "213aea2d-98f7-4d6b-a436-5f67458ad62d",
"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,

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/611178af-cb11-4444-a251-7b0ad49232c0/links'
curl -i -X GET 'http://localhost:3080/v2/projects/7577e59a-7758-4c5a-841f-be976afd8a57/links'
GET /v2/projects/611178af-cb11-4444-a251-7b0ad49232c0/links HTTP/1.1
GET /v2/projects/7577e59a-7758-4c5a-841f-be976afd8a57/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": "5b0579f5-6ae2-4cc9-a212-bfb2e28cee58",
"link_id": "a5017183-450b-43ef-9f5b-7d9ef2f77670",
"nodes": [
{
"adapter_number": 0,
@ -27,7 +27,7 @@ X-ROUTE: /v2/projects/{project_id}/links
"x": -10,
"y": -10
},
"node_id": "c2b9f58a-f3fc-47ac-b052-d4cc67ac6b46",
"node_id": "7ec55228-4f17-47ec-9afa-041114f5a95e",
"port_number": 3
},
{
@ -39,10 +39,10 @@ X-ROUTE: /v2/projects/{project_id}/links
"x": -10,
"y": -10
},
"node_id": "d65154e2-1e56-4a37-90ba-946b5de8f698",
"node_id": "ea49b826-f3ac-4683-898d-7c9384cd44f1",
"port_number": 4
}
],
"project_id": "611178af-cb11-4444-a251-7b0ad49232c0"
"project_id": "7577e59a-7758-4c5a-841f-be976afd8a57"
}
]

View File

@ -1,11 +1,11 @@
curl -i -X GET 'http://localhost:3080/v2/projects/fc32861d-501d-4298-82c4-f68376dc6068/nodes'
curl -i -X GET 'http://localhost:3080/v2/projects/f7d44669-cb36-4ec0-bcee-57ef25dbb640/nodes'
GET /v2/projects/fc32861d-501d-4298-82c4-f68376dc6068/nodes HTTP/1.1
GET /v2/projects/f7d44669-cb36-4ec0-bcee-57ef25dbb640/nodes HTTP/1.1
HTTP/1.1 200
CONTENT-LENGTH: 811
CONTENT-LENGTH: 1264
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -18,6 +18,7 @@ X-ROUTE: /v2/projects/{project_id}/nodes
"console": 2048,
"console_host": "example.org",
"console_type": null,
"first_port_name": null,
"height": 59,
"label": {
"rotation": 0,
@ -28,9 +29,23 @@ X-ROUTE: /v2/projects/{project_id}/nodes
},
"name": "test",
"node_directory": null,
"node_id": "e4ffbacc-ac60-4d99-8a13-1479837fd066",
"node_id": "cb86c0c4-5892-4178-a0ff-fda36032d578",
"node_type": "vpcs",
"project_id": "fc32861d-501d-4298-82c4-f68376dc6068",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"ports": [
{
"adapter_number": 0,
"data_link_types": {
"Ethernet": "DLT_EN10MB"
},
"link_type": "ethernet",
"name": "Ethernet0",
"port_number": 0,
"short_name": "e0/0"
}
],
"project_id": "f7d44669-cb36-4ec0-bcee-57ef25dbb640",
"properties": {
"startup_script": "echo test"
},

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/5ce65fd1-e708-4d72-a216-0ef5e0c7e127/nodes/729ad766-ee82-4664-bf63-daf9d58f9696/dynamips/auto_idlepc'
curl -i -X GET 'http://localhost:3080/v2/projects/4dc27f12-ba3b-44a3-af9e-2965ac360d8b/nodes/8b807f66-d4b6-438a-987a-b7dd3c3eff7a/dynamips/auto_idlepc'
GET /v2/projects/5ce65fd1-e708-4d72-a216-0ef5e0c7e127/nodes/729ad766-ee82-4664-bf63-daf9d58f9696/dynamips/auto_idlepc HTTP/1.1
GET /v2/projects/4dc27f12-ba3b-44a3-af9e-2965ac360d8b/nodes/8b807f66-d4b6-438a-987a-b7dd3c3eff7a/dynamips/auto_idlepc HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/4f055831-d88f-4337-b41f-e05d6368f5b3/nodes/ebb91502-4baf-41df-b83b-7617b30a6211/dynamips/idlepc_proposals'
curl -i -X GET 'http://localhost:3080/v2/projects/67874f29-b0c6-43bd-b884-089848010c10/nodes/7933f17b-6a9e-47c4-97ac-4e952e658dfa/dynamips/idlepc_proposals'
GET /v2/projects/4f055831-d88f-4337-b41f-e05d6368f5b3/nodes/ebb91502-4baf-41df-b83b-7617b30a6211/dynamips/idlepc_proposals HTTP/1.1
GET /v2/projects/67874f29-b0c6-43bd-b884-089848010c10/nodes/7933f17b-6a9e-47c4-97ac-4e952e658dfa/dynamips/idlepc_proposals HTTP/1.1

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/444dfb21-bf9d-46ca-badb-e22095d42a01/snapshots'
curl -i -X GET 'http://localhost:3080/v2/projects/a73b08ff-47f8-4ce8-9eb2-f59d5def53d0/snapshots'
GET /v2/projects/444dfb21-bf9d-46ca-badb-e22095d42a01/snapshots HTTP/1.1
GET /v2/projects/a73b08ff-47f8-4ce8-9eb2-f59d5def53d0/snapshots HTTP/1.1
@ -13,9 +13,9 @@ X-ROUTE: /v2/projects/{project_id}/snapshots
[
{
"created_at": 1472479063,
"created_at": 1473859409,
"name": "test",
"project_id": "444dfb21-bf9d-46ca-badb-e22095d42a01",
"snapshot_id": "f6e5b3e5-c34c-4aaf-a464-ca120a551c18"
"project_id": "a73b08ff-47f8-4ce8-9eb2-f59d5def53d0",
"snapshot_id": "5696b200-d0df-4c89-9813-ba76f58917ae"
}
]

View File

@ -20,7 +20,7 @@ X-ROUTE: /v2/projects
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmppibcus6y/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpa6mgwv0u/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
"status": "opened"
}

View File

@ -19,7 +19,7 @@ X-ROUTE: /v2/projects/load
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpwbctaekr/projects/67ae22fb-f6ec-4c61-a707-7d4d28cba4b2",
"project_id": "67ae22fb-f6ec-4c61-a707-7d4d28cba4b2",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9hlt1889/projects/6f7c9f59-9706-452a-9ca9-ab6833b8128d",
"project_id": "6f7c9f59-9706-452a-9ca9-ab6833b8128d",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/d07650e7-0285-4be7-b820-af499454c87b/close' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/37f11940-60d6-4a49-824b-0c8fd8444e74/close' -d '{}'
POST /v2/projects/d07650e7-0285-4be7-b820-af499454c87b/close HTTP/1.1
POST /v2/projects/37f11940-60d6-4a49-824b-0c8fd8444e74/close HTTP/1.1
{}
@ -17,7 +17,7 @@ X-ROUTE: /v2/projects/{project_id}/close
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpyb706ffj/projects/d07650e7-0285-4be7-b820-af499454c87b",
"project_id": "d07650e7-0285-4be7-b820-af499454c87b",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp1d654z13/projects/37f11940-60d6-4a49-824b-0c8fd8444e74",
"project_id": "37f11940-60d6-4a49-824b-0c8fd8444e74",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/c8570f34-847a-4155-9387-d0091d45cbab/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/4e21c010-3db6-4f22-bb37-81dce4e5d7fd/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/c8570f34-847a-4155-9387-d0091d45cbab/drawings HTTP/1.1
POST /v2/projects/4e21c010-3db6-4f22-bb37-81dce4e5d7fd/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": "828b77b1-ab8b-4c2b-ae5e-65c89776885d",
"project_id": "c8570f34-847a-4155-9387-d0091d45cbab",
"drawing_id": "9c979443-867c-4169-98a2-50a55528d254",
"project_id": "4e21c010-3db6-4f22-bb37-81dce4e5d7fd",
"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,

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/d725bb97-c9e8-4fff-9ba8-2131dcf9a5c2/duplicate' -d '{"name": "hello"}'
curl -i -X POST 'http://localhost:3080/v2/projects/0f9ef2ca-ac08-475a-b41e-0e5fe21f75ea/duplicate' -d '{"name": "hello"}'
POST /v2/projects/d725bb97-c9e8-4fff-9ba8-2131dcf9a5c2/duplicate HTTP/1.1
POST /v2/projects/0f9ef2ca-ac08-475a-b41e-0e5fe21f75ea/duplicate HTTP/1.1
{
"name": "hello"
}
@ -19,7 +19,7 @@ X-ROUTE: /v2/projects/{project_id}/duplicate
"auto_start": false,
"filename": "hello.gns3",
"name": "hello",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvl8ealvy/projects/hello",
"project_id": "9817d197-924a-41c0-a61b-5ee8620bf959",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy0j7sw_o/projects/hello",
"project_id": "e47d8cbb-496e-429c-b3c6-be70ded013f1",
"status": "closed"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/e9c95008-ff25-4da1-9aac-6e31d88e258a/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "b7ae8bfc-d980-4be2-bc43-023561293d94", "port_number": 3}, {"adapter_number": 2, "node_id": "814eae63-4d8a-4c1a-84f4-09c6b50bedce", "port_number": 4}]}'
curl -i -X POST 'http://localhost:3080/v2/projects/ad130b0e-f215-4e9a-8139-4976617ef8b2/links' -d '{"nodes": [{"adapter_number": 0, "label": {"text": "Text", "x": 42, "y": 0}, "node_id": "2d755c11-aa1f-412d-b5e3-6cbaee998928", "port_number": 3}, {"adapter_number": 2, "node_id": "8c7e73c0-918e-4442-9cb8-41f5d847a92b", "port_number": 4}]}'
POST /v2/projects/e9c95008-ff25-4da1-9aac-6e31d88e258a/links HTTP/1.1
POST /v2/projects/ad130b0e-f215-4e9a-8139-4976617ef8b2/links HTTP/1.1
{
"nodes": [
{
@ -10,12 +10,12 @@ POST /v2/projects/e9c95008-ff25-4da1-9aac-6e31d88e258a/links HTTP/1.1
"x": 42,
"y": 0
},
"node_id": "b7ae8bfc-d980-4be2-bc43-023561293d94",
"node_id": "2d755c11-aa1f-412d-b5e3-6cbaee998928",
"port_number": 3
},
{
"adapter_number": 2,
"node_id": "814eae63-4d8a-4c1a-84f4-09c6b50bedce",
"node_id": "8c7e73c0-918e-4442-9cb8-41f5d847a92b",
"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": "e3f9f2b2-bb47-4f57-948d-d7c4e92c0ff1",
"link_id": "c3a00a39-4520-4663-8628-8bea7fdb5825",
"nodes": [
{
"adapter_number": 0,
@ -42,7 +42,7 @@ X-ROUTE: /v2/projects/{project_id}/links
"x": 42,
"y": 0
},
"node_id": "b7ae8bfc-d980-4be2-bc43-023561293d94",
"node_id": "2d755c11-aa1f-412d-b5e3-6cbaee998928",
"port_number": 3
},
{
@ -54,9 +54,9 @@ X-ROUTE: /v2/projects/{project_id}/links
"x": -10,
"y": -10
},
"node_id": "814eae63-4d8a-4c1a-84f4-09c6b50bedce",
"node_id": "8c7e73c0-918e-4442-9cb8-41f5d847a92b",
"port_number": 4
}
],
"project_id": "e9c95008-ff25-4da1-9aac-6e31d88e258a"
"project_id": "ad130b0e-f215-4e9a-8139-4976617ef8b2"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/bd78d4c9-3445-4b64-9aad-480aee3de75a/links/50761c87-17db-49f6-9942-4925435076ea/start_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/20b23fbe-93ef-42cf-bfe9-9723803a3b55/links/52262649-be7c-4d42-823b-8cb3e8796220/start_capture' -d '{}'
POST /v2/projects/bd78d4c9-3445-4b64-9aad-480aee3de75a/links/50761c87-17db-49f6-9942-4925435076ea/start_capture HTTP/1.1
POST /v2/projects/20b23fbe-93ef-42cf-bfe9-9723803a3b55/links/52262649-be7c-4d42-823b-8cb3e8796220/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": "50761c87-17db-49f6-9942-4925435076ea",
"link_id": "52262649-be7c-4d42-823b-8cb3e8796220",
"nodes": [],
"project_id": "bd78d4c9-3445-4b64-9aad-480aee3de75a"
"project_id": "20b23fbe-93ef-42cf-bfe9-9723803a3b55"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/3d164322-ce7d-4634-a441-2ca9b00f5448/links/6b2ba8df-40ee-42c7-a1b7-c58274472ad0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/a01cdd0b-e4fa-46de-be52-eae27ce65e72/links/15212c71-b25d-4afd-bde1-9de061eb3b32/stop_capture' -d '{}'
POST /v2/projects/3d164322-ce7d-4634-a441-2ca9b00f5448/links/6b2ba8df-40ee-42c7-a1b7-c58274472ad0/stop_capture HTTP/1.1
POST /v2/projects/a01cdd0b-e4fa-46de-be52-eae27ce65e72/links/15212c71-b25d-4afd-bde1-9de061eb3b32/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": "6b2ba8df-40ee-42c7-a1b7-c58274472ad0",
"link_id": "15212c71-b25d-4afd-bde1-9de061eb3b32",
"nodes": [],
"project_id": "3d164322-ce7d-4634-a441-2ca9b00f5448"
"project_id": "a01cdd0b-e4fa-46de-be52-eae27ce65e72"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/baaa8614-7da6-4ad7-8d7e-6857babef38d/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/64d2f5f1-04d0-49b4-962a-69240377ea49/nodes' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
POST /v2/projects/baaa8614-7da6-4ad7-8d7e-6857babef38d/nodes HTTP/1.1
POST /v2/projects/64d2f5f1-04d0-49b4-962a-69240377ea49/nodes HTTP/1.1
{
"compute_id": "example.com",
"name": "test",
@ -12,7 +12,7 @@ POST /v2/projects/baaa8614-7da6-4ad7-8d7e-6857babef38d/nodes HTTP/1.1
HTTP/1.1 201
CONTENT-LENGTH: 691
CONTENT-LENGTH: 1084
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -24,6 +24,7 @@ X-ROUTE: /v2/projects/{project_id}/nodes
"console": 2048,
"console_host": "example.org",
"console_type": null,
"first_port_name": null,
"height": 59,
"label": {
"rotation": 0,
@ -34,9 +35,23 @@ X-ROUTE: /v2/projects/{project_id}/nodes
},
"name": "test",
"node_directory": null,
"node_id": "f3f8f6b0-1e7a-469d-b5d8-bcb2c64b697c",
"node_id": "9815a844-baaa-4887-b827-e4da9224585e",
"node_type": "vpcs",
"project_id": "baaa8614-7da6-4ad7-8d7e-6857babef38d",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"ports": [
{
"adapter_number": 0,
"data_link_types": {
"Ethernet": "DLT_EN10MB"
},
"link_type": "ethernet",
"name": "Ethernet0",
"port_number": 0,
"short_name": "e0/0"
}
],
"project_id": "64d2f5f1-04d0-49b4-962a-69240377ea49",
"properties": {
"startup_script": "echo test"
},

View File

@ -1,11 +1,11 @@
curl -i -X POST 'http://localhost:3080/v2/projects/920c3e57-5790-4e17-abfc-1c7633815720/nodes/33c1bcbb-08cd-47a9-9805-a9346e99c072/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/ae1c517c-76aa-4234-8a25-e840987b6a72/nodes/d74d9e77-f6df-4e15-8ed6-e89eca04f305/reload' -d '{}'
POST /v2/projects/920c3e57-5790-4e17-abfc-1c7633815720/nodes/33c1bcbb-08cd-47a9-9805-a9346e99c072/reload HTTP/1.1
POST /v2/projects/ae1c517c-76aa-4234-8a25-e840987b6a72/nodes/d74d9e77-f6df-4e15-8ed6-e89eca04f305/reload HTTP/1.1
{}
HTTP/1.1 201
CONTENT-LENGTH: 648
CONTENT-LENGTH: 1041
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -17,6 +17,7 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}/reload
"console": null,
"console_host": "example.org",
"console_type": null,
"first_port_name": null,
"height": 59,
"label": {
"rotation": 0,
@ -27,9 +28,23 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}/reload
},
"name": "test",
"node_directory": null,
"node_id": "33c1bcbb-08cd-47a9-9805-a9346e99c072",
"node_id": "d74d9e77-f6df-4e15-8ed6-e89eca04f305",
"node_type": "vpcs",
"project_id": "920c3e57-5790-4e17-abfc-1c7633815720",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"ports": [
{
"adapter_number": 0,
"data_link_types": {
"Ethernet": "DLT_EN10MB"
},
"link_type": "ethernet",
"name": "Ethernet0",
"port_number": 0,
"short_name": "e0/0"
}
],
"project_id": "ae1c517c-76aa-4234-8a25-e840987b6a72",
"properties": {},
"status": "stopped",
"symbol": ":/symbols/computer.svg",

View File

@ -1,11 +1,11 @@
curl -i -X POST 'http://localhost:3080/v2/projects/80697b93-98df-4e77-9eff-b7f874e7741a/nodes/3f9c7d6f-9f92-47bb-975d-74d76372dbee/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/b68fbf77-7840-4ca0-b79b-d5980bb058ce/nodes/625b8093-cc66-45f7-a2ae-e516902ced0a/start' -d '{}'
POST /v2/projects/80697b93-98df-4e77-9eff-b7f874e7741a/nodes/3f9c7d6f-9f92-47bb-975d-74d76372dbee/start HTTP/1.1
POST /v2/projects/b68fbf77-7840-4ca0-b79b-d5980bb058ce/nodes/625b8093-cc66-45f7-a2ae-e516902ced0a/start HTTP/1.1
{}
HTTP/1.1 201
CONTENT-LENGTH: 648
CONTENT-LENGTH: 1041
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -17,6 +17,7 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}/start
"console": null,
"console_host": "example.org",
"console_type": null,
"first_port_name": null,
"height": 59,
"label": {
"rotation": 0,
@ -27,9 +28,23 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}/start
},
"name": "test",
"node_directory": null,
"node_id": "3f9c7d6f-9f92-47bb-975d-74d76372dbee",
"node_id": "625b8093-cc66-45f7-a2ae-e516902ced0a",
"node_type": "vpcs",
"project_id": "80697b93-98df-4e77-9eff-b7f874e7741a",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"ports": [
{
"adapter_number": 0,
"data_link_types": {
"Ethernet": "DLT_EN10MB"
},
"link_type": "ethernet",
"name": "Ethernet0",
"port_number": 0,
"short_name": "e0/0"
}
],
"project_id": "b68fbf77-7840-4ca0-b79b-d5980bb058ce",
"properties": {},
"status": "stopped",
"symbol": ":/symbols/computer.svg",

View File

@ -1,11 +1,11 @@
curl -i -X POST 'http://localhost:3080/v2/projects/0701a222-9143-4c4a-b2e2-50737979501d/nodes/8f73b099-b4dd-442f-aca0-b6e18f3cf4b2/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/34d0e133-95e7-47c9-87a0-f1838d99394d/nodes/08036f93-2e2a-4975-883a-15f2ff438bdc/stop' -d '{}'
POST /v2/projects/0701a222-9143-4c4a-b2e2-50737979501d/nodes/8f73b099-b4dd-442f-aca0-b6e18f3cf4b2/stop HTTP/1.1
POST /v2/projects/34d0e133-95e7-47c9-87a0-f1838d99394d/nodes/08036f93-2e2a-4975-883a-15f2ff438bdc/stop HTTP/1.1
{}
HTTP/1.1 201
CONTENT-LENGTH: 648
CONTENT-LENGTH: 1041
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -17,6 +17,7 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}/stop
"console": null,
"console_host": "example.org",
"console_type": null,
"first_port_name": null,
"height": 59,
"label": {
"rotation": 0,
@ -27,9 +28,23 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}/stop
},
"name": "test",
"node_directory": null,
"node_id": "8f73b099-b4dd-442f-aca0-b6e18f3cf4b2",
"node_id": "08036f93-2e2a-4975-883a-15f2ff438bdc",
"node_type": "vpcs",
"project_id": "0701a222-9143-4c4a-b2e2-50737979501d",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"ports": [
{
"adapter_number": 0,
"data_link_types": {
"Ethernet": "DLT_EN10MB"
},
"link_type": "ethernet",
"name": "Ethernet0",
"port_number": 0,
"short_name": "e0/0"
}
],
"project_id": "34d0e133-95e7-47c9-87a0-f1838d99394d",
"properties": {},
"status": "stopped",
"symbol": ":/symbols/computer.svg",

View File

@ -1,11 +1,11 @@
curl -i -X POST 'http://localhost:3080/v2/projects/9d844baf-a0b1-4351-82eb-a7eed82998b2/nodes/e505b27f-50ac-4e61-bbb3-55885b370b5a/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/55df4f36-8ded-401d-b545-ea33f11da494/nodes/e9caad3a-a9f1-4bd6-ade3-9bb1486135e9/suspend' -d '{}'
POST /v2/projects/9d844baf-a0b1-4351-82eb-a7eed82998b2/nodes/e505b27f-50ac-4e61-bbb3-55885b370b5a/suspend HTTP/1.1
POST /v2/projects/55df4f36-8ded-401d-b545-ea33f11da494/nodes/e9caad3a-a9f1-4bd6-ade3-9bb1486135e9/suspend HTTP/1.1
{}
HTTP/1.1 201
CONTENT-LENGTH: 648
CONTENT-LENGTH: 1041
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -17,6 +17,7 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}/suspend
"console": null,
"console_host": "example.org",
"console_type": null,
"first_port_name": null,
"height": 59,
"label": {
"rotation": 0,
@ -27,9 +28,23 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}/suspend
},
"name": "test",
"node_directory": null,
"node_id": "e505b27f-50ac-4e61-bbb3-55885b370b5a",
"node_id": "e9caad3a-a9f1-4bd6-ade3-9bb1486135e9",
"node_type": "vpcs",
"project_id": "9d844baf-a0b1-4351-82eb-a7eed82998b2",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"ports": [
{
"adapter_number": 0,
"data_link_types": {
"Ethernet": "DLT_EN10MB"
},
"link_type": "ethernet",
"name": "Ethernet0",
"port_number": 0,
"short_name": "e0/0"
}
],
"project_id": "55df4f36-8ded-401d-b545-ea33f11da494",
"properties": {},
"status": "stopped",
"symbol": ":/symbols/computer.svg",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/44ca89d3-0cdc-43b7-a36b-3a7f125a4599/nodes/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/73512f66-9175-4c94-9da4-c5c0c0a43a97/nodes/reload' -d '{}'
POST /v2/projects/44ca89d3-0cdc-43b7-a36b-3a7f125a4599/nodes/reload HTTP/1.1
POST /v2/projects/73512f66-9175-4c94-9da4-c5c0c0a43a97/nodes/reload HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/7ec630d0-34f9-4471-b40c-f38fdcaa0ee0/nodes/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/df731015-9498-46ad-a926-e12462692167/nodes/start' -d '{}'
POST /v2/projects/7ec630d0-34f9-4471-b40c-f38fdcaa0ee0/nodes/start HTTP/1.1
POST /v2/projects/df731015-9498-46ad-a926-e12462692167/nodes/start HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/641ee787-d4a0-4c0c-a849-bb19a7258061/nodes/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/c1eb365b-9696-40d1-9f24-14dfafeddcf8/nodes/stop' -d '{}'
POST /v2/projects/641ee787-d4a0-4c0c-a849-bb19a7258061/nodes/stop HTTP/1.1
POST /v2/projects/c1eb365b-9696-40d1-9f24-14dfafeddcf8/nodes/stop HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/2c4001ec-3273-4730-ac50-47d3740135d4/nodes/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/946b2808-bd76-471a-a37a-e50682e60e4a/nodes/suspend' -d '{}'
POST /v2/projects/2c4001ec-3273-4730-ac50-47d3740135d4/nodes/suspend HTTP/1.1
POST /v2/projects/946b2808-bd76-471a-a37a-e50682e60e4a/nodes/suspend HTTP/1.1
{}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/7e373b9a-3fd6-48e6-8b9a-0f390ec1d1aa/open' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/ae11fd75-0b87-4db0-b781-0122c5caf92e/open' -d '{}'
POST /v2/projects/7e373b9a-3fd6-48e6-8b9a-0f390ec1d1aa/open HTTP/1.1
POST /v2/projects/ae11fd75-0b87-4db0-b781-0122c5caf92e/open HTTP/1.1
{}
@ -17,7 +17,7 @@ X-ROUTE: /v2/projects/{project_id}/open
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4eptj2mn/projects/7e373b9a-3fd6-48e6-8b9a-0f390ec1d1aa",
"project_id": "7e373b9a-3fd6-48e6-8b9a-0f390ec1d1aa",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0sj55_d_/projects/ae11fd75-0b87-4db0-b781-0122c5caf92e",
"project_id": "ae11fd75-0b87-4db0-b781-0122c5caf92e",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/522bed66-ee06-4434-8be7-91081b782829/snapshots' -d '{"name": "snap1"}'
curl -i -X POST 'http://localhost:3080/v2/projects/0b36822c-56a4-4957-8ed2-effdaf42fbb8/snapshots' -d '{"name": "snap1"}'
POST /v2/projects/522bed66-ee06-4434-8be7-91081b782829/snapshots HTTP/1.1
POST /v2/projects/0b36822c-56a4-4957-8ed2-effdaf42fbb8/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": 1472479063,
"created_at": 1473859410,
"name": "snap1",
"project_id": "522bed66-ee06-4434-8be7-91081b782829",
"snapshot_id": "4e0de424-9aac-4697-b21b-2c8f7ba3021b"
"project_id": "0b36822c-56a4-4957-8ed2-effdaf42fbb8",
"snapshot_id": "411ff425-c0ad-4e0c-8411-8d43e4faa5aa"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/projects/92ce89c8-33ca-4c38-8c07-b0843a512ace/snapshots/788b3176-266a-4f5b-ac17-924907c57fa9/restore' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/projects/c587345b-5dbb-4a5d-bb8e-55fb01eb3cb0/snapshots/c3f5035d-bf37-4d1d-94c6-2ec676e90629/restore' -d '{}'
POST /v2/projects/92ce89c8-33ca-4c38-8c07-b0843a512ace/snapshots/788b3176-266a-4f5b-ac17-924907c57fa9/restore HTTP/1.1
POST /v2/projects/c587345b-5dbb-4a5d-bb8e-55fb01eb3cb0/snapshots/c3f5035d-bf37-4d1d-94c6-2ec676e90629/restore HTTP/1.1
{}
@ -17,7 +17,7 @@ X-ROUTE: /v2/projects/{project_id}/snapshots/{snapshot_id}/restore
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpnx2hb84i/projects/92ce89c8-33ca-4c38-8c07-b0843a512ace",
"project_id": "92ce89c8-33ca-4c38-8c07-b0843a512ace",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp8q441wzy/projects/c587345b-5dbb-4a5d-bb8e-55fb01eb3cb0",
"project_id": "c587345b-5dbb-4a5d-bb8e-55fb01eb3cb0",
"status": "opened"
}

View File

@ -19,7 +19,7 @@ X-ROUTE: /v2/projects/{project_id}
"auto_start": false,
"filename": "test.gns3",
"name": "test2",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpmuze6_r0/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpvagfqk1t/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
"status": "opened"
}

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/projects/1d3108a9-8f38-4bbf-9cfe-20a0b4d5e0c2/drawings/ad23dc90-7775-4537-b188-ab38c36ade9e' -d '{"x": 42}'
curl -i -X PUT 'http://localhost:3080/v2/projects/709aacbf-aa1f-4b1b-a538-17f8294e98d1/drawings/28f0a4e0-fd69-4dda-b066-8fe5e2a43847' -d '{"x": 42}'
PUT /v2/projects/1d3108a9-8f38-4bbf-9cfe-20a0b4d5e0c2/drawings/ad23dc90-7775-4537-b188-ab38c36ade9e HTTP/1.1
PUT /v2/projects/709aacbf-aa1f-4b1b-a538-17f8294e98d1/drawings/28f0a4e0-fd69-4dda-b066-8fe5e2a43847 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": "ad23dc90-7775-4537-b188-ab38c36ade9e",
"project_id": "1d3108a9-8f38-4bbf-9cfe-20a0b4d5e0c2",
"drawing_id": "28f0a4e0-fd69-4dda-b066-8fe5e2a43847",
"project_id": "709aacbf-aa1f-4b1b-a538-17f8294e98d1",
"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,

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/projects/f46ee563-845f-4835-89c4-b0d924c8e4e8/nodes/8c1ee491-aed2-48b0-8cc1-0e9e3081ab8f' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
curl -i -X PUT 'http://localhost:3080/v2/projects/46c9518a-9de2-43f7-91ed-55cb179fe562/nodes/fcc1c350-1079-4490-9597-f53bfed74dd1' -d '{"compute_id": "example.com", "name": "test", "node_type": "vpcs", "properties": {"startup_script": "echo test"}}'
PUT /v2/projects/f46ee563-845f-4835-89c4-b0d924c8e4e8/nodes/8c1ee491-aed2-48b0-8cc1-0e9e3081ab8f HTTP/1.1
PUT /v2/projects/46c9518a-9de2-43f7-91ed-55cb179fe562/nodes/fcc1c350-1079-4490-9597-f53bfed74dd1 HTTP/1.1
{
"compute_id": "example.com",
"name": "test",
@ -12,7 +12,7 @@ PUT /v2/projects/f46ee563-845f-4835-89c4-b0d924c8e4e8/nodes/8c1ee491-aed2-48b0-8
HTTP/1.1 200
CONTENT-LENGTH: 648
CONTENT-LENGTH: 1041
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.5 GNS3/2.0.0dev1
@ -24,6 +24,7 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}
"console": 2048,
"console_host": "example.org",
"console_type": null,
"first_port_name": null,
"height": 59,
"label": {
"rotation": 0,
@ -34,9 +35,23 @@ X-ROUTE: /v2/projects/{project_id}/nodes/{node_id}
},
"name": "test",
"node_directory": null,
"node_id": "8c1ee491-aed2-48b0-8cc1-0e9e3081ab8f",
"node_id": "fcc1c350-1079-4490-9597-f53bfed74dd1",
"node_type": "vpcs",
"project_id": "f46ee563-845f-4835-89c4-b0d924c8e4e8",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"ports": [
{
"adapter_number": 0,
"data_link_types": {
"Ethernet": "DLT_EN10MB"
},
"link_type": "ethernet",
"name": "Ethernet0",
"port_number": 0,
"short_name": "e0/0"
}
],
"project_id": "46c9518a-9de2-43f7-91ed-55cb179fe562",
"properties": {},
"status": "stopped",
"symbol": ":/symbols/computer.svg",

View File

@ -1,27 +1,15 @@
{
"capabilities": {
"node_types": [
"cloud",
"nat",
"ethernet_hub",
"ethernet_switch",
"vpcs",
"virtualbox",
"dynamips",
"frame_relay_switch",
"atm_switch",
"qemu",
"vmware"
],
"version": "2.0.0dev1"
"node_types": [],
"version": null
},
"compute_id": "local",
"connected": true,
"cpu_usage_percent": 14.3,
"compute_id": "my_compute_id",
"connected": false,
"cpu_usage_percent": null,
"host": "localhost",
"memory_usage_percent": 81.2,
"name": "atlantis",
"port": 3080,
"protocol": "http",
"user": null
"memory_usage_percent": null,
"name": "http://julien@localhost:84",
"port": 84,
"protocol": "https",
"user": "julien"
}

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