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
f2ddef855f
Fix tests.
...
(cherry picked from commit 620d93634e
)
2020-08-15 16:35:31 +09:30
grossmj
e014d36ad2
Skip tests not working on Windows.
2020-10-06 17:40:36 +10: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
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
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
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
grossmj
d1ccf3bc84
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/version.py
# requirements.txt
2018-06-04 22:46:52 +07:00
ziajka
f2700ed445
Support of supplier and variables in topology
2018-05-08 10:07:42 +02:00
ziajka
e267f8a8b8
Project global variables
2018-05-04 14:34:44 +02:00
ziajka
d9a0ec9ff3
Replace asyncio.async with ensure_future because of deprecation, Fixes : #1269
2018-01-24 11:11:53 +01:00
grossmj
2e40fb8608
Fix client/server version test.
2018-01-18 16:04:31 +08:00
Bernhard Ehlers
8907b3d58a
GNS3-API: implement GET for specific drawing and link
...
Fixes #1249
2018-01-05 13:44:46 +01:00
grossmj
851fcf5c71
Fix compute auto idlepc test.
2017-11-23 23:28:52 +07:00
ziajka
b654d78ea6
Endpoint for obtaining direct action on compute
2017-10-13 11:03:56 +02:00
Dominik Ziajka
be35ad6874
Fixes path normalization during file upload on nodes ( Fixes : #2276 )
2017-10-03 18:13:19 +02:00
Julien Duponchelle
92c9e48f18
This fix the images always included in portable project
...
Also add test to avoid regressions on this.
Fix https://github.com/GNS3/gns3-gui/issues/2165
2017-07-26 16:46:29 +02:00
Julien Duponchelle
0854c04687
API for duplication a Node
...
Support:
* VPCS
* Dynamips router
* Ethernet switch
Ref #1065
2017-07-24 10:08:22 +02:00
Julien Duponchelle
5fd842e54d
Suspend link
2017-07-19 17:30:25 +02:00
Julien Duponchelle
bce9c61e41
Cleanup unused code in test_link
2017-07-19 16:02:14 +02:00
Julien Duponchelle
fd0770158c
Fix tests with Yarl 0.11
2017-07-12 09:34:40 +02:00