grossmj
800920e3df
Merge branch '2.2' into 3.0
...
# Conflicts:
# .github/workflows/testing.yml
# gns3server/compute/docker/__init__.py
# gns3server/compute/docker/docker_vm.py
# gns3server/run.py
# requirements.txt
# setup.py
# tests/compute/docker/test_docker_vm.py
7 months ago
John Fleming
763ef24108
Address the telnet console bug. Add wait_for for drain() call. If we're stuck on drain then the buffer isn't getting emptied. 5 seconds after drain() blocks, exception will be thrown and client will be removed from connection table and will no longer be a problem.
8 months ago
grossmj
0037f31553
Merge branch '2.2' into 3.0
...
# Conflicts:
# CHANGELOG
# docs/api/notifications/link.updated.json
# docs/api/notifications/log.warning.json
# docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodes.rst
# docs/api/v2/compute/ethernet_switch/projectsprojectidethernetswitchnodesnodeid.rst
# docs/api/v2/compute/iou/projectsprojectidiounodes.rst
# docs/api/v2/compute/project/projects.rst
# docs/api/v2/compute/qemu/projectsprojectidqemunodes.rst
# docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeid.rst
# docs/api/v2/compute/qemu/projectsprojectidqemunodesnodeidstart.rst
# docs/api/v2/controller/link/projectsprojectidlinks.rst
# docs/api/v2/controller/link/projectsprojectidlinkslinkid.rst
# docs/api/v2/controller/link/projectsprojectidlinkslinkidstartcapture.rst
# docs/api/v2/controller/project/projects.rst
# docs/api/v2/controller/project/projectsprojectidduplicate.rst
# docs/controller_notifications.rst
# docs/curl.rst
# docs/gns3_file.json
# docs/project_notifications.rst
# gns3server/compute/qemu/qemu_vm.py
# gns3server/controller/project.py
# gns3server/crash_report.py
# gns3server/schemas/ethernet_hub.py
# gns3server/schemas/ethernet_switch.py
# gns3server/static/web-ui/3rdpartylicenses.txt
# gns3server/static/web-ui/index.html
# gns3server/utils/asyncio/telnet_server.py
# gns3server/version.py
# gns3server/web/web_server.py
# requirements.txt
# tests/controller/test_project.py
# tests/controller/test_topology.py
# tests/handlers/api/controller/test_project.py
8 months ago
John Fleming
6c5f54fe57
Update telnet_server.py
...
Maybe use the correct object name this time for the socket objects.
8 months ago
John Fleming
082fbee1bd
Update telnet_server.py
...
Set tcp keepalive timers to 60 seconds. Seems to default to 2 hours on ubuntu 22. Most firewalls will age out an idle tcp session at 1 hour.
Will not address telnet console failing after a tcp session has failed (TimeoutError).
8 months ago
John Fleming
54abf85523
Update telnet_server.py
...
Maybe use the correct object name this time for the socket objects.
8 months ago
John Fleming
ac86717bc0
Update telnet_server.py
...
Set tcp keepalive timers to 60 seconds. Seems to default to 2 hours on ubuntu 22. Most firewalls will age out an idle tcp session at 1 hour.
Will not address telnet console failing after a tcp session has failed (TimeoutError).
8 months ago
grossmj
f3b6825e40
Test if busybox is not dynamically linked
1 year ago
grossmj
1ff23348d3
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/base_node.py
# gns3server/compute/docker/__init__.py
# gns3server/compute/qemu/qemu_vm.py
# gns3server/controller/compute.py
# gns3server/controller/gns3vm/virtualbox_gns3_vm.py
# gns3server/controller/node.py
# gns3server/controller/project.py
# gns3server/crash_report.py
# gns3server/handlers/api/controller/template_handler.py
# gns3server/static/web-ui/index.html
# gns3server/static/web-ui/main.8448c96e4facbe79a613.js
# gns3server/version.py
# tests/compute/iou/test_iou_vm.py
# tests/compute/qemu/test_qemu_vm.py
# tests/handlers/api/controller/test_template.py
1 year ago
grossmj
af2fc8c111
Use proc.communicate() when checking for subprocess output
...
As recommended in https://docs.python.org/3/library/asyncio-subprocess.html#asyncio.subprocess.Process.stderr
1 year ago
grossmj
267c4cbbbb
Merge branch '2.2' into 3.0
...
# Conflicts:
# README.md
# gns3server/compute/base_node.py
# gns3server/compute/dynamips/__init__.py
# gns3server/compute/dynamips/hypervisor.py
# gns3server/compute/qemu/__init__.py
# gns3server/compute/qemu/qemu_vm.py
# gns3server/controller/__init__.py
# gns3server/crash_report.py
# gns3server/handlers/api/controller/node_handler.py
# gns3server/schemas/qemu_template.py
# gns3server/static/web-ui/index.html
# gns3server/static/web-ui/main.11410ae4eaf4d4c08cd0.js
# gns3server/version.py
# requirements.txt
2 years ago
grossmj
30c85703c8
Attempt to fix "cannot reopen console". Ref #2182
2 years ago
grossmj
a7d19fd89a
Fix StreamWriter doesn't have the wait_closed() method in Python3.6. Fixes #2170
2 years ago
grossmj
c57b0cbb53
Find Dynamips version before hypervisor launch and do not require Dynamips v0.2.23
2 years ago
grossmj
27d9063e56
Merge 2.2
2 years ago
grossmj
ae200d9add
Add Trusted Platform Module (TPM) support for Qemu VMs
2 years ago
grossmj
b3a6b9173b
Fix reset console. Fixes #1619
2 years ago
grossmj
1148dbc48e
Fix issue when calling reset_console with running VPCS and Qemu nodes. Ref #1619
2 years ago
grossmj
263febecbc
Merge branch '2.2' into 3.0
...
# Conflicts:
# .github/workflows/testing.yml
# CHANGELOG
# appveyor.yml
# dev-requirements.txt
# gns3server/compute/base_node.py
# gns3server/controller/__init__.py
# gns3server/controller/appliance_manager.py
# gns3server/crash_report.py
# gns3server/static/web-ui/index.html
# gns3server/utils/get_resource.py
# gns3server/version.py
# gns3server/web/route.py
# requirements.txt
# tests/handlers/api/compute/test_qemu.py
# win-requirements.txt
2 years ago
grossmj
f3b8f43689
Fix creating asyncio task in Python 3.6
2 years ago
grossmj
2d74d1ad94
Fix tests for Python 3.11
2 years ago
grossmj
c98a10dcfd
Do not tweak zstd compression params
2 years ago
grossmj
8a964390f8
Add zstandard compression support for project export
2 years ago
grossmj
74c675d5b0
Drop Windows support
3 years ago
grossmj
afdda427d2
Merge branch 'master' into 3.0
...
# Conflicts:
# .github/workflows/testing.yml
# gns3server/compute/builtin/nodes/nat.py
# gns3server/compute/qemu/__init__.py
# gns3server/controller/link.py
# gns3server/utils/asyncio/embed_shell.py
# gns3server/utils/asyncio/raw_command_server.py
# gns3server/utils/asyncio/telnet_server.py
# gns3server/version.py
# gns3server/web/web_server.py
3 years ago
grossmj
8aada49414
Some fixes for early support for Python3.10
...
The loop parameter has been removed from most of asyncio‘s high-level API following deprecation in Python 3.8.
3 years ago
grossmj
c021e21309
Use black with -l 120 param.
3 years ago
grossmj
f928738bd5
Use pyupgrade with --py36-plus param.
3 years ago
grossmj
af22fb8e98
Comment unused code that causes issue with flake8
4 years ago
grossmj
f498ab06b4
Wait longer for x11 socket file to be created. Ref #1761
4 years ago
grossmj
5b59a09e8d
Deprecate running with Python 3.5
4 years ago
grossmj
a98fc2d308
Python3.8 support. Ref https://github.com/GNS3/gns3-gui/issues/2895
5 years ago
grossmj
6db8cecda5
Merge 2.1 into 2.2
6 years ago
grossmj
cc1980ac1c
Fix broken embedded console for Ethernet switch. Fixes #1574
6 years ago
grossmj
1f1d93d078
Deactivate the embedded shell for Ethernet switch. Ref #1424 #1556
6 years ago
grossmj
52bfa636c1
Project duplication support.
6 years ago
grossmj
a8990c9e89
Non blocking project exportation.
6 years ago
grossmj
bb284d082a
Set socket options SO_KEEPALIVE and TCP_NODELAY for embedded Telnet server. Ref #1335
6 years ago
grossmj
56412b35e0
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/docker/docker_vm.py
# gns3server/utils/asyncio/telnet_server.py
6 years ago
grossmj
60ac6d2dfe
Telnet console resize support for Docker VM.
6 years ago
grossmj
76af98404a
Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
6 years ago
grossmj
9de13c570c
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/builtin/nodes/cloud.py
# gns3server/compute/docker/docker_vm.py
# gns3server/compute/dynamips/nodes/ethernet_switch.py
# gns3server/compute/iou/iou_vm.py
# gns3server/compute/qemu/qemu_vm.py
# gns3server/compute/virtualbox/virtualbox_vm.py
# gns3server/compute/vmware/vmware_vm.py
# gns3server/controller/__init__.py
# gns3server/version.py
# gns3server/web/web_server.py
6 years ago
grossmj
4d95e0b51f
Catch some exceptions.
6 years ago
grossmj
4021a13651
Catch exceptions in various locations to fix small issues reported by Sentry.
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
814526ba26
Add missing coroutine decorator Ref https://github.com/GNS3/gns3-gui/issues/2566
6 years ago
grossmj
902de3dd47
Refactor asyncio locking system for Python 3.7 support. Ref https://github.com/GNS3/gns3-gui/issues/2566 Ref https://github.com/GNS3/gns3-gui/issues/2568
6 years ago
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
6 years ago
grossmj
b7f9b865c8
Optimize appliance templates update from GitHub repository by only downloading when the repository
...
has been updated. Ref https://github.com/GNS3/gns3-gui/issues/2490
6 years ago
ziajka
1582ac3195
Merge branch '2.2' into async-md5-calcs
7 years ago