Update API documentation for appliance endpoints. Ref https://github.com/GNS3/gns3-gui/issues/2630

This commit is contained in:
grossmj committed 2018-11-20 13:04:27 +07:00
1 parent e5950674f8
commit ff5ba3742e
343 files changed
+12431 -11199

No files matched your search

@@ -0,0 +1,44 @@
{
"appliance_id": "a5ee20d1-1217-4c2f-93d8-eefc1fba7a92",
"appliance_type": "ethernet_hub",
"builtin": false,
"category": "switch",
"compute_id": "local",
"default_name_format": "Hub{0}",
"name": "Ethernet hub appliance",
"ports_mapping": [
{
"name": "Ethernet0",
"port_number": 0
},
{
"name": "Ethernet1",
"port_number": 1
},
{
"name": "Ethernet2",
"port_number": 2
},
{
"name": "Ethernet3",
"port_number": 3
},
{
"name": "Ethernet4",
"port_number": 4
},
{
"name": "Ethernet5",
"port_number": 5
},
{
"name": "Ethernet6",
"port_number": 6
},
{
"name": "Ethernet7",
"port_number": 7
}
],
"symbol": ":/symbols/hub.svg"
}
@@ -0,0 +1,13 @@
{
"appliance_id": "259b41b8-d70a-4882-8ba3-017ee11ecd99",
"appliance_type": "vpcs",
"base_script_file": "vpcs_base_config.txt",
"builtin": false,
"category": "guest",
"compute_id": "local",
"console_auto_start": false,
"console_type": "telnet",
"default_name_format": "PC{0}",
"name": "VPCS_TEST",
"symbol": ":/symbols/vpcs_guest.svg"
}
@@ -0,0 +1,13 @@
{
"appliance_id": "a96be97e-5ffe-4225-af8b-6347f858a2e5",
"appliance_type": "vpcs",
"base_script_file": "vpcs_base_config.txt",
"builtin": false,
"category": "guest",
"compute_id": "local",
"console_auto_start": false,
"console_type": "telnet",
"default_name_format": "PC{0}",
"name": "VPCS_TEST_RENAMED",
"symbol": ":/symbols/vpcs_guest.svg"
}
@@ -7,6 +7,7 @@
"connected": false,
"cpu_usage_percent": null,
"host": "localhost",
"last_error": null,
"memory_usage_percent": null,
"name": "http://julien@localhost:84",
"port": 84,
@@ -7,6 +7,7 @@
"connected": false,
"cpu_usage_percent": null,
"host": "localhost",
"last_error": null,
"memory_usage_percent": null,
"name": "http://julien@localhost:84",
"port": 84,
@@ -7,6 +7,7 @@
"connected": false,
"cpu_usage_percent": null,
"host": "localhost",
"last_error": null,
"memory_usage_percent": null,
"name": "http://julien@localhost:84",
"port": 84,
+2 -2
View File
@@ -1,6 +1,6 @@
{
"drawing_id": "7fa89480-cde4-4c94-ad52-927c47594540",
"project_id": "48d90a34-d353-42c2-85be-6e2a10f42be6",
"drawing_id": "06bde5d8-99a7-4ebf-a1e0-60e0602cdeed",
"project_id": "e4a1f1ad-189c-4445-8945-9cc9abaded88",
"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,
+2 -2
View File
@@ -1,6 +1,6 @@
{
"drawing_id": "53cd97b3-da8e-4eae-b985-e592abcae6b7",
"project_id": "4fcc569a-a6b1-4f27-9acd-a6082d7082e4",
"drawing_id": "ed1a39d3-0452-4589-aa6e-92b38f0865c6",
"project_id": "3993dfb6-2aa7-4511-8a40-51938283126a",
"rotation": 0,
"svg": "<svg></svg>",
"x": 0,
+2 -2
View File
@@ -1,6 +1,6 @@
{
"drawing_id": "b85daa17-415e-4418-ad9d-a4564fc2f803",
"project_id": "9b6bc37a-bf2c-488e-98cf-664fbc065f11",
"drawing_id": "ec49d9aa-6051-483f-bc51-034117cd7b54",
"project_id": "0686be16-2d32-4f77-a9c2-0d7c8062d023",
"rotation": 0,
"x": 42,
"y": 20,
+4 -4
View File
@@ -10,7 +10,7 @@
10
]
},
"link_id": "ac0d4a76-5120-4f5a-bfea-33fd674d8416",
"link_id": "43f9af37-d478-4727-8aef-c761aa24e680",
"link_type": "ethernet",
"nodes": [
{
@@ -22,7 +22,7 @@
"x": -10,
"y": -10
},
"node_id": "d1753166-6ea0-4f4e-878c-4bf1f754d87c",
"node_id": "35c89170-3bd9-44db-8287-95a653af80e4",
"port_number": 3
},
{
@@ -34,10 +34,10 @@
"x": -10,
"y": -10
},
"node_id": "5925fab7-04e2-4872-8100-c1bc4f285bb3",
"node_id": "655110f6-65e2-4d19-9962-182264b6d653",
"port_number": 4
}
],
"project_id": "849c8478-639a-493e-9528-6f4b6b496dff",
"project_id": "ea40035b-2c6b-4e64-ad82-fa07698c3840",
"suspend": false
}
+2 -2
View File
@@ -3,9 +3,9 @@
"capture_file_path": null,
"capturing": false,
"filters": {},
"link_id": "8cdcab06-40e7-41a0-b4b4-4d17b8b1ac7f",
"link_id": "9797461f-7f75-4515-b6dd-0f139e946b10",
"link_type": "ethernet",
"nodes": [],
"project_id": "52a0b14c-074d-433a-9e1d-0041a5dcca39",
"project_id": "adf14fe8-9385-4261-8e66-16de2783ecc7",
"suspend": false
}
+4 -4
View File
@@ -10,7 +10,7 @@
10
]
},
"link_id": "873cfd7c-e61a-41c8-ac60-1068f67d2832",
"link_id": "f3893bd7-489a-4d53-a070-fc5bc566ff9c",
"link_type": "ethernet",
"nodes": [
{
@@ -20,7 +20,7 @@
"x": 64,
"y": 0
},
"node_id": "cbd224a2-fc0e-4a41-9dae-6ddd1b8ce297",
"node_id": "89b7c700-a385-4011-a0be-a732672d8d9f",
"port_number": 3
},
{
@@ -32,10 +32,10 @@
"x": -10,
"y": -10
},
"node_id": "16dcbe64-5544-443b-bfed-798e6b89bd7d",
"node_id": "763411ab-6843-4908-a667-de022c261e1f",
"port_number": 4
}
],
"project_id": "c12478fd-66df-4eac-ace8-fcd9aeb15028",
"project_id": "b703f752-a954-4794-958a-8eac176ac316",
"suspend": false
}
+1 -1
View File
@@ -17,7 +17,7 @@
"y": -25
},
"name": "PC2",
"node_directory": "/tmp/pytest-of-grossmj/pytest-19/test_load_project0/project-files/vpcs/748bcd89-624a-40eb-a8d3-1d2e85c99b51",
"node_directory": "/tmp/pytest-of-grossmj/pytest-36/test_load_project0/project-files/vpcs/748bcd89-624a-40eb-a8d3-1d2e85c99b51",
"node_id": "748bcd89-624a-40eb-a8d3-1d2e85c99b51",
"node_type": "vpcs",
"port_name_format": "Ethernet{0}",
+2 -2
View File
@@ -5,8 +5,8 @@
"filename": "test.gns3",
"grid_size": 0,
"name": "test",
"path": "/tmp/tmp1r2zarnx/projects/8b5dfbc7-79eb-46f5-b2d5-387be884e502",
"project_id": "8b5dfbc7-79eb-46f5-b2d5-387be884e502",
"path": "/tmp/tmpt6b7x6sl/projects/b8b24edf-6743-4bbd-b071-6fcdae3fcb52",
"project_id": "b8b24edf-6743-4bbd-b071-6fcdae3fcb52",
"scene_height": 1000,
"scene_width": 2000,
"show_grid": false,
+1 -1
View File
@@ -5,7 +5,7 @@
"filename": "test.gns3",
"grid_size": 0,
"name": "test2",
"path": "/tmp/tmpyonz08qd/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
"path": "/tmp/tmp7cldkfwl/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
"scene_height": 1000,
"scene_width": 2000,
@@ -1,4 +0,0 @@
{
"modification_uuid": "b8acf218-c6e4-4a4f-992f-b57b286897d9",
"test": true
}
@@ -1,6 +1,6 @@
{
"created_at": 1534429407,
"created_at": 1542693676,
"name": "test",
"project_id": "830f8f79-cabe-4adc-8c27-46a33e2d4cd6",
"snapshot_id": "7a57596a-b511-418d-a6ec-2dddf16bfda0"
"project_id": "013b03b4-61a7-4d6f-9c89-720c7c2be558",
"snapshot_id": "128894a2-3948-440a-a3b4-e9f6a943599d"
}