grossmj
c5c95979c2
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/base_node.py
# gns3server/compute/qemu/qemu_vm.py
# gns3server/compute/qemu/utils/qcow2.py
# gns3server/handlers/api/compute/qemu_handler.py
# gns3server/handlers/api/controller/server_handler.py
# gns3server/version.py
2021-08-10 15:38:49 +09:30
grossmj
4646ce684f
Handle -no-kvm param deprecated in Qemu >= v5.2
2021-07-27 16:34:51 +09:30
grossmj
229a04e2fa
Fix link style merge
2021-06-12 15:26:35 +09:30
grossmj
6ec028ea4e
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/builtin/nodes/cloud.py
# gns3server/compute/vmware/vmware_vm.py
# gns3server/controller/link.py
# gns3server/controller/snapshot.py
# gns3server/handlers/api/compute/dynamips_vm_handler.py
# gns3server/handlers/api/compute/iou_handler.py
# gns3server/handlers/api/compute/qemu_handler.py
# gns3server/handlers/api/controller/link_handler.py
# gns3server/schemas/link.py
# gns3server/utils/path.py
# gns3server/version.py
# requirements.txt
2021-06-12 14:36:32 +09:30
grossmj
6847e19847
Change method to prevent forbidden directory traversal. Fixes #1894
2021-05-16 14:44:38 +09:30
grossmj
f3d81fa450
Clean files and catch file path escape. Ref #1894
2021-05-15 22:35:44 +09:30
grossmj
09ac7fd7fb
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/base_manager.py
# gns3server/handlers/api/compute/dynamips_vm_handler.py
# gns3server/handlers/api/compute/iou_handler.py
# gns3server/handlers/api/compute/project_handler.py
# gns3server/handlers/api/compute/qemu_handler.py
# gns3server/handlers/api/controller/node_handler.py
# gns3server/handlers/api/controller/project_handler.py
# gns3server/handlers/index_handler.py
# tests/handlers/api/compute/test_project.py
# tests/handlers/api/compute/test_qemu.py
# tests/handlers/api/controller/test_node.py
# tests/handlers/api/controller/test_project.py
2021-05-15 20:46:34 +09:30
grossmj
6294ad9e76
Prevent directory traversal
2021-05-15 17:35:32 +09:30
grossmj
9c850e0f2b
Move schemas between compute and controller subpackages
2021-04-15 18:12:08 +09:30
grossmj
802959f9ab
Merge branch 'master' into 3.0
...
# Conflicts:
# dev-requirements.txt
# gns3server/controller/__init__.py
# gns3server/controller/appliance_manager.py
# gns3server/controller/compute.py
# gns3server/controller/topology.py
# gns3server/handlers/api/compute/ethernet_switch_handler.py
# gns3server/handlers/api/controller/link_handler.py
# gns3server/handlers/api/controller/symbol_handler.py
# gns3server/version.py
# requirements.txt
# tests/controller/test_export_project.py
# tests/handlers/api/compute/test_qemu.py
# tests/web/test_response.py
# win-requirements.txt
2021-04-10 12:46:40 +09:30
grossmj
8cce0eedee
Fix console type error when creating Ethernet switch node. Fixes #1873
2021-03-01 13:55:52 +10:30
grossmj
3185ebaa3d
Publish API documentation generated by FastAPI.
2020-10-23 18:01:58 +10:30
grossmj
0746949207
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/qemu/qemu_vm.py
# gns3server/handlers/api/compute/qemu_handler.py
# gns3server/handlers/api/controller/symbol_handler.py
# gns3server/version.py
# tests/compute/qemu/test_qemu_vm.py
# tests/endpoints/compute/test_qemu_nodes.py
# tests/endpoints/controller/test_nodes.py
2020-10-12 18:04:49 +10:30
grossmj
c248764efb
Fixes update() missing 2 required positional arguments: 'name' and 'value'. Fixes #1821 #1825
2020-10-06 17:08:51 +10:30
grossmj
eb3cb8a41f
Migration to FastAPI
2020-10-02 16:07:50 +09:30
grossmj
992cd7fc6c
Implement full restart if user reload a Qemu VM which has been updated. Fixes https://github.com/GNS3/gns3-gui/issues/3038
2020-09-12 23:07:39 +09:30
grossmj
7043d48f1a
Auxiliary console support for Qemu. Ref #2873
...
Improvements for auxiliary console support for Docker and Dynamips.
2020-07-29 16:23:51 +09:30
grossmj
831ee5f468
Support to reset all console connections. Ref https://github.com/GNS3/gns3-server/issues/1619
2020-07-26 18:27:18 +09:30
grossmj
3dc4ea46d6
Add total RAM, CPUs and disk size to servers summary as well as disk usage in percent. Fixes https://github.com/GNS3/gns3-server/issues/1532
2020-07-19 14:16:07 +09:30
grossmj
d1c29c8bb7
Resource constraints for Docker VMs.
2020-07-18 21:03:55 +09:30
grossmj
dff035d957
Support for "usage" for "Cloud" nodes. Fixes https://github.com/GNS3/gns3-gui/issues/2887
...
Allow "usage" for all builtin nodes (not exposed in Ui).
2020-07-15 19:15:51 +09:30
grossmj
297d1a0aae
Remove unused bytes2human function
2020-06-05 13:10:01 +09:30
Bernhard Ehlers
10bb259248
Implement a minimum interval between cpu_percent() calls. Fixes #1738
2020-04-19 20:42:46 +02:00
Bernhard Ehlers
4ab100b716
Revert "Implement a minimum interval between psutil calls. Fixes #2262 "
...
This reverts commit 3a09bd43dc
.
2020-04-19 20:06:47 +02:00
Jeremy Grossmann
241937b80b
Merge pull request #1715 from GNS3/websocket-console
...
Support for WebSocket consoles
2020-03-27 21:44:25 -07:00
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
c313475f68
Support for WebSocket consoles
2020-01-31 17:31:27 +08:00
grossmj
941bed9605
Server statistics implementation
2020-01-17 16:50:17 +08:00
grossmj
a98fc2d308
Python3.8 support. Ref https://github.com/GNS3/gns3-gui/issues/2895
2019-11-11 12:44:31 +08:00
grossmj
4075bbd703
Fix exception when adding VirtualBox VM. Fixes #1685 .
2019-11-08 17:13:21 +08:00
grossmj
b7af2e4d5c
Refresh mounted media after ISO switch.
2019-06-12 14:23:03 +02:00
Karim
0c19bc8d43
Support for additional persistent docker volumes to be specified within appliance configuration
2019-04-22 10:26:41 +01:00
grossmj
6dc58b28fd
Some adjustments with compute WebSocket handling. Ref https://github.com/GNS3/gns3-server/issues/1564
2019-04-14 16:48:12 +07:00
grossmj
2bb1b61526
Fix traceback when starting packet capture on builtin nodes. Fixes https://github.com/GNS3/gns3-gui/issues/2743
2019-03-25 16:57:36 +08:00
grossmj
af80b0bb6e
Use aiofiles where relevant.
2019-03-06 23:00:01 +07:00
grossmj
a896346c77
Fix issue with notification queue that prevented to properly close projects. Fix #1493
2019-01-12 16:02:36 +07:00
grossmj
f0ffb07165
Fix issue with "usage" variable for Dynamips VMs. Fixes #1495
2019-01-12 12:13:22 +07:00
grossmj
468145319d
Merge 2.1 into 2.2 branch.
2018-12-21 15:24:34 +08:00
grossmj
fc75a6b8d3
Fix link pause/filters only work for the first interface of Docker containers. Fixes #1482
2018-12-14 19:53:43 -06:00
grossmj
f76b329cba
Fix ConnectionResetError issues and switch to aiohttp version 3.4.4. Fixes #1474 .
2018-12-03 19:14:22 +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
86f87aec74
Fix installation with Python 3.7. Fixes #1414 .
...
Fix deprecated use of aiohttp.Timeout. Fixes #1296 .
Use "async with" with aiohttp.ClientSession().
Make sure websocket connections are properly closed, see https://docs.aiohttp.org/en/stable/web_advanced.html#graceful-shutdown
Finish to drop Python 3.4.
2018-10-16 15:56:06 +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
22f7ca0243
Return compute port information via API. Ref #1420 .
2018-10-05 12:48:20 +02:00
grossmj
e4a6db8ebc
Fix some typos.
2018-10-04 15:22:42 +02:00
grossmj
3560cda06c
Use asyncio.ensure_future() instead of asyncio.async() with conservative approach to support Python < 3.4.4. Fixes https://github.com/GNS3/gns3-gui/issues/2566
2018-08-24 18:57:18 +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
1f017a0d1d
Console support for clouds (to connect to external devices or services).
2018-06-10 17:43:29 +07:00