grossmj
2789b3802a
Fix issues when generating docs
2024-01-12 16:14:01 +11:00
grossmj
34ee75e1f1
Fix tests running on Python 3.12
2023-10-23 16:12:12 +10:00
grossmj
21dc2a8dbc
Fix tests
2023-06-02 20:25:33 +09:30
grossmj
5a3b502024
Fix NIO update UDP test
2023-01-10 11:39:18 +08:00
grossmj
997e0ad6ee
Fix more tests
2023-01-10 11:22:12 +08:00
grossmj
9ff302592c
Upgrade to aiohttp 3.8.3
2022-10-12 21:40:23 +08:00
grossmj
bdd703a0dc
Support to reset all console connections. Ref https://github.com/GNS3/gns3-server/issues/1619
2022-06-15 15:30:44 +02:00
grossmj
9a6978902d
Fix tests.
2021-05-15 19:43:36 +09:30
grossmj
87a26d5da0
Fix tests and comment problematic ones that rely on AsyncioMagicMock
2021-04-09 11:57:29 +09:30
grossmj
f2ddef855f
Fix tests.
...
(cherry picked from commit 620d93634e
)
2020-08-15 16:35:31 +09:30
grossmj
9d3f7c79a2
Fix more tests
...
(cherry picked from commit 546982d1ea
)
2020-08-13 17:18:45 +09:30
grossmj
e014d36ad2
Skip tests not working on Windows.
2020-10-06 17:40:36 +10:30
grossmj
27da8458e8
Allow tests to be run by root. Fixes #1784
2020-06-29 18:43:35 +09:30
grossmj
e4b7e46444
Fix tests for Windows
2020-06-16 01:57:16 -07:00
grossmj
d3ea67da24
Refactor tests
...
* Use pytest-aiohttp
* Use the async def / await syntax.
* Fix tests to run with Python 3.8
2020-06-16 13:59:03 +09:30
grossmj
3df348ac2a
Server statistics implementation
2020-03-10 17:48:03 +10:30
grossmj
c5412bf970
Allocate application IDs for IOU nodes on the controller.
...
An application ID is used by IOU to generate its interface Mac addresses. They must be unique across all opened projects sharing the same computes to avoid Mac address collisions.
2020-02-10 15:20:49 +08:00
grossmj
114da9764b
Fix tests.
2020-01-08 08:59:55 +08:00
grossmj
0a87ee573c
Accept a node name when creating a node from a template using the API. Fixes #1708
2020-01-08 08:19:33 +08:00
grossmj
992c60e3e0
Return HTTP status code 204 in API when project successfully closed. Fixes #1689
2019-11-11 15:32:57 +08:00
grossmj
c41c01b95f
Fix tests.
2019-05-18 19:19:27 +07:00
grossmj
bae3fb84b9
Download custom appliance symbols from GitHub
...
Fix symbol cache issue. Ref https://github.com/GNS3/gns3-gui/issues/2671
Fix temporary directory for symbols was not deleted
Fix temporary appliance file was not deleted
2019-03-11 16:55:16 +07:00
grossmj
826f6b2d57
Fix include images test.
2019-03-07 17:17:07 +07:00
grossmj
8cc8269842
Use aiozipstream for snapshots.
...
Fix tests.
2019-02-28 17:25:05 +07:00
grossmj
4487e578bc
Fix create a node from a template test.
2019-02-22 18:44:12 +07:00
grossmj
8360ae98b1
Move appliance and template management code in their own classes.
2019-01-14 16:09:06 +07:00
grossmj
d7c2e16c21
Use "template" to name what we use to create new nodes.
2018-11-28 16:12:58 +07:00
grossmj
17d070dca7
Early support for symbol themes.
2018-11-23 17:27:10 +07:00
grossmj
4e2b8bfe7c
Add more information about appliances to the API documentation.
2018-11-20 16:21:33 +07:00
grossmj
3727487730
Fix test on Windows.
2018-11-19 16:09:39 +07:00
grossmj
3497deaa31
Allow virtual machines to use files in project directory as disk images.
2018-11-19 15:53:43 +07:00
grossmj
bd657c0167
Support to duplicate an appliance.
2018-11-18 17:05:16 +07:00
grossmj
a33b8eac3a
Support "L1 keepalives" in IOU appliance schema.
2018-11-18 16:04:08 +07:00
grossmj
74e1463015
Fix bug with custom adapters and categories for Docker VM. Fixes https://github.com/GNS3/gns3-gui/issues/2613
2018-11-17 21:50:00 +07:00
grossmj
aa4593c993
Handle custom adapters in schemas.
2018-11-17 20:09:34 +07:00
grossmj
499ab9844a
Reorganize how appliance creation is validated against JSON schemas.
...
This allows for clearer error messages when validation fails.
2018-11-17 18:12:46 +07:00
grossmj
71fcf855b4
Add tests for all appliance types.
2018-11-17 15:37:20 +07:00
grossmj
1184f29b90
Add appliance API tests. Ref #1427 .
2018-11-15 21:34:36 +07:00
grossmj
98f04365b7
Remove generic controller settings API endpoint.
2018-11-14 16:24:30 +08:00
grossmj
2764828f38
Refactor how clients access PCAP capture files. Fixes https://github.com/GNS3/gns3-gui/issues/2438 .
...
* The PCAP file is directly accessed if controller and client are on the same host.
* The PCAP file is streamed from the compute server to the client with the controller as a proxy when the controller is remote for the client.
2018-10-27 14:47:17 +07:00
grossmj
ab8dc52ece
Fix tests to work with new version of aiohttp (>= 3.0)
2018-10-17 17:32:10 +07:00
grossmj
76af98404a
Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
2018-10-15 17:05:49 +07:00
grossmj
33e8710495
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/docker/docker_vm.py
# gns3server/controller/compute.py
# gns3server/controller/gns3vm/__init__.py
# gns3server/controller/link.py
# gns3server/controller/project.py
# gns3server/handlers/api/controller/project_handler.py
# gns3server/handlers/api/controller/server_handler.py
# gns3server/utils/asyncio/__init__.py
# gns3server/utils/asyncio/telnet_server.py
# gns3server/version.py
# gns3server/web/web_server.py
# tests/compute/qemu/test_qemu_vm.py
2018-08-29 15:57:54 +07:00
grossmj
a3d1e865a8
Replace asyncio.async() by asyncio.ensure_future() in tests. Ref #2566 .
2018-08-24 18:52:15 +07:00
grossmj
089d25c79d
Forbid controller and compute servers to be different versions.
...
Report last compute server error to clients and display in the server summary.
2018-08-22 16:54:43 +07:00
grossmj
651d8280a7
Fix appliance template tests.
2018-08-19 19:35:45 +07:00
grossmj
7f72b90b0e
The server has now 2 notification streams
...
* A new one for controller related events (compute, appliance templates etc.)
* The existing one for project related events (links, nodes etc.)
2018-08-16 21:31:57 +07:00
grossmj
033f005bde
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/docker/docker_vm.py
# gns3server/version.py
2018-08-07 21:06:42 +07:00
grossmj
0f496907a0
Fix API status code for start/stop/suspend/reload a node. Fixes #1353 .
...
Fix issues with test.
Update documentation.
2018-06-14 16:39:32 +08:00
ziajka
ac73c72727
Don't send variables to computes where are empty, Ref: #1340
2018-06-13 18:55:47 +02:00