grossmj
27da8458e8
Allow tests to be run by root. Fixes #1784
4 years ago
grossmj
9ab8599e1e
Fix other issues with tests.
4 years ago
grossmj
e4b7e46444
Fix tests for Windows
4 years ago
grossmj
1d4c3a164d
Use the ProactorEventLoop on Windows.
4 years ago
grossmj
d3ea67da24
Refactor tests
...
* Use pytest-aiohttp
* Use the async def / await syntax.
* Fix tests to run with Python 3.8
4 years ago
grossmj
45d135911f
Fix tests.
4 years ago
grossmj
3df348ac2a
Server statistics implementation
5 years ago
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.
5 years ago
grossmj
114da9764b
Fix tests.
5 years ago
grossmj
0a87ee573c
Accept a node name when creating a node from a template using the API. Fixes #1708
5 years ago
grossmj
992c60e3e0
Return HTTP status code 204 in API when project successfully closed. Fixes #1689
5 years ago
grossmj
c41c01b95f
Fix tests.
5 years ago
ziajka
9edbd27b4f
Serve WebUI via get_resource for freezed app
6 years ago
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
6 years ago
grossmj
826f6b2d57
Fix include images test.
6 years ago
grossmj
8cc8269842
Use aiozipstream for snapshots.
...
Fix tests.
6 years ago
grossmj
4487e578bc
Fix create a node from a template test.
6 years ago
grossmj
8360ae98b1
Move appliance and template management code in their own classes.
6 years ago
grossmj
d7c2e16c21
Use "template" to name what we use to create new nodes.
6 years ago
grossmj
17d070dca7
Early support for symbol themes.
6 years ago
grossmj
4e2b8bfe7c
Add more information about appliances to the API documentation.
6 years ago
grossmj
3727487730
Fix test on Windows.
6 years ago
grossmj
3497deaa31
Allow virtual machines to use files in project directory as disk images.
6 years ago
grossmj
bd657c0167
Support to duplicate an appliance.
6 years ago
grossmj
a33b8eac3a
Support "L1 keepalives" in IOU appliance schema.
6 years ago
grossmj
74e1463015
Fix bug with custom adapters and categories for Docker VM. Fixes https://github.com/GNS3/gns3-gui/issues/2613
6 years ago
grossmj
aa4593c993
Handle custom adapters in schemas.
6 years ago
grossmj
499ab9844a
Reorganize how appliance creation is validated against JSON schemas.
...
This allows for clearer error messages when validation fails.
6 years ago
grossmj
71fcf855b4
Add tests for all appliance types.
6 years ago
grossmj
1184f29b90
Add appliance API tests. Ref #1427 .
6 years ago
grossmj
98f04365b7
Remove generic controller settings API endpoint.
6 years ago
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.
6 years ago
grossmj
ab8dc52ece
Fix tests to work with new version of aiohttp (>= 3.0)
6 years ago
grossmj
76af98404a
Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
6 years ago
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
6 years ago
grossmj
a3d1e865a8
Replace asyncio.async() by asyncio.ensure_future() in tests. Ref #2566 .
6 years ago
grossmj
089d25c79d
Forbid controller and compute servers to be different versions.
...
Report last compute server error to clients and display in the server summary.
6 years ago
grossmj
651d8280a7
Fix appliance template tests.
6 years ago
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.)
6 years ago
grossmj
033f005bde
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/docker/docker_vm.py
# gns3server/version.py
6 years ago
ziajka
41026c74c1
Use mocked dir for web-ui redirection test
6 years ago
ziajka
7d75b6248d
Use mocked dir of web-ui for tests
6 years ago
ziajka
0e1f2e26d0
Serve WebUI handlers and update-bundled-web-ui script, Ref: #1362
6 years ago
ziajka
867e997b74
Support /static/ files serving, Ref: #1362
6 years ago
grossmj
0f496907a0
Fix API status code for start/stop/suspend/reload a node. Fixes #1353 .
...
Fix issues with test.
Update documentation.
6 years ago
ziajka
ac73c72727
Don't send variables to computes where are empty, Ref: #1340
6 years ago
grossmj
d1ccf3bc84
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/version.py
# requirements.txt
6 years ago
ziajka
7b3d5ae5e3
Create/update project on compute when variables changes
6 years ago
ziajka
f2700ed445
Support of supplier and variables in topology
6 years ago
ziajka
132c7c8f5b
Fix tests
6 years ago