grossmj
5cb0957f35
Require privileged access for uBridge when using VMware VMs and Docker containers. Fixes #1461 .
6 years ago
grossmj
d45d52f15c
Support Xtigervnc restart.
6 years ago
grossmj
029344da14
Only require Xtigervnc or Xvfb+x11vnc for Docker with vnc console. Ref #1438
6 years ago
grossmj
36474f7bab
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/docker/docker_vm.py
6 years ago
grossmj
d0bab9947e
Support tigervnc in Docker VM. Ref #1438
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
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.
6 years ago
grossmj
de5934f818
Merge remote-tracking branch 'origin/2.2' into 2.2
6 years ago
grossmj
76af98404a
Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
6 years ago
Karim
14fb64b941
Added "/sbin" to init script PATH variable so that its possible to
...
use more sophosticated dhcp clients (compared to the udhcpc that is
provided by busybox) by installing them into the docker image in
the normal way.
6 years ago
grossmj
8baa480b79
Fix tests.
6 years ago
grossmj
97c68f56bf
Notify users if x11vnc process has crashed. Fix #1401 .
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
17d657c919
Fix small errors like unhandled exceptions etc.
6 years ago
grossmj
4021a13651
Catch exceptions in various locations to fix small issues reported by Sentry.
6 years ago
grossmj
f8ecd61a98
Notify users if xvfb process or x11vnc process have crashed. Ref #1401 .
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
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
033f005bde
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/docker/docker_vm.py
# gns3server/version.py
6 years ago
Andrew Caudwell
b2e0a1b291
Don't release NIO UDP ports when updating docker container.
...
When a docker container was updated, the NIO UDP ports were being released
from port_manager, but they were still stored in self._ethernet_adapters.
When the container was restarted, the same NIO ports would be used. However,
if a new connection was then added, it could assign a port that was already
in use. The end result was that traffic would be bridged across the wrong
interface connection.
6 years ago
grossmj
d1ccf3bc84
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/version.py
# requirements.txt
6 years ago
ziajka
c52342907a
Merge pull request #1332 from GNS3/global-vars
...
Docker `ExtraHosts`, global variables for project and supplier support, Fixes : #2482
6 years ago
ziajka
83445214be
Support for nested global variables
6 years ago
ziajka
e267f8a8b8
Project global variables
6 years ago
grossmj
21a1800edc
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/controller/__init__.py
# gns3server/controller/export_project.py
# gns3server/controller/import_project.py
# gns3server/controller/project.py
# gns3server/version.py
7 years ago
grossmj
305fe2e817
Handle asyncio timeouts. Ref #1307 .
7 years ago
ziajka
80958e8a6d
support based on init.sh, Ref: #2482
7 years ago
ziajka
43081152ef
Add support of ExtraHosts for Docker, Ref. gns3-gui#2482
7 years ago
grossmj
2ea0aa5ded
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/iou/iou_vm.py
# gns3server/compute/virtualbox/virtualbox_vm.py
# gns3server/compute/vmware/vmware_vm.py
7 years ago
grossmj
a12c5a95b0
Catch exceptions when using AsyncioTelnetServer. Fixes #1321 .
7 years ago
grossmj
90ce6093d8
Some spring cleaning.
7 years ago
grossmj
658aa4bae9
Merge 2.1 into 2.2 branch
7 years ago
ziajka
e79e27a73f
Handle docker env with last empty line, Fixes : #2420
7 years ago
grossmj
4ba523a0d7
Add an error message when Docker container is not ready to be started. Ref #1281 .
7 years ago
grossmj
07d2d7b340
Update documentation.
7 years ago
ziajka
eeae07e783
Conservative approach to supported versions of Python 3.4 and asyncio.ensure_future, Ref. #1269
7 years ago
ziajka
d9a0ec9ff3
Replace asyncio.async with ensure_future because of deprecation, Fixes : #1269
7 years ago
grossmj
630afc5469
Do not overwrites persistent Docker volumes. Fixes #2358 .
7 years ago
grossmj
dd89b09f84
Fix error when updating packet filter on stopped Docker link. Fixes #1229 .
7 years ago
ziajka
3d85bba9d4
Don't create directory structure during json dump. Fixes #2270
7 years ago
grossmj
a567b394f3
Restore file permissions fails for volumes with soft links. Fixes #1180 .
7 years ago
Julien Duponchelle
a93f3b0576
Fix permission on exited container
...
If a container is exited we quickly start it to fix
the permissions.
Fix https://github.com/GNS3/gns3-gui/issues/2181
7 years ago
Bernhard Ehlers
ec4e69b0d8
Ensure, that the docker mount directory exists
...
Fix #1097
Signed-off-by: Julien Duponchelle <julien@gns3.net>
7 years ago
Julien Duponchelle
b33ba5f8ea
Don't allow user to overwrite GNS3 docker environment variables
...
Fix #1098
7 years ago
Julien Duponchelle
23c3d32e06
Filter support for Docker
...
Fix #1110
7 years ago
Julien Duponchelle
f557ec4bda
Fix regression in docker introduce by 2.0 merge
7 years ago
Julien Duponchelle
699ecb7c89
Merge branch 'master' into 2.1
7 years ago
ziajka
e0f0adf3c8
Added preferred Docker API version. Fixes #2136
7 years ago
ziajka
8e8b8bc5a5
WebSocket binary mode support for docker
7 years ago
ziajka
c6f9ec3758
More information on Docker WebSocket error
7 years ago
Julien Duponchelle
6a0345897d
Connector is no longer supported in ws_connect by aiohttp 2.0
7 years ago
Julien Duponchelle
7dfb634376
Fix for websocket usage with aiohttp 2.0
...
Fix #1050
7 years ago
Julien Duponchelle
93adef91d8
Merge branch '2.0' into 2.1
7 years ago
Julien Duponchelle
b8ee8d69c8
Fix unexpected keyword argument 'conn_timeout'
...
Fix #1047
7 years ago
Julien Duponchelle
5bb6c51698
Fix an error when logging Docker container fail to start
7 years ago
Julien Duponchelle
2a8911d19e
Keep DOCKER_MINIMUM_API_VERSION and DOCKER_MINIMUM_VERSION consistent
7 years ago
Bernhard Ehlers
8b7209ea78
Use docker version in error message of outdated docker installation
7 years ago
Bernhard Ehlers
7d48eba01b
Use versioned docker API
...
Since docker v1.13 the unversioned docker API is deprecated.
Backport of gns3-server 2.0, commit effbe59
7 years ago
Bernhard Ehlers
2191c487b6
Support images created by "docker commit". Fixes #1039
7 years ago
Julien Duponchelle
a4245fcf44
Aiohttp 2.0
...
Ref #1000
7 years ago
Bernhard Ehlers
ecba758c58
Docker aux console is a VT100 terminal
...
Without that program like nano can't work.
Signed-off-by: Julien Duponchelle <julien@gns3.net>
8 years ago
Bernhard Ehlers
1b0f5c63b8
Fix connection to websocket with last docker release
...
Fix https://github.com/GNS3/gns3-gui/issues/1994
Signed-off-by: Julien Duponchelle <julien@gns3.net>
8 years ago
Julien Duponchelle
1a90305baa
Docker minimum api is 1.25
8 years ago
Julien Duponchelle
effbe59414
Lock docker API to 1.27
...
Fix https://github.com/GNS3/gns3-gui/issues/1994
8 years ago
Julien Duponchelle
8b9f22c30c
Handling server disconnect error when docker daemon die
...
Fix #985
8 years ago
Julien Duponchelle
7302f65ffe
Catch timeout error on docker
...
Fix #981
8 years ago
Julien Duponchelle
fdd1084714
Fix bridge 'bridge0' already exist when we have trouble with a container
...
Fix #973
8 years ago
Julien Duponchelle
2564740665
Fix limit of 20 docker containers
...
Fix #963
8 years ago
Julien Duponchelle
132bc87081
Dissallow parallel pull of docker images
...
Fix #962
8 years ago
Julien Duponchelle
34f5a6f82c
Fix Session is closed when listing docker images
...
Fix #955
8 years ago
Julien Duponchelle
78c154e376
Cleanup docker source code
8 years ago
Julien Duponchelle
a571b1a2f8
Use aiohttp session for docker queries
8 years ago
Julien Duponchelle
a62b791c68
Fix TypeError: http_query() got an unexpected keyword argument 'timeout'
...
Fix #947
8 years ago
Julien Duponchelle
08bafc2dcc
Catch a timeout error in docker
...
Fix #936
8 years ago
Julien Duponchelle
666461277d
Fix a crash with some docker images
...
Fix #861
8 years ago
Julien Duponchelle
52adf45740
Fix an error when docker hub failed to anwser
...
Fix #843
8 years ago
Julien Duponchelle
8f6d25cc2b
Fix start all create error if a docker container is already running
...
Fix #839
8 years ago
Julien Duponchelle
46b6e7c5ee
Fix hot link issues in Docker
...
Fix #817
8 years ago
Julien Duponchelle
d0f65aebff
Fix Can't delete link between docker VM after they were in use
...
Fix #818
8 years ago
Bernhard Ehlers
a3495304ad
Code cleanup for docker interface creation
...
Fix #819
Signed-off-by: Julien Duponchelle <julien@gns3.net>
8 years ago
Julien Duponchelle
c4327ec74c
Improve docker HTTP console
...
Fix #816
8 years ago
Julien Duponchelle
ac1eef256f
Use tap adapter instead of veth for docker (allow usage of vlan)
...
Ref #716
8 years ago
Julien Duponchelle
ec3660c979
Catch an error when docker is not running
8 years ago
Julien Duponchelle
fbdcf67d29
If docker container state failed to return we consider the container stopped
8 years ago
Julien Duponchelle
5a695d2651
Missing busybox for docker
8 years ago
Julien Duponchelle
5a7f5d2950
Check if GNS3 has access to all docker resssources
...
Ref #702
8 years ago
Julien Duponchelle
67fc563d81
Merge branch 'master' into 2.0
8 years ago
Julien Duponchelle
ca4d09ea40
Merge branch 'master' into 2.0
8 years ago
Julien Duponchelle
c0b09ae76a
Merge branch '1.5' into 2.0
8 years ago
grossmj
d28fad223f
Allows hot-linking for Docker containers. Ref #267 .
8 years ago
grossmj
04022677bd
Use uBridge for Qemu connections. Ref #267 .
...
Handle packet captures for VPCS & Qemu nodes. Fixes #548 .
8 years ago
grossmj
00da15e4af
Use uBridge for VPCS connections. Ref #267 .
8 years ago
Julien Duponchelle
32252e5193
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle
6949976d12
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle
2a1c5cfd9c
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle
52f852bc6d
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle
d8bdd16e13
Raise an error if image is missing on compute
8 years ago
Julien Duponchelle
d30abeca21
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle
61ac8763f2
Merge branch '1.5' into 2.0
8 years ago