1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-25 01:38:08 +00:00
Commit Graph

1601 Commits

Author SHA1 Message Date
Julien Duponchelle
07395c9cf2
Kill ghosts process at startup (Dynamips, VPCS, Ubridge)
This is done only if you lock by pid to avoid killing process
of another server.

Fix #581
2016-06-20 09:55:59 +02:00
Julien Duponchelle
38a41a1cfd
1.5.0dev6 2016-06-15 18:53:04 +02:00
Julien Duponchelle
8fbfae6a98
1.5.0rc2 2016-06-15 18:51:31 +02:00
Julien Duponchelle
5ca9becdf9
Do not crash if we can not cleanup a temporay project
Fix #576
2016-06-15 11:08:31 +02:00
Julien Duponchelle
bb0db7846f
Fix black screen with Qt app in Docker container
Fix #556
2016-06-15 11:01:03 +02:00
Julien Duponchelle
e82862c69f
Detect when command in the container exit
Fix #571
2016-06-15 10:32:38 +02:00
Julien Duponchelle
d98a7aac19
Docker when exit aux console restart it
Ref #571
2016-06-15 10:21:30 +02:00
Julien Duponchelle
43a3584a5c
Pass by default the environment variable container=docker
Fix #573
2016-06-15 10:12:32 +02:00
Julien Duponchelle
049c348709
Fix busybox binary location
Fix #570
2016-06-14 23:09:28 +02:00
Julien Duponchelle
343f2b574d
Avoid loosing console port for Docker
Fix #569
2016-06-13 21:20:29 +02:00
Julien Duponchelle
016c3e515b
Workaround a crash in x11vnc
Fix? #569
2016-06-13 20:12:42 +02:00
Julien Duponchelle
4f03c3011e
Delete volume when dropping the container
Fix #567
2016-06-13 17:39:04 +02:00
Julien Duponchelle
e183e7da27
Catch connection reset in ioucon 2016-06-13 16:28:26 +02:00
grossmj
313226786f Delete vlan.dat for L2IOL during config import. Fixes #1285. 2016-06-09 17:47:45 -06:00
Julien Duponchelle
df7d26e418
Fix for copy VOLUMES by @ehlers 2016-06-07 09:27:37 +02:00
Julien Duponchelle
c829a250a9
Revert "Integrate fixes from @ehlers"
This reverts commit 775ee4259e.
2016-06-07 09:26:27 +02:00
Julien Duponchelle
775ee4259e
Integrate fixes from @ehlers 2016-06-06 18:27:49 +02:00
Julien Duponchelle
e335015520
Copy original ressources from VOLUMES
Fix #561
2016-06-06 12:39:29 +02:00
Julien Duponchelle
469187c584
1.5.0dev5 2016-06-01 20:32:23 +02:00
Julien Duponchelle
ad7ecb8850
1.5.0rc1 2016-06-01 20:24:48 +02:00
Julien Duponchelle
9b99a03cbf
Fix working dir when starting a docker container 2016-06-01 20:13:48 +02:00
Julien Duponchelle
3aed651062
Always use busybox for docker permission fix 2016-06-01 20:09:15 +02:00
Julien Duponchelle
435dc82873
Save an restore docker permission
Fix #550
2016-06-01 18:16:56 +02:00
Julien Duponchelle
ae687346f1
Export the list of volumes to a env variable accessible in the container
Ref #550
2016-06-01 11:39:42 +02:00
Julien Duponchelle
d3436756b2
Fix permissions and ownership when stopping container
Fix #550
2016-05-31 21:08:41 +02:00
Julien Duponchelle
6f7b06e66f
Fix a crash when docker start command is None
Ref #550
2016-05-31 16:32:12 +02:00
Julien Duponchelle
009ffcb4ef
Ubridge 0.9.4 is require
Ref #551
2016-05-31 15:46:07 +02:00
grossmj
3f61fbeb0e Generate a MAC address using the project + node UUID. Ref #522. 2016-05-30 11:52:08 -06:00
Julien Duponchelle
e65648398b
Catch extra args in windows signal handler 2016-05-30 15:29:57 +02:00
grossmj
ea7754f1c8 Allow to block network traffic originating from the host OS for vmnet interfaces (Windows only). 2016-05-28 13:39:21 -06:00
grossmj
914fe7e750 Randomize the 4th and 5th bytes when provided with a base mac address. Fixes #522. 2016-05-27 23:00:05 -06:00
Julien Duponchelle
8e3e3c08f8
Fix an import error when you have no GNS3 VM 2016-05-27 16:09:41 +02:00
Julien Duponchelle
e497e98ca1 Warn if you can not export a file due to permission issue
Fix #543
2016-05-27 14:45:02 +02:00
grossmj
3fd0a6d638 Do not delete adapters when stopping a VMware VM. Ref #1066.
Allocate a new vmnet interface if vmnet 0 1 or 8 is set to a custom adapter.
Set adapter type to all adapters regardless if already configured or added by GNS3.
2016-05-23 15:53:03 -06:00
grossmj
851ba074e7 Set default VMware VM adapter type to e1000. 2016-05-23 14:14:42 -06:00
Julien Duponchelle
cdd54b951a
1.5.0 dev 4 2016-05-23 15:13:19 +02:00
Julien Duponchelle
1ddb16eca0
1.5.0b1 2016-05-23 15:08:23 +02:00
grossmj
7bc0570735 Allow an IOS router to stop even the Dynamips hypervisor command fail to be sent. Ref #488. 2016-05-21 19:13:36 -06:00
grossmj
1ae17b74df Extract private-config only when necessary (content is different than the default). Fixes #520. 2016-05-21 18:58:28 -06:00
grossmj
cb6df28f59 Fixes disabling the VPCS relay feature. Fixes #521. 2016-05-21 17:42:34 -06:00
grossmj
3e89543ab9 Fixes wrong exception in Docker VM implementation. 2016-05-21 15:19:32 -06:00
grossmj
a2ebbaa322 Force Npcap DLL to be used first for Dynamips and uBridge (instead of the one from Winpcap if installed). 2016-05-21 14:43:10 -06:00
grossmj
67e346ba92 Fixed startup-config is lost if you change any IOS router settings. Fixes #1233. 2016-05-21 13:20:18 -06:00
grossmj
acdc1e5ebb Fixes check for NPF service and add check for NPCAP service on Windows. 2016-05-20 20:19:28 -06:00
Julien Duponchelle
2bb062c61e
Fix ProcessLookupError X11VNC
Fix #534
2016-05-19 13:23:53 +02:00
Julien Duponchelle
a741662636
Force tag latest for docker image if no tag is specified
Fix #533
2016-05-19 13:09:07 +02:00
Julien Duponchelle
871fea33e0
Cleanup unbreakable space 2016-05-18 11:23:45 +02:00
Julien Duponchelle
8cb5cedb5d
Do not raise error if vmrun.exe is named vmrun.EXE 2016-05-17 09:28:05 +02:00
Julien Duponchelle
bc33683e47
Load docker api only for Linux
Fix #525
2016-05-16 16:47:27 +02:00
Julien Duponchelle
fa140e991c
Merge branch 'master' into 1.5 2016-05-11 16:16:11 +02:00
Julien Duponchelle
f4b79af45f
Move tools for creating self signed certificate to clean repo 2016-05-11 16:13:32 +02:00
Julien Duponchelle
f414ce459a
1.5.0dev3 2016-05-11 10:03:03 +02:00
Julien Duponchelle
366e9620dc
Prepare 1.5.0 alpha 2 2016-05-10 19:14:50 +02:00
Julien Duponchelle
e108a9e136
Prepare alpha 1 2016-05-10 17:58:11 +02:00
Julien Duponchelle
9e2043bfa8
Ensure that the connection to docker is closed when leaving server
Fix https://github.com/GNS3/gns3-gui/issues/1227
2016-05-10 12:14:48 +02:00
Julien Duponchelle
28f7c2a1cd
Ensure in all cases the docker console is closed before restart
Fix https://github.com/GNS3/gns3-gui/issues/1226
2016-05-10 11:39:59 +02:00
Jeremy Grossmann
c7d58eb3b3 Merge pull request #518 from GNS3/detect_eth
Wait for all interfaces available in container
2016-05-09 10:54:37 -06:00
Jeremy Grossmann
41f02dad54 Merge pull request #516 from GNS3/improve_parse_version
Improve parse_version
2016-05-07 11:02:58 -06:00
grossmj
76cc1d2750 Fixes call to export project. 2016-05-07 10:39:32 -06:00
Julien Duponchelle
2cdfd6c0d7
Wait for all interfaces available in container
Fix #511
2016-05-06 19:07:18 +02:00
Julien Duponchelle
57cf57b408
Improve parse_version
Ref #515
2016-05-06 17:09:03 +02:00
grossmj
16b5bb8810 Workaround for exception when using gns3server.utils.parse_version. Fixes #513. 2016-05-05 10:15:51 -06:00
Julien Duponchelle
56c153af79
Make HTTP support more reliable with home made HTTP server 2016-05-04 16:32:45 +02:00
Julien Duponchelle
9beca700a5
PEP8 2016-05-04 16:32:37 +02:00
Julien Duponchelle
8e429ee4c1
Ban port dissalowed by chrome and firefox 2016-05-03 21:07:01 +02:00
Julien Duponchelle
f3095d94c1
Replace port in HTTP flow for docker 2016-05-03 18:01:23 +02:00
Julien Duponchelle
5fd385159c
HTTP support for docker
Fix #509
2016-05-03 16:49:33 +02:00
Julien Duponchelle
dcbaa62df8
Better aux console for docker
Fix #472
2016-05-03 11:33:43 +02:00
Julien Duponchelle
e9fb7f4981
Make sure an image is not partially uploaded
Fix #505
2016-05-02 17:25:46 +02:00
Julien Duponchelle
d952718f30
Fix RuntimeWarning: You have iterated over the result of
pkg_resources.parse_version. This is a legacy behavior

Fix #504
2016-05-02 17:14:15 +02:00
Julien Duponchelle
c17e00204f
Auto reconnect to docker if connection was closed
Fix #507
2016-05-02 16:55:05 +02:00
Julien Duponchelle
936faaba5a
gns3z => gns3project 2016-05-02 10:33:04 +02:00
grossmj
5c1522f24a Bump version to 1.5.0dev2 2016-04-28 23:47:17 -06:00
Julien Duponchelle
848120c354
1.4.7dev1 2016-04-28 18:38:11 +02:00
Julien Duponchelle
8a19afd618
1.4.6 2016-04-28 18:27:33 +02:00
Julien Duponchelle
815ef6066d
Merge branch 'master' into 1.5 2016-04-28 16:52:29 +02:00
Julien Duponchelle
85f571ee8b
Solve wintypes import 2016-04-28 16:35:58 +02:00
Julien Duponchelle
cf1b7ebe1f
Raise error if qemu can not create backing image 2016-04-27 15:12:15 +02:00
grossmj
4fc5364ab5 More robust save/restore for VirtualBox linked clone VM hard disks. 2016-04-26 15:44:11 -06:00
grossmj
4a91d8a6a5 Prevent non linked cloned hard disks to be detached when using VirtualBox linked cloned VMs. Fixes #1184. 2016-04-26 15:06:22 -06:00
grossmj
b408f29726 Stricter checks to match VMware version to the right vmrun (VIX library) version.
Also checks the VIX library version when only using the GNS3 VM running in VMware.
2016-04-26 13:12:42 -06:00
Julien Duponchelle
1d08d4a5fa
Merge branch 'master' into 1.5 2016-04-26 11:49:24 +02:00
Julien Duponchelle
6d6e8196d2
Allow only .pcap to be downloaded from remote stream API
Fix #500
2016-04-26 09:52:18 +02:00
Julien Duponchelle
75196b8a55
Fix incrementation of qemu mac address
Fix #501
2016-04-25 16:36:20 +02:00
Julien Duponchelle
7ffdd0fab1
Fix broken connectivity between containers
Fix #502
2016-04-25 16:09:04 +02:00
Julien Duponchelle
637a7326ec
Ignore captures during project export 2016-04-21 17:02:05 +02:00
Julien Duponchelle
7f77c66888
Support VMware VM in non standard location for fusion 2016-04-13 09:38:58 +02:00
Julien Duponchelle
b7a859fa30
Import / Export with images
Ref https://github.com/GNS3/gns3-gui/issues/1173
2016-04-12 10:11:45 +02:00
Julien Duponchelle
cd393491d5
At export use only relative image path
Fix https://github.com/GNS3/gns3-gui/issues/1176
2016-04-11 17:18:03 +02:00
Julien Duponchelle
ae5468a2d3
When starting docker raise proper error if ubridge is not available
Fix #484
2016-04-08 16:13:42 +02:00
grossmj
ec6e5a6118 Do not send warnings back to the GUI when a console port not in range or is already taken. 2016-04-07 14:42:52 -06:00
Julien Duponchelle
f1737a6e43
Merge branch 'master' into 1.5 2016-04-07 14:44:56 +02:00
Julien Duponchelle
e3b95fe9ce
Just log debug if docker link we try to destroy is already closed
Fix https://github.com/GNS3/gns3-gui/issues/1159
2016-04-07 14:33:21 +02:00
Julien Duponchelle
dff74352f7
Allow multiple user connected to the same VNC for docker 2016-04-07 14:24:53 +02:00
Julien Duponchelle
977ccabf98
Server support for VNC console resolution
Ref https://github.com/GNS3/gns3-gui/issues/1165
2016-04-07 13:29:11 +02:00
Julien Duponchelle
ad6fb664a2
Fix detection of EOF in Docker telnet console
Fix #476
2016-04-07 10:58:37 +02:00
Jeremy Grossmann
6bc54b17c7 Merge pull request #481 from GNS3/import_linux
Flatten the project at export and support import for Linux
2016-04-06 11:55:46 -06:00
Jeremy Grossmann
bb63f51f80 Merge pull request #478 from GNS3/qcow2_rebase
Qcow2 rebase
2016-04-06 11:55:06 -06:00
Julien Duponchelle
b335daf857
Cleanup 2016-04-06 18:27:30 +02:00
Julien Duponchelle
b93c85c390
Allow to change the number of adapters for Docker (server side) 2016-04-06 16:01:34 +02:00