grossmj
7490be6d5e
Support GNS3 variables in Docker environment variables. Fixes #2033
2022-02-23 14:33:30 +10:30
John Fleming
511ac73d4f
qemu_vm.py Linked node test.
...
Include project name in error. This should help identify which project the none linked node is located in.
2022-01-17 14:19:49 -05:00
grossmj
b1a62dfdc2
Fix unhandled KeyError exception when starting Docker container. Ref #1991
2021-11-04 16:59:35 +10:30
grossmj
5eb5658a74
Fix memory percentage left warning. Fixes #1966
2021-09-20 18:08:02 +09:30
grossmj
611570a863
Fix qemu-img rebase code to support Qemu 6.1. Ref https://github.com/GNS3/gns3-server/pull/1962
2021-09-05 22:18:46 +09:30
grossmj
99d7d0c769
Merge branch 'master' into 2.2
...
# Conflicts:
# gns3server/compute/qemu/qemu_vm.py
2021-09-05 21:53:36 +09:30
grossmj
ed336da304
Qemu 6.1 support
...
Handle the deprecated use of backing file without explicit backing format issue.
2021-09-05 18:34:37 +09:30
Brian Candler
21e9f38437
Reinstate qemu-img rebase
...
This allows importing portable projects with images and/or snapshots,
regression introduced by #1927 .
Fixes #1955
2021-09-04 12:34:22 +01:00
grossmj
6005e89181
Fix issue when searching for image with relative path. Fixes #1925
2021-08-25 17:23:21 +09:30
grossmj
363fdb7d10
Fix wrong error when NAT interface is not allowed. Fixes #1943
2021-08-24 20:40:06 +09:30
grossmj
92150fba71
Fix incorrect Qemu binary selected when importing template. Fixes https://github.com/GNS3/gns3-gui/issues/3216
2021-08-24 17:26:06 +09:30
grossmj
77487e4fc3
Merge branch 'master' into 2.2
2021-08-05 15:54:16 +09:30
Jeremy Grossmann
b68f7a78a7
Merge pull request #1927 from candlerb/candlerb/1921
...
Support cloning of encrypted qcow2 base image files
2021-08-04 23:19:23 -07:00
Jeremy Grossmann
6cf268ca93
Merge pull request #1934 from GNS3/handle_no-kvm_deprecated
...
Handle -no-kvm param deprecated in Qemu >= v5.2
2021-07-27 17:37:41 +09:30
grossmj
4646ce684f
Handle -no-kvm param deprecated in Qemu >= v5.2
2021-07-27 16:34:51 +09:30
Andrej Krpič
3b7dc21ef0
Fix binary websocket access to the console
...
telnet_writer.write is not an async method - drain() is.
Remove async keyword so the call is the same as for the text websocket.
2021-07-26 12:58:35 +02:00
grossmj
0ecea8ffbb
Change how to generate random MAC addresses
2021-07-25 16:03:54 +09:30
Brian Candler
1ee3e14bd3
Support cloning of encrypted qcow2 base image files
...
Fixes #1921
2021-07-09 10:53:02 +01:00
grossmj
cdedd53339
Fix VMware VM support on Linux and Windows. Fixes #1919
2021-06-14 13:16:11 +09:30
Jeremy Grossmann
e78b5fa6d6
Fix typo
2021-06-12 15:20:55 +09:30
grossmj
c892cf371b
Fix VMware support on macOS BigSur
2021-06-08 11:56:33 +09:30
grossmj
971e86d254
Fix uBridge errors for cloud nodes not visible in logs. Fixes #1895
2021-05-16 14:59:02 +09:30
grossmj
9a6978902d
Fix tests.
2021-05-15 19:43:36 +09:30
grossmj
6294ad9e76
Prevent directory traversal
2021-05-15 17:35:32 +09:30
grossmj
8cce0eedee
Fix console type error when creating Ethernet switch node. Fixes #1873
2021-03-01 13:55:52 +10:30
grossmj
1043be02a6
Merge branch 'master' into 2.2
...
# Conflicts:
# gns3server/compute/qemu/qemu_vm.py
2021-02-16 19:02:12 +10:30
grossmj
9de61cd671
Fix warning: 'ide-drive' is deprecated when using recent version of Qemu. Fixes https://github.com/GNS3/gns3-gui/issues/3101
2021-02-14 14:39:02 +10:30
grossmj
9e6ccc3f61
Fix bug when starting of vpcs stopped with "quit". Fixes https://github.com/GNS3/gns3-gui/issues/3110
2021-02-14 13:50:10 +10:30
grossmj
128e494134
Stop uBridge if VPCS node has been terminated. Ref https://github.com/GNS3/gns3-gui/issues/3110
2021-01-27 21:03:19 +10:30
Brent Baccala
235a127111
Allow cloned QEMU disk images to be resized before the node starts,
...
by cloning the disk image in response to a resize request instead
of waiting until the node starts.
2020-12-30 15:36:38 -05:00
grossmj
5244ae6d4c
New config file options to configure the VNC console port range.
2020-12-03 18:04:42 +10:30
Bernhard Ehlers
e45bc5aec1
Fix mcopy error messages
2020-11-05 15:00:44 +01:00
grossmj
5dab0c2587
Prevent WIC to be added/removed while Dynamips router is running. Fixes https://github.com/GNS3/gns3-gui/issues/3082
2020-10-27 20:08:01 +10:30
Bernhard Ehlers
de2b9caeeb
Use HDD disk image as startup QEMU config disk
2020-10-19 03:19:22 +02:00
grossmj
362701f5aa
Allow commas in image paths and VM name for Qemu VMs. Fixes https://github.com/GNS3/gns3-gui/issues/3065
2020-10-11 14:02:22 +10:30
grossmj
91244456f5
Handle comma in disk path for Qemu VMs. Fixes https://github.com/GNS3/gns3-gui/issues/3065
2020-10-08 22:09:03 +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
399f1c082e
Add '-smp sockets=1' by default for Qemu VMs. Ref https://github.com/GNS3/gns3-gui/issues/3047
2020-09-13 23:16:52 +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
2bf625e000
Fix issue when resuming Qemu VM. Fixes https://github.com/GNS3/gns3-gui/issues/3027
2020-09-04 18:02:21 +09:30
grossmj
4843084158
Prioritize the config disk over HD-D for Qemu VMs.
...
Fixes https://github.com/GNS3/gns3-gui/issues/3036
(cherry picked from commit c12b675691
)
2020-08-18 10:54:11 +09:30
grossmj
f2ddef855f
Fix tests.
...
(cherry picked from commit 620d93634e
)
2020-08-15 16:35:31 +09:30
grossmj
ec02150fd2
Set default disk interface type to "none".
...
Fail-safe: use "ide" if an image is set but no interface type is configured.
Use the HDA disk interface type if none has been configured for HDD.
(cherry picked from commit 464fd804ce
)
2020-08-15 16:14:16 +09:30
grossmj
a56b816c1a
Add explicit option to automatically create or not the config disk. Off by default.
...
(cherry picked from commit 56aba96a5f
)
2020-08-14 17:57:24 +09:30
grossmj
c684c554bf
Fix tests
...
(cherry picked from commit 2ba6eac113
)
2020-08-13 17:10:31 +09:30
grossmj
1cbed45f16
Fix Dynamips ghost image support when project contains a space. Fixes #3015
2020-07-08 20:32:58 +09:30
Bernhard Ehlers
9acb2ceda1
QEMU config disk - improve error handling
...
(cherry picked from commit 068c31038f
)
2020-07-03 11:31:17 +02:00
Bernhard Ehlers
053828f3e8
QEMU config disk - init config disk in base class
...
(cherry picked from commit 2bbee15b18
)
2020-06-28 16:35:39 +02:00
Bernhard Ehlers
f747b3a880
QEMU config disk - notification of import/export errors
...
(cherry picked from commit 50c49cfedb
)
2020-06-28 09:21:57 +02:00
Bernhard Ehlers
750590d0db
QEMU config disk - use disk interface of HD-D, fallback is HD-A
...
(cherry picked from commit b672900406
)
2020-06-17 17:06:55 +02:00
grossmj
f498ab06b4
Wait longer for x11 socket file to be created. Ref #1761
2020-06-10 20:37:13 +09:30
grossmj
e1dab0dff4
Show error message if IPv6 is not enabled when using SPICE console. Fixes #1772
2020-06-09 15:06:41 +09:30
grossmj
58a19af9ac
Support to activate/deactive network connection state replication in Qemu.
2020-06-02 18:45:22 +09:30
grossmj
8536af33da
Fix tests.
2020-04-28 13:49:05 +09:30
Bernhard Ehlers
347035a99b
QEMU config disk - add missing config disk to image directory
...
(cherry picked from commit 2e0fba925b
)
2020-04-16 11:07:56 +02:00
Bernhard Ehlers
0db0f6256b
QEMU config disk - get rid of mtoolsrc
...
(cherry picked from commit 450c6cddc7
)
2020-04-15 20:50:59 +02:00
fadlytabrani
6fd60452c4
Add clipboard support for TigerVnc
...
There's currently no clipboard support for servers running on TigerVnc. TigerVnc clipboard support is provided by vncconfig that needs to be spawned for every display socket. The code changes above provides that functionality
2020-04-16 00:14:20 +10:00
grossmj
2606c2d9a7
Merge branch '2.3'
...
# Conflicts:
# gns3server/version.py
2020-04-08 19:39:35 +09:30
Bernhard Ehlers
99d9728360
QEMU config disk - preserve file timestamp on zip unpack
...
(cherry picked from commit 5c44268476
)
2020-04-07 14:11:00 +02:00
Bernhard Ehlers
6a1eef0627
QEMU config disk - initial implementation. Ref #2958
...
(cherry picked from commit b69965791d
)
2020-04-06 12:56:00 +02:00
Torstein Husebø
f9ab4ffb96
fix warning that you are explicitly comparing literals
2020-04-02 21:26:23 +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
afbbf7a524
Add Xvnc command to the VNC servers list. Fixes #172
2020-03-19 19:06:51 +10:30
grossmj
aa1b621c10
Improvement of support for docker USER directive. Fixes #1727 .
2020-03-19 17:50:27 +10:30
grossmj
6aed064a86
Fix cannot delete Dynamips router the content of the "usage" field. Fixes https://github.com/GNS3/gns3-gui/issues/2947
2020-03-16 16:38:23 +10:30
grossmj
6eb62ad179
Remove 'format=raw' from the Qemu options of the disk interfaces. Ref #1699
2020-02-24 20:06:45 +08:00
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
92ac250bc7
Add nvme disk interface and fix scsi disk interface for Qemu VMs.
2020-01-25 16:22:34 +08:00
grossmj
667d50aa4a
Disallow using "legacy networking mode" with Qemu >= 2.9.0
2020-01-24 19:06:24 +08:00
grossmj
ab4b391a02
Handle "aborted" state for VirtualBox VMs. Fixes #1702
2020-01-23 18:00:33 +08:00
grossmj
a47fa83cec
Fix renaming IOL hostname replaces %h only in a single place. Fixes #1707
2020-01-08 01:24:47 +08:00
grossmj
50b507f76c
Fix cannot power on VirtualBox VM in saved state. Ref #1702
2019-12-05 13:46:02 +08:00
grossmj
05b949930d
Fix tests.
2019-11-08 17:25:59 +08:00
grossmj
4075bbd703
Fix exception when adding VirtualBox VM. Fixes #1685 .
2019-11-08 17:13:21 +08:00
grossmj
539cf640d8
Change the default UDP port range to be 20000 to 30000. Ref #1271
2019-11-06 12:25:30 +08:00
grossmj
ff9bd59ef8
Fix how PCI bridges are created for Qemu VMs with greater than 32 interfaces.
2019-11-03 17:56:52 +08:00
grossmj
4ab3f281c5
Fix broken support for cloned VirtualBox VMs. Fixes https://github.com/GNS3/gns3-gui/issues/2889
2019-11-03 16:34:24 +08:00
grossmj
df9b40c1dc
Fix QEMU link detection flaky on last port. Fixes #1666
2019-10-15 23:42:42 +08:00
grossmj
f5c02368e6
Fix tests.
2019-10-09 17:47:22 +08:00
grossmj
7cfd0d4d1d
Use compatible shlex_quote to handle case where Windows needs double quotes around file names, not single quotes. Ref https://github.com/GNS3/gns3-gui/issues/2866
2019-10-09 17:02:30 +08:00
grossmj
af3ae0df24
Merge branch '2.1'
...
# Conflicts:
# gns3server/compute/dynamips/nodes/atm_switch.py
2019-09-30 16:11:26 +08:00
grossmj
87390274cc
Add debug message for what directory is checked for Qemu binaries. Ref #1655
2019-09-30 15:54:57 +08:00
grossmj
2cfac30810
Fix single quote is not closed. Fixes #1654
2019-09-17 18:54:18 +07:00
grossmj
67e70c4628
Fix wrong Dynamips command used to rename an ATM switch. Fixes #1651
2019-09-11 15:06:08 +07:00
Jeremy Grossmann
2e41328ae9
Merge branch 'master' into fix-sata
2019-09-05 17:36:53 +07:00
David Kreitschmann
8105b68d52
Don't specify the PCI bus for AHCI device
...
pci.X is not always defined, let qemu handle this.
I think PCI buses only exist if PCI network adapters are defined, this
is not the case with virtio.
2019-09-03 16:03:27 +02:00
David Kreitschmann
906f29d5fc
Add id value to all qemu drives
...
A fixed id doesn't hurt and now we can select Disk Interface=none in
GNS3 and e.g. attach the volume as a USB thumb drive with -device
usb-storage,drive=drive0,...
2019-09-03 15:54:51 +02:00
grossmj
b0f74c2a5e
Fix issue when trying to rename a Dynamips node that is already powered on. Fixes #2824
2019-07-10 15:40:11 +02:00
grossmj
aad74dbcb9
Add debug message when searching for an image. Ref https://github.com/GNS3/gns3-gui/issues/2828
2019-07-10 11:16:50 +02:00
Jeremy Grossmann
239d9e6fd6
Merge pull request #1599 from GNS3/cdrom-refresh
...
Refresh mounted media after ISO switch
2019-06-15 15:26:48 +02:00
grossmj
7a463676cd
Eject cdrom first before changing an image. Use 'force' when ejecting.
2019-06-15 15:20:21 +02:00
grossmj
b7af2e4d5c
Refresh mounted media after ISO switch.
2019-06-12 14:23:03 +02:00
Jeremy Grossmann
b002812907
Merge pull request #1597 from kazkansouh/2.2-fix-1595-volumes
...
Fix for issue #1595
2019-06-05 12:10:34 +02:00
Karim
af78031322
Resolve conflicts in docker volumes instead of error. Fixes https://github.com/GNS3/gns3-server/issues/1595
2019-06-05 10:40:40 +01:00
grossmj
61c87e57a4
Use console port to allocate guest CID (console ID) for Qemu VMs. Fixes #2804
2019-06-05 11:25:35 +02:00
grossmj
9cce4de190
%guest-cid% variable implementation for Qemu VMs. Fixes https://github.com/GNS3/gns3-gui/issues/2804
2019-06-04 18:00:44 +02:00
grossmj
3b87a19979
Do not start QEMU console if QEMU process is not started. Fixes https://github.com/GNS3/gns3-gui/issues/2712
2019-05-25 15:31:35 +07:00
grossmj
a86f881d83
Avoid sending warning message all the time for Ethernet switch.
2019-05-23 15:57:08 +07:00
grossmj
28004479fd
Change behavior when an IOU license is verified. Fixes https://github.com/GNS3/gns3-server/issues/1555
2019-05-20 10:51:24 +07:00