mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Fix API status code for start/stop/suspend/reload a node. Fixes #1353.
Fix issues with test. Update documentation.
This commit is contained in:
1 parent
f3b4cc0160
commit
0f496907a0
354 files changed
+9950
-10181
No files matched your search
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"drawing_id": "79ef03df-38b4-4dca-b0e0-651cd383a064",
|
||||
"project_id": "187a7fd8-fb64-4d47-8fe3-bcae84dfacd6",
|
||||
"drawing_id": "510703c2-6ba8-47d5-bcbf-20a3fe6790af",
|
||||
"project_id": "972df51a-85cc-4762-bb3f-f03bd52d7b2c",
|
||||
"rotation": 0,
|
||||
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
|
||||
"x": 10,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"drawing_id": "8f6238f9-93f9-49ea-acb8-46a75e77c019",
|
||||
"project_id": "80765c72-3173-4881-a32b-a77e9bf725d9",
|
||||
"drawing_id": "7447cc2c-18fb-4db7-87a7-11b81ebd036d",
|
||||
"project_id": "74c2978e-03fe-4873-ac04-433fb93cb2b0",
|
||||
"rotation": 0,
|
||||
"svg": "<svg></svg>",
|
||||
"x": 0,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"drawing_id": "3ba31d48-aa9b-4212-91a1-30493681ba78",
|
||||
"project_id": "0d4871e9-2a2e-41cc-9979-f2eb74f10ead",
|
||||
"drawing_id": "5f9c48be-d144-4666-a66f-5bc6d93e2f32",
|
||||
"project_id": "600de23c-5af1-44a1-8c67-3023ceb6e6c7",
|
||||
"rotation": 0,
|
||||
"x": 42,
|
||||
"y": 20,
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
10
|
||||
]
|
||||
},
|
||||
"link_id": "b0c7889a-5cf0-439a-a6b0-1fdf2fd1858a",
|
||||
"link_id": "c0c00ce2-d6b4-407e-b125-1723c3a8af93",
|
||||
"link_type": "ethernet",
|
||||
"nodes": [
|
||||
{
|
||||
@@ -22,7 +22,7 @@
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "855bcbdc-2af5-4625-898e-2c647ed580dd",
|
||||
"node_id": "5fd46ee8-414c-44c0-8bb9-c0e710d8513c",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
@@ -34,10 +34,10 @@
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "0098bb1e-c7a2-40c8-8c29-f323a7872fbd",
|
||||
"node_id": "22582b05-a01c-4010-9428-34c8c3b9dce0",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "d8f1da27-a533-4aab-95bb-117aaccb48c7",
|
||||
"project_id": "7ab38231-b22e-4fd0-aee1-cb41c268c55f",
|
||||
"suspend": false
|
||||
}
|
||||
@@ -3,9 +3,9 @@
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"filters": {},
|
||||
"link_id": "3edd3d96-8054-4ef4-995f-6cdb93dbbabf",
|
||||
"link_id": "10456b36-5917-4992-a1c0-d2e07a56f2a2",
|
||||
"link_type": "ethernet",
|
||||
"nodes": [],
|
||||
"project_id": "c03a601b-94f5-42b1-a5c9-52ffce68dfe6",
|
||||
"project_id": "e2cf6437-055d-49f0-bcc6-5026d5a795d6",
|
||||
"suspend": false
|
||||
}
|
||||
@@ -10,7 +10,7 @@
|
||||
10
|
||||
]
|
||||
},
|
||||
"link_id": "b3bb9cf1-9947-48aa-9a81-4531bf575943",
|
||||
"link_id": "8382d2ec-103b-4255-8073-d6754b2f72fc",
|
||||
"link_type": "ethernet",
|
||||
"nodes": [
|
||||
{
|
||||
@@ -20,7 +20,7 @@
|
||||
"x": 64,
|
||||
"y": 0
|
||||
},
|
||||
"node_id": "a093ca63-8a69-4ee5-bf36-fb9ea1e586d4",
|
||||
"node_id": "52e2c403-926e-470e-b27c-ae29c659ad72",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
@@ -32,10 +32,10 @@
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "dfda5907-1939-4dbb-a36f-660ef2c9e2cb",
|
||||
"node_id": "7c514eac-e305-4fe3-b9d4-35db2558c172",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "42d57b87-6ba4-4693-95c5-815064a1e587",
|
||||
"project_id": "3f20f6cd-0674-41da-9ed9-36fbf90b87d5",
|
||||
"suspend": false
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"command_line": "",
|
||||
"compute_id": "local",
|
||||
"console": 5004,
|
||||
"console": 5006,
|
||||
"console_host": "127.0.0.1",
|
||||
"console_type": "telnet",
|
||||
"first_port_name": null,
|
||||
@@ -9,13 +9,13 @@
|
||||
"label": {
|
||||
"rotation": 0,
|
||||
"style": "font-family: TypeWriter;font-size: 10;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
|
||||
"text": "PC1",
|
||||
"text": "PC2",
|
||||
"x": 18,
|
||||
"y": -25
|
||||
},
|
||||
"name": "PC1",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_load_project0/project-files/vpcs/64ba8408-afbf-4b66-9cdd-1fd854427478",
|
||||
"node_id": "64ba8408-afbf-4b66-9cdd-1fd854427478",
|
||||
"name": "PC2",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-23/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}",
|
||||
"port_segment_size": 0,
|
||||
@@ -36,7 +36,7 @@
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
"width": 65,
|
||||
"x": -300,
|
||||
"y": -118,
|
||||
"x": -71,
|
||||
"y": -98,
|
||||
"z": 1
|
||||
}
|
||||
@@ -5,8 +5,8 @@
|
||||
"filename": "test.gns3",
|
||||
"grid_size": 0,
|
||||
"name": "test",
|
||||
"path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpt3_89lcp/projects/fb65405c-5698-4712-8a79-68c79991e05c",
|
||||
"project_id": "fb65405c-5698-4712-8a79-68c79991e05c",
|
||||
"path": "/tmp/tmpirgd0q7l/projects/2010428c-85a1-4416-b018-69ae822e297b",
|
||||
"project_id": "2010428c-85a1-4416-b018-69ae822e297b",
|
||||
"scene_height": 1000,
|
||||
"scene_width": 2000,
|
||||
"show_grid": false,
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"filename": "test.gns3",
|
||||
"grid_size": 0,
|
||||
"name": "test2",
|
||||
"path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp3hcl29s3/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"path": "/tmp/tmpos2k9l46/projects/10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"scene_height": 1000,
|
||||
"scene_width": 2000,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"modification_uuid": "b3ac5dbb-d2fc-44d7-90bd-3984a63d608f",
|
||||
"modification_uuid": "c8a68ba6-b99c-491d-b12b-9ff4089f04ac",
|
||||
"test": true
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"created_at": 1528359251,
|
||||
"created_at": 1528965318,
|
||||
"name": "test",
|
||||
"project_id": "3f0c9493-a58a-408c-b208-29564c167363",
|
||||
"snapshot_id": "6dbef23f-8029-43f8-b957-11512db51b1d"
|
||||
"project_id": "03938ba6-bad8-4cf9-825c-b3570b7a1318",
|
||||
"snapshot_id": "f62f4654-9547-4611-a065-e48143372958"
|
||||
}
|
||||
Reference in new issue
Block a user