Jeremy Grossmann
372017f467
Merge pull request #1537 from GNS3/import-export-refactoring
...
Project import/export refactoring. Fixes #1349
6 years ago
grossmj
380224dca1
Change how VPCS executable is searched.
6 years ago
grossmj
af80b0bb6e
Use aiofiles where relevant.
6 years ago
grossmj
4c83fc1243
Update paths for binaries moved to the MacOS directory in GNS3.app
6 years ago
Jeremy Grossmann
3f7c4c0474
Update qemu_vm.py
6 years ago
grossmj
80eb06f67c
Merge 2.1 into 2.2
6 years ago
grossmj
879e32eb9a
Bump ACPI Shutdown Timeout to 120 seconds. Ref #1536
6 years ago
grossmj
7fe8f7e716
Fix long-polling request for project notifications.
6 years ago
grossmj
2fb5e47c8d
Allow cloud nodes to be exported. Fixes #1519
6 years ago
grossmj
5754747a90
Merging 2.1 into 2.2
6 years ago
grossmj
aea4ae808f
Detect invalid environment variable and send a warning when creating a Docker node. Ref #2683
6 years ago
grossmj
589c9754e8
Fix symlink not being created for duplicated IOU devices. Fixes https://github.com/GNS3/gns3-gui/issues/2699
6 years ago
grossmj
d9a9abf845
Add explicit error when trying to pull a Docker image from Docker Hub without Internet access. Fixes #1506 .
6 years ago
grossmj
0b07299472
Fixes double display output in GRUB in QEMU v3.1. Fixes #1516 .
6 years ago
grossmj
456ef1348b
Fix DeprecationWarning: invalid escape sequence. Fixes https://github.com/GNS3/gns3-gui/issues/2670
6 years ago
grossmj
4b52e9313e
Fix issue with coroutine not awaited. Fixes #1499
6 years ago
grossmj
c6afea49da
Try to delete saved VM state only if a snapshot has been saved.
6 years ago
grossmj
f0ffb07165
Fix issue with "usage" variable for Dynamips VMs. Fixes #1495
6 years ago
grossmj
9ed181151f
New node information dialog to display general, usage and command line information.
...
Ref https://github.com/GNS3/gns3-gui/issues/2662 https://github.com/GNS3/gns3-gui/issues/2656
6 years ago
grossmj
468145319d
Merge 2.1 into 2.2 branch.
6 years ago
grossmj
ef38ccfefa
Automatically create a symbolic link to the IOU image in the IOU working directory. Fixes #1484
6 years ago
grossmj
58b2ee152d
Fix Docker console test.
6 years ago
grossmj
bec2270334
Fix non responsive console for Docker VMs. Fixes https://github.com/GNS3/gns3-gui/issues/2645
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
Dušan Dragić
817a053dfc
docker_vm: fix x11vnc not starting
6 years ago
grossmj
a17fa821bd
Make sure nothing is named "compute server".
6 years ago
grossmj
60ac6d2dfe
Telnet console resize support for Docker VM.
6 years ago
grossmj
c0a0a13bdd
Avoid _fix_permissions() to be called twice when stopping Docker VM. Ref #1428
6 years ago
grossmj
a3044ede77
Fix _fix_permissions() garbles permissions in Docker VM. Ref #1428
6 years ago
grossmj
5cb0957f35
Require privileged access for uBridge when using VMware VMs and Docker containers. Fixes #1461 .
6 years ago
grossmj
3fae6ada95
Only require privileged access for uBridge when connecting a cloud to an Ethernet/TAP interface. Fixes #1461 .
6 years ago
grossmj
3497deaa31
Allow virtual machines to use files in project directory as disk images.
6 years ago
grossmj
98f04365b7
Remove generic controller settings API endpoint.
6 years ago
grossmj
f91d3c9dbb
Merge branch '2.2' into appliance-api
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
f0fe9d39fa
Base for dedicated appliance management API. Ref https://github.com/GNS3/gns3-server/issues/1427
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
22f7ca0243
Return compute port information via API. Ref #1420 .
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
e4a6db8ebc
Fix some typos.
6 years ago
grossmj
181a31be32
Update minimum VIX version requirements for VMware. Ref #1415 .
6 years ago
grossmj
4d95e0b51f
Catch some exceptions.
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
341e2e2e3a
Check if serial pipe can be opened for VMware and VirtualBox VMs.
6 years ago
grossmj
f8ecd61a98
Notify users if xvfb process or x11vnc process have crashed. Ref #1401 .
6 years ago
grossmj
4a6202fa84
Update setup.py and fix minor issues.
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
grossmj
12e71a2917
Set lower process priority when computing idle-pc value on Windows. Ref #2522 .
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
96d5e351f7
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/version.py
# requirements.txt
6 years ago
grossmj
1f017a0d1d
Console support for clouds (to connect to external devices or services).
6 years ago
grossmj
40151cd1fe
Fix switching console type from telnet to VNC throws error. Fixes #2489 .
6 years ago
grossmj
1905a99ce7
Fix saved VM state was not deleted correctly.
6 years ago
grossmj
62f87de23a
Add API endpoint to return all links attached to a node.
6 years ago
grossmj
19c5ff8521
Show correct free disk space value.
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
7b3d5ae5e3
Create/update project on compute when variables changes
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
grossmj
20294e284c
Fix exception from send_signal() on Windows.
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
9ecb058343
Fix tests.
7 years ago
grossmj
fff2e128eb
Set the first byte to 0C when generating a random MAC address for a Qemu VM. Ref #1267 .
7 years ago
grossmj
1fea086f13
Do not use VMnet0 when allocating VMnet adapters.
7 years ago
grossmj
dd9c18b9f8
Use SO_REUSEADDR before calling bind() where missing. Fixes #1289 .
7 years ago
grossmj
5c4f6dd3dc
Do not fail a Dynamips project conversion if a file being used.
7 years ago
grossmj
a12c5a95b0
Catch exceptions when using AsyncioTelnetServer. Fixes #1321 .
7 years ago
grossmj
025441f027
Add default destination setting for traceng + some checks.
7 years ago
grossmj
22a71b0e8c
Fix problem with VM saved stated.
7 years ago
grossmj
757c103c03
Possibility to customize port names and adapter types for Qemu, VirtualBox, VMware and Docker. Fixes #2361 .
...
MAC addresses can customized for Qemu as well.
7 years ago
grossmj
ea0009db6c
Save state feature for VirtualBox and VMware. New "On close" setting to
...
select the action to execute when closing/stopping a Qemu/VirtualBox/VMware VM.
7 years ago
grossmj
3d1ee4da3f
Support for suspend to disk / resume (Qemu).
7 years ago
grossmj
669d2ec038
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/schemas/node.py
7 years ago
grossmj
297bbd91ec
Fix traceng tests.
7 years ago
grossmj
b61bd2dc67
Merge remote-tracking branch 'origin/traceng' into traceng
7 years ago
grossmj
b7780ba7cc
Check for valid IP address and prevent to run on non-Windows platforms.
7 years ago
grossmj
c053a2f350
Enable UDP tunnel option and use ICMP probing by default.
7 years ago
grossmj
05ec14e888
Use the configured IP address to trace.
7 years ago
grossmj
d08c08617c
Support for source and destination for traceNG.
7 years ago
grossmj
8e695c8af1
Have TraceNG start without needing cmd.exe
7 years ago
grossmj
ff7911bd99
Allow to resize a Qemu VM disk (extend only).
7 years ago
grossmj
6cec67f79f
Allow to select the default NAT interface in preferences for local server.
7 years ago
grossmj
caa2bda71b
Spice with agent support for Qemu VMs.
7 years ago
grossmj
d419d3fa39
Check if the HAXM service is running when starting a Qemu VM with hardware acceleration. Ref #1242 .
7 years ago
grossmj
e52775fa3a
Support for console type "none".
7 years ago
grossmj
54661c50b2
Fix tests related to console type changes.
7 years ago
grossmj
b8353bc0d5
Support for none console type (Qemu & Docker only)
7 years ago
grossmj
a40fdb3641
Fix bug and add optimizations when connecting and sending commands to QEMU monitor after starting a VM. Fixes #2336 .
7 years ago
grossmj
135bbe8825
Check if HAXM support is installed on macOS. Ref #1242 .
7 years ago
grossmj
9a9ac6d9f7
Fix some issues with hardware acceleration support for Qemu.
7 years ago
grossmj
17bfed52f2
Fix Qemu VM tests.
7 years ago
grossmj
44f2acffa5
Support Qemu with HAXM acceleration. Ref #1242 .
7 years ago
grossmj
85dcb985eb
Fix packet filters for Dynamips.
7 years ago
grossmj
279b4d7b20
Fix link filters/suspend tests.
7 years ago
grossmj
8b91894fa4
Improve suspend a link for Qemu and VirtualBox VMs.
...
A suspended link will be unplugged allowing the VMs to be notified
of the change.
7 years ago
grossmj
cde30f8f53
Fix warning message.
7 years ago
grossmj
c7875f93a3
Qemu VM support to detect when a link is plugged/unplugged.
7 years ago
grossmj
b7e436efdf
Fix tests.
7 years ago
grossmj
aaf59e6050
Allow to configure the interface to be used by the NAT node. Fixes #1175 .
7 years ago
grossmj
08493871a5
Restrict the list of available Ethernet/TAP adapters. Fixes #352 .
7 years ago
grossmj
90ce6093d8
Some spring cleaning.
7 years ago
grossmj
a4626a2b79
Custom icons and small fixes for TraceNG integration.
7 years ago
grossmj
397c1322b4
Base support for TraceNG.
7 years ago
grossmj
658aa4bae9
Merge 2.1 into 2.2 branch
7 years ago
grossmj
0fde1cf54a
Ignore invalid BPF filters. Ref #1290 .
7 years ago
grossmj
7c14e21f4a
Different approach to handle no data returned by Dynamips or uBridge hypervisors. Fixes #1289 .
7 years ago
grossmj
a3a0657502
Do not raise exception if Dynamips or uBridge hypervisor don't return data and are still running. Fixes #1289
7 years ago
grossmj
3ca4f72b99
Fix Dynamips private config not loaded into nvram when starting a router. Fixes #1313 .
7 years ago
grossmj
c93d0d8d12
Make sure we don't try to read when opening a file in binary more. Fixes #1301 .
7 years ago
ziajka
e79e27a73f
Handle docker env with last empty line, Fixes : #2420
7 years ago
grossmj
52b690b683
Fix "Unable to override non-custom VMware adapter".
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
grossmj
e5c76750b1
Fix issue when running multiple project containing IOU nodes on the same server. Ref #1239 .
7 years ago
grossmj
1045364adc
Set first byte to 52 when generating a random MAC address for a Qemu VM. Ref #1267 .
7 years ago
ziajka
bb26e8acdd
Calculate MD5 on thread and before json response, Ref. gui#2239
7 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
6868e20a70
Compute md5sum on thread and don't block main server, Ref. gui#2239
7 years ago
ziajka
d9a0ec9ff3
Replace asyncio.async with ensure_future because of deprecation, Fixes : #1269
7 years ago
grossmj
c281f55fb2
Fix same base MAC for duplicated IOS routers. Fixes #1264 .
7 years ago
grossmj
e5e2b7a8ac
Fix "Creating multiple IOU nodes at once assigns the same application id". Fixes #1239 .
7 years ago
Dušan Dragić
6789989cb9
Rename ethernet switch arp command to mac
7 years ago
grossmj
ed275e4ec5
Fix UnboundLocalError: local variable 'node' referenced before assignment. Fixes #1256 .
7 years ago
grossmj
8b1c68a0b7
Fix problem when searching for VBoxManage. Fixes #1261 .
7 years ago
grossmj
97cfb892a6
Improve the search for VBoxManage.
7 years ago
grossmj
5f14f8eb46
Default VPCS name format is now PC-{0}.
7 years ago
grossmj
e8353e68bb
Merge remote-tracking branch 'origin/2.1' into 2.1
7 years ago
grossmj
23c63bbd4d
Protect variable replacement for Qemu options. Escape double quotes.
7 years ago
ziajka
3efe753eee
Add proper exception when cannot find tunnel on QEMU, Fixes : #1241
7 years ago
grossmj
79bca29b93
Protect variable replacement for Qemu options.
7 years ago
grossmj
630afc5469
Do not overwrites persistent Docker volumes. Fixes #2358 .
7 years ago
grossmj
3a1ba8f42d
Fix issue with Qemu + SPICE when IPv4 is not enabled.
7 years ago
grossmj
061af38b5a
Make sure connected links are removed when a node is deleted.
7 years ago
grossmj
f48549a997
Validate idle-pc values for auto idle-pc feature.
7 years ago
grossmj
958ab2294c
Merge remote-tracking branch 'origin/2.1' into 2.1
7 years ago
grossmj
dd89b09f84
Fix error when updating packet filter on stopped Docker link. Fixes #1229 .
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
3e2e8e61f7
New option: require KVM. If false, Qemu VMs will not be prevented to run without KVM.
7 years ago
grossmj
068077c594
Remove forgotten debug.
7 years ago
grossmj
e08aebf1f0
Implement variable replacement for Qemu VM options.
7 years ago
grossmj
cfbcc1194d
Avoid duplicate "-nographic" option.
7 years ago
grossmj
035a078b5e
Show qemu-img stdout in case of an error.
7 years ago
grossmj
e1fe34ca07
Use the correct NVRAM amount when pushing private config to IOU.
7 years ago
grossmj
4477cd4dfd
Merge remote-tracking branch 'origin/2.1'
7 years ago
grossmj
967798a7de
Check and fix corrupt Qemu disk images. Fixes #2301 .
7 years ago
grossmj
8c11b649e5
Update warning messages when connecting to non custom adapter for VMware VMs.
7 years ago
grossmj
b14e2e73ed
Fix "Can't use VirtualBox VM when an interface is managed by VirtualBox". Fixes #2335 .
7 years ago
grossmj
9afe756462
Add low disk space warning when creating a new project.
7 years ago
grossmj
8fcfed53ed
Add warning when using IOU with a hostname length above 15 characters.
7 years ago
grossmj
df468bf2af
Improve VMware VMs discovery process. Ref #1201 .
7 years ago
grossmj
8930b4c6e5
Improve error message when IOU VM process is unexpectedly stopped.
7 years ago
grossmj
b4307e6035
Improved error message when the number of network adapters is above the maximum for VirtualBox VMs.
...
Better support for potential future chipsets in addition of PIIX3 and ICH9.
7 years ago
grossmj
98b201e9e5
Tweak how VMware VMs are found with fallback to search in the default location for VMs.
7 years ago
Dušan Dragić
44bb912139
QEMU: fix logging of base mac address when creating a new node
7 years ago
grossmj
1524493c33
Fix IOU detection of layer 1 keepalive support. Fixes #1183 .
7 years ago
Jeremy Grossmann
897f7656da
Merge pull request #1185 from GNS3/fix-delete-project
...
Don't create directory structure during json dump. Fixes #2270
7 years ago
ziajka
3d85bba9d4
Don't create directory structure during json dump. Fixes #2270
7 years ago
grossmj
7269285b0f
Add more information when qemu-img fails.
7 years ago
grossmj
a567b394f3
Restore file permissions fails for volumes with soft links. Fixes #1180 .
7 years ago
grossmj
d76bcf7078
Use RAW sockets by default on Linux.
7 years ago
grossmj
9e4cfaf787
Fix NAT node not working on Windows. Fixes #1163 .
7 years ago
ziajka
7523e9c4bc
Fixes NAT node not working on Windows ( #1163 )
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
grossmj
47e8392ceb
Use uuid4() for temporary node name while duplicating a node.
7 years ago
Julien Duponchelle
0854c04687
API for duplication a Node
...
Support:
* VPCS
* Dynamips router
* Ethernet switch
Ref #1065
7 years ago
Julien Duponchelle
253e113168
Raise an error if the licence check setting is not a boolean
...
Fix #1099
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
grossmj
a7d2391608
Use the libpcap on Linux when blocking host originating packets on vmnet interfaces. Ref #1131 .
7 years ago
Jeremy Grossmann
c2fbe4f313
Merge pull request #1130 from GNS3/vmware_filters
...
Filters support for VMware
7 years ago
Julien Duponchelle
fa211a82eb
Filters support for VMware
...
Fix #1108
7 years ago
Julien Duponchelle
54faaf5f6f
Packet filters support for VirtualBox
...
Fix #1107
7 years ago
Julien Duponchelle
08d4c1a000
Merge branch '2.1' into filters_iou
7 years ago
Julien Duponchelle
536c708c16
Filter implementation for cloud & Nat
...
Fix #1111
7 years ago
Julien Duponchelle
5b839c22e9
Filters support for IOU
...
Fix #1113
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
03f8c747cc
Qemu support for packet filtering
...
Fix #1112
7 years ago
Julien Duponchelle
9e2759a3f2
Merge branch '2.1' into remove_use_ubrige
7 years ago