Update api documentations

This commit is contained in:
Julien Duponchelle
2016-10-20 10:54:07 +02:00
parent dc363bbd38
commit 69fcf801c3
198 changed files with 1263 additions and 1248 deletions

View File

@ -1,26 +1,15 @@
{
"capabilities": {
"node_types": [
"cloud",
"ethernet_hub",
"ethernet_switch",
"vpcs",
"virtualbox",
"dynamips",
"frame_relay_switch",
"atm_switch",
"qemu",
"vmware"
],
"version": "2.0.0dev1"
"node_types": [],
"version": null
},
"compute_id": "72c86a69-66eb-4d45-bb3f-c0d8def749ec",
"connected": true,
"cpu_usage_percent": 17.5,
"host": "127.0.0.1",
"memory_usage_percent": 76.5,
"name": "http://127.0.0.1:3080",
"port": 3080,
"protocol": "http",
"user": null
"compute_id": "my_compute_id",
"connected": false,
"cpu_usage_percent": null,
"host": "localhost",
"memory_usage_percent": null,
"name": "http://julien@localhost:84",
"port": 84,
"protocol": "https",
"user": "julien"
}

View File

@ -1,6 +1,6 @@
{
"drawing_id": "b2654fa7-f511-4dcb-986e-491ec84b42d8",
"project_id": "93b786be-fd9d-4fbf-b9a1-c53ebd52e3b1",
"drawing_id": "2f566962-18b6-420d-82c6-d68613957183",
"project_id": "14d34aa3-2c4d-4737-b9b1-b9976a1c70f1",
"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 @@
{
"drawing_id": "de040a53-4865-4894-a5ab-d49bd99520cd",
"project_id": "9dc27fe7-73a9-4dbe-94ee-f87bd8d0470b",
"drawing_id": "a1b54140-aef4-48e4-9170-b746df992632",
"project_id": "5506c6ec-6ad5-48d1-9f8a-64ffd935124c",
"rotation": 0,
"svg": "<svg></svg>",
"x": 0,

View File

@ -1,6 +1,6 @@
{
"drawing_id": "e692ae9b-b88c-436c-a8de-3b3df798ba11",
"project_id": "f082d1bf-5b85-49a7-bce7-b6194f04f52e",
"drawing_id": "7ebde298-be58-4514-a57d-fcb869952300",
"project_id": "3864d505-03dd-4c38-b59f-2af231f002d0",
"rotation": 0,
"x": 42,
"y": 20,

View File

@ -2,7 +2,7 @@
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "ca268d39-d533-4182-87da-16ef58fbf230",
"link_id": "d9db6a61-ae1a-4f7d-991a-73c46f62dfab",
"link_type": "ethernet",
"nodes": [
{
@ -14,7 +14,7 @@
"x": -10,
"y": -10
},
"node_id": "c824d9de-a001-47e4-bbce-9fee0533c10c",
"node_id": "fc041a38-4796-420d-bbe1-60c675aff332",
"port_number": 3
},
{
@ -26,9 +26,9 @@
"x": -10,
"y": -10
},
"node_id": "1a1944d6-405f-44cc-9c97-40c753b213f2",
"node_id": "cbeaeb2c-4bbf-42e5-a86f-e358040d7a5e",
"port_number": 4
}
],
"project_id": "2295ee85-fc8b-4fa2-878c-914ff651c4a8"
"project_id": "69ab73a7-a498-49b2-968b-bc406897a545"
}

View File

@ -2,8 +2,8 @@
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "a9cee8bd-b589-4228-a7dd-4e510885d74a",
"link_id": "e89eed96-a7f7-494c-b96c-21dc769ecc16",
"link_type": "ethernet",
"nodes": [],
"project_id": "38865d4b-a234-4c29-a55e-62a39f27659e"
"project_id": "9e65c1ba-14af-48e3-874e-763be80af860"
}

View File

@ -2,7 +2,7 @@
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "7e50ee4f-eb62-4a0d-9c61-4e3c8a0c5e4a",
"link_id": "c63ed551-8205-47f6-b73a-df0a9b01e547",
"link_type": "ethernet",
"nodes": [
{
@ -12,7 +12,7 @@
"x": 64,
"y": 0
},
"node_id": "12111336-9763-45f1-adae-43ca7fc32c26",
"node_id": "c3544357-5e5f-42c1-9d68-fe2bfbf5be95",
"port_number": 3
},
{
@ -24,9 +24,9 @@
"x": -10,
"y": -10
},
"node_id": "4a1e56d8-64bf-4686-a2a0-ffd67302f892",
"node_id": "01a160d0-a17c-4e39-b9aa-4b06be676b22",
"port_number": 4
}
],
"project_id": "d90e1de9-a63c-4ba0-b0b5-b5b1a20160b8"
"project_id": "f060eb2c-fbfe-4f9f-b2f1-f3d78eedafe4"
}

View File

@ -15,7 +15,7 @@
},
"name": "test",
"node_directory": null,
"node_id": "bc298eb5-15d6-480d-8a81-326841bec062",
"node_id": "ec5a58db-4d16-404d-8187-6fd42837b1ed",
"node_type": "vpcs",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
@ -31,7 +31,7 @@
"short_name": "e0/0"
}
],
"project_id": "a27cbb34-9e4e-458e-9404-a8956edab9e0",
"project_id": "784f3991-a161-4251-a6fd-c48f98535ef5",
"properties": {},
"status": "stopped",
"symbol": ":/symbols/computer.svg",

View File

@ -1,7 +1,7 @@
{
"command_line": "",
"compute_id": "local",
"console": 5989,
"console": 5990,
"console_host": "localhost",
"console_type": "telnet",
"first_port_name": null,
@ -14,7 +14,7 @@
"y": -25
},
"name": "PC1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_open0/project-files/vpcs/64ba8408-afbf-4b66-9cdd-1fd854427478",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_open0/project-files/vpcs/64ba8408-afbf-4b66-9cdd-1fd854427478",
"node_id": "64ba8408-afbf-4b66-9cdd-1fd854427478",
"node_type": "vpcs",
"port_name_format": "Ethernet{0}",

View File

@ -4,8 +4,8 @@
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpwk4zxief/projects/a2547cb9-0934-417a-ae0a-666f1455bd86",
"project_id": "a2547cb9-0934-417a-ae0a-666f1455bd86",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpejunl5mx/projects/289eee05-0827-494e-9786-61ddd8b81c92",
"project_id": "289eee05-0827-494e-9786-61ddd8b81c92",
"scene_height": 1000,
"scene_width": 2000,
"status": "closed"

View File

@ -4,7 +4,7 @@
"auto_start": false,
"filename": "test.gns3",
"name": "test2",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp7gqkwxlc/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpgj6rsvqy/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
"scene_height": 1000,
"scene_width": 2000,

View File

@ -1,6 +1,6 @@
{
"created_at": 1474970484,
"created_at": 1476953578,
"name": "test",
"project_id": "4aa63ac6-3e11-40b5-9b28-6f59cf06294d",
"snapshot_id": "2c4289f1-2239-4c5a-a84e-1536c71b320a"
"project_id": "fb5f23cf-a91c-4438-8bf0-07c3f67c8a98",
"snapshot_id": "a18f5d5e-d29e-4760-bd8c-39d452625107"
}