Commit Graph

80 Commits (d1a7474ef6dc6c1e07c987530ccadd094f696a87)

Author SHA1 Message Date
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
John Fleming 54abf85523
Update telnet_server.py
8 months ago
John Fleming ac86717bc0
Update telnet_server.py
8 months ago
grossmj af2fc8c111 Use proc.communicate() when checking for subprocess output
1 year 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 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 f3b8f43689 Fix creating asyncio task in Python 3.6
2 years ago
grossmj 2d74d1ad94 Fix tests for Python 3.11
2 years ago
grossmj 8aada49414 Some fixes for early support for Python3.10
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
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
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
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
6 years ago
ziajka 1582ac3195 Merge branch '2.2' into async-md5-calcs
7 years ago
ziajka eeae07e783 Conservative approach to supported versions of Python 3.4 and asyncio.ensure_future, Ref. #1269
7 years ago
ziajka dc377165f2 Cancellable md5sum calculation on thread, Ref. gui#2239
7 years ago
ziajka d9a0ec9ff3 Replace asyncio.async with ensure_future because of deprecation, Fixes: #1269
7 years ago
ziajka 860ca3b35d Remotely close telnet console. Ref #2330
7 years ago
ziajka 96a0b52cf8 EthernetSwitch closing connections, Ref: gui/#2330
7 years ago
grossmj 1524493c33 Fix IOU detection of layer 1 keepalive support. Fixes #1183.
7 years ago
ziajka 807bea40d4 Fixes running switch console inside PyCharm terminal (Ref. #1172)
7 years ago
ziajka 4e3eee33fc Windows console bugfix tests
7 years ago
ziajka 86bd7b6058 Added missing corutine flag, fixes #1145
7 years ago
ziajka ac508435c3 History support for console and telnet application, Fixes: #1083
7 years ago
Julien Duponchelle ca3f8d0b43
Provide easy to test a shell by using stdin as an input
7 years ago
Julien Duponchelle 5616ab0e9a
Fake console for simple Ethernet switch
7 years ago
Julien Duponchelle 10b039074f
Avoid a crash in some conditions when reading the serial console
8 years ago
Julien Duponchelle 19b70accd5
Catch error when we can't access to a unix socket
8 years ago
Julien Duponchelle bfbc6ff0be
Fix rare race condition when stopping ubridge
8 years ago