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

1411 Commits

Author SHA1 Message Date
Julien Duponchelle
a7ec224b6d
Docker capture and refactor common capture code
Fix https://github.com/GNS3/gns3-gui/issues/891
2016-02-09 16:07:33 +01:00
Julien Duponchelle
89e86b7778
Create veth for docker even if link is not connected
Fix #406
2016-02-09 14:22:37 +01:00
Julien Duponchelle
942d07c8ce
Removed docker support from 1.4 (drop unused code) 2016-02-08 13:40:14 +01:00
Julien Duponchelle
f6fb0623be
Merge branch 'master' into 1.5 2016-02-08 13:14:30 +01:00
Julien Duponchelle
3fc64bced2
Fix a crash if you create a file named IOS in the image dir
Fix #419
2016-02-05 10:29:27 +01:00
Julien Duponchelle
373113545f
Code cleanup 2016-02-05 10:07:13 +01:00
Julien Duponchelle
5bee927481
Disallow creating project with " in the path
It's not supported by dynamips.

Fix https://github.com/GNS3/gns3-gui/issues/987
2016-02-04 11:47:48 +01:00
grossmj
4f61443b20 Always look at the registry to find vmrun.exe on Windows. 2016-02-03 19:08:41 -07:00
grossmj
4673424da7 Check for VMware VIX library version. Fixes #413. 2016-02-03 18:15:33 -07:00
grossmj
40261ec99c Fixes VDE not working #345. 2016-02-03 16:26:15 -07:00
Jeremy Grossmann
3e4423f663 Merge pull request #418 from GNS3/no_spice
Do not list qemu binary with -spice in the name
2016-02-03 13:45:03 -08:00
Julien Duponchelle
537122daba
Do not list qemu binary with -spice in the name
It's create confusion and you can enable spice with the -spice
options.

Fix https://github.com/GNS3/gns3-gui/issues/981
2016-02-03 16:40:39 +01:00
Julien Duponchelle
fd22cd8361
Send command line used to start the VM to client
Add a command_line attribute to the VM object with
the command line used to start the VM.

Now /start return the object in order to get
this new attribute. And the HTTP status code
is 200 instead of 204 because 204 disallow body.

Support:
* Qemu
* Dynamips
* IOU

Ref https://github.com/GNS3/gns3-gui/issues/513
2016-02-02 18:25:17 +01:00
Julien Duponchelle
71c3bda0a5
Fix crash if you have a { in your user name
Fix #414
2016-02-02 10:05:08 +01:00
Julien Duponchelle
53d60bc71a
1.4.2dev1 2016-02-01 17:48:10 +01:00
Julien Duponchelle
ce7ac0505a
1.4.1 2016-02-01 17:46:05 +01:00
Julien Duponchelle
4a3322b822
Add HTTP status to docker error 2016-02-01 17:42:32 +01:00
Julien Duponchelle
98537a242a
Drop duplicate code when ubridge is too old
Fix #405
2016-02-01 16:05:37 +01:00
Julien Duponchelle
03414993dc
Merge branch 'master' into 1.5 2016-02-01 15:47:46 +01:00
Julien Duponchelle
bf316f35cc
VMware raise error if version is not found
Fix #972
2016-02-01 14:26:55 +01:00
Julien Duponchelle
889ea14973
For topologies before 1.4 manage qemu missing
If qemu is missing for topologies before 1.4 we try
to search it in the path.

Ref #921
2016-01-28 16:24:24 +01:00
grossmj
2e05290206 Fixes issue with packet capture on VMware VMs. Fixes #396. 2016-01-26 14:45:55 -07:00
grossmj
39ddc4e8c1 Fixes concurrency issue when closing multiple VMware linked clone VMs. Fixes #410. 2016-01-26 14:23:01 -07:00
grossmj
a279bfe1d9 Fixes "can only use tap interfaces that both already exist and are up". Fixes #399. 2016-01-26 13:48:58 -07:00
Julien Duponchelle
58b998600e Send machine stats via the notification stream
Fix #252
2016-01-26 16:35:00 +01:00
Julien Duponchelle
119a2a3b66 Add test for unicode char in images path
Ref #401
2016-01-26 15:32:40 +01:00
Julien Duponchelle
ee2104ba35 Check for /dev/kvm instead of kvm-ok
Fix #411
2016-01-26 13:58:29 +01:00
Julien Duponchelle
425a05ecd8 Bump to 1.4.1dev2 2016-01-26 13:50:13 +01:00
Julien Duponchelle
5617ddc4cc Show a warning when starting ASA8 2016-01-22 19:46:05 +01:00
Julien Duponchelle
179372936e Raise error if ubridge is missing 2016-01-22 10:07:55 +01:00
Julien Duponchelle
5deb584a03 Fix bug when reading docker images
Fix #398
2016-01-21 18:03:51 +01:00
Julien Duponchelle
c280fd5fb8 Merge branch 'master' into 1.5 2016-01-20 17:10:59 +01:00
Julien Duponchelle
e9c2a76f43 Fix error when setting Qemu VM boot to 'cd' (HDD or CD/DVD-ROM)
Fix #400
2016-01-20 13:19:33 +01:00
Vasil Rangelov
a9eae691f6 Fixed the VMware default VM location on Windows, so that it doesn't assume the "Documents" folder is within the %USERPROFILE% folder, and also support Windows Server's folder (which is "My Virtual Machines" instead of "Virtual Machines"). 2016-01-18 00:48:24 +02:00
Julien Duponchelle
2938b97bd4 Improve dynamips startup_config dump
Two change:
1) Dump the config when you stop the node. This avoid scenar
2) Disallow empty startup config. If it's empty send ! it's
avoid dynamips crash

Fix #914
2016-01-15 18:02:52 +01:00
Julien Duponchelle
f83e878d89 Dump environnement to server debug log
Ref https://github.com/GNS3/gns3-gui/issues/921
2016-01-15 10:11:32 +01:00
Julien Duponchelle
8225bad76b Fix usage of qemu 0.10 on Windows
Fix #392
2016-01-14 17:40:58 +01:00
Julien Duponchelle
ba4128f57b Show hostname when the hostname is missing in the iourc.txt 2016-01-13 16:37:50 +01:00
Julien Duponchelle
a8c03f754b 1.4.1dev1 2016-01-13 09:22:28 +01:00
Julien Duponchelle
e3beea0378 1.4.0 2016-01-12 17:40:47 +01:00
Julien Duponchelle
f92ac6e52e Fix a crash when docker is not available 2016-01-11 19:11:25 +01:00
Julien Duponchelle
758fb2a0e7 adapter_remove_nio_binding is a coroutine for all device type
It's cleaner
2016-01-11 15:19:15 +01:00
Julien Duponchelle
5a28b9409a Fix Crash at startup when docker is not installed
Fix #384
2016-01-06 15:13:22 +01:00
Julien Duponchelle
1f756c0d4f Merge branch '1.4' into 1.5 2016-01-06 14:35:48 +01:00
Julien Duponchelle
bcd9851eee 1.4.0dev14 2016-01-06 14:32:39 +01:00
Julien Duponchelle
e599c28c1c 1.4.0rc3 2016-01-05 18:43:58 +01:00
Julien Duponchelle
d184b65800 Improve PR #386
* Add more test
* Check to kvmi-ok is asynchronous
2016-01-04 16:30:06 +01:00
Julien Duponchelle
fba049767a Merge branch 'addCapabilities' of https://github.com/boenrobot/gns3-server into boenrobot-addCapabilities 2016-01-04 12:09:44 +01:00
Julien Duponchelle
fab8b3f46f Fix race condition when killing iouyap
Fix #387
2016-01-04 10:42:46 +01:00
Julien Duponchelle
884bfa4724 Merge branch '1.4' into 1.5 2016-01-04 09:21:14 +01:00
Julien Duponchelle
137cf59e97 Catch exception if we can't change process priority on Windows
Fix #380
2016-01-03 21:24:18 +01:00
Vasil Rangelov
d00efbfb0f Adds a handler for getting the Qemu related capabilities of the server. Currently includes just a check for KVM architectures. 2016-01-03 19:38:16 +02:00
Vasil Rangelov
a4d9f95c9b Fixed showing of Qemu hdb_disk_interface - it showed hda_disk_interface instead, which resulted in an odd visual glitch in the GUI. 2016-01-01 02:44:23 +02:00
Julien Duponchelle
061b459abe Prevent error when quick close of gns3 server after docker usage
Fix #382
2015-12-29 12:40:22 +01:00
Jeremy Grossmann
8cf55166cb Merge pull request #379 from GNS3/docker_cleanup
Docker cleanup and improvements
2015-12-24 14:56:24 -08:00
Julien Duponchelle
8de90d8236 Ubridge 0.9.3 is require 2015-12-22 17:33:47 +01:00
Julien Duponchelle
7e196cabc1 Merge branch '1.4' into 1.5 2015-12-22 17:33:18 +01:00
Julien Duponchelle
31046358cc Add more informations in the debug status page
* Number of VM in a project
* Number of client connected
2015-12-22 15:19:38 +01:00
Julien Duponchelle
a0987bbc92 Fix status link in GNS3 homepage 2015-12-22 14:58:51 +01:00
Julien Duponchelle
61cf91d83c Fix tests on Windows
Fix #377
2015-12-22 13:16:30 +01:00
Julien Duponchelle
16b4d60151 New crash report key 2015-12-21 20:50:37 +01:00
Julien Duponchelle
8312a54615 Fix missing boot priority order 2015-12-21 10:17:22 +01:00
Julien Duponchelle
33edbefa3b Docker cleanup and improvements 2015-12-18 18:20:56 +01:00
Julien Duponchelle
6a808927d2 1.5.0dev1 2015-12-18 18:15:56 +01:00
Julien Duponchelle
286cd7a3ac A debug status page embed in the server 2015-12-18 14:38:26 +01:00
Julien Duponchelle
480ca037cd Fix test on Windows
Sadly python crash on my Windows and I can't run the full test
suite.

Fix #377
2015-12-14 16:06:51 +01:00
Julien Duponchelle
ad4501838b Merge branch 'master' into unstable 2015-12-11 14:35:08 +01:00
Julien Duponchelle
ce5a29b29a 1.4.0dev13 2015-12-11 14:34:13 +01:00
Julien Duponchelle
a2f0745e81 1.3.14dev1 2015-12-11 14:33:37 +01:00
Julien Duponchelle
38745be5fe 1.3.13 2015-12-11 09:21:20 +01:00
Julien Duponchelle
a827f6b2de 1.3.12 2015-12-11 09:18:27 +01:00
grossmj
55034dd24f Update links for new website. 2015-12-10 15:00:16 -07:00
Julien Duponchelle
55dc0d587d 1.4.0rc2 2015-12-10 19:41:28 +01:00
Jeremy Grossmann
a9e1801e7d Merge pull request #374 from GNS3/patch_used_port
Replace by another TCP port if port is already used
2015-12-09 21:24:04 -08:00
Julien Duponchelle
1e97a544e6 1.4.0dev12 2015-12-08 16:27:37 +01:00
Julien Duponchelle
7dfb386a66 Add log about wher iou capture packet 2015-12-08 16:11:40 +01:00
Julien Duponchelle
2aaad4749b Replace by another TCP port if port is already used
Another version of #370

This time we replace a free TCP port if port is used and raise
a warning to the user.
2015-12-07 12:26:46 +01:00
Julien Duponchelle
f3b71dcdef Fix ProcessLookupError in Qemu
Fix #373
2015-12-07 10:50:34 +01:00
grossmj
a67b218bde Increase vmrun timeout to 120 seconds. Ref #360. 2015-12-05 18:37:34 -07:00
grossmj
1071b6366f Fixes termination notification to indicate the right process name (IOU vs iouyap). Ref #359. 2015-12-05 18:24:08 -07:00
grossmj
19d5c1c05b Fixes error with non initialized uBridge. Fixes #367. 2015-12-05 17:36:55 -07:00
Julien Duponchelle
a6826fe0bf Remove debug that can crash qemu
Fix #365
2015-12-01 19:30:39 +01:00
Julien Duponchelle
42a4df5079 Support VM usage for qemu
Ref https://github.com/GNS3/gns3-gui/issues/829
2015-12-01 10:54:51 +01:00
Julien Duponchelle
e626c0b55c Raise an error if psutil version is invalid
Fix #361
2015-12-01 09:42:36 +01:00
Julien Duponchelle
535afdba5e 1.4.0rc1 2015-11-12 17:52:15 +01:00
Julien Duponchelle
5b347fe48f Raise error if server received windows path 2015-11-12 15:38:47 +01:00
Julien Duponchelle
58e7fa2f01 Update sentry key
Fix #357
2015-11-12 11:25:23 +01:00
Julien Duponchelle
c7cc155b78 Merge branch 'master' into unstable 2015-11-12 10:55:19 +01:00
grossmj
11cf2294da Remove NIO FIFO and Mcast (unused). Fixes #348. 2015-11-11 16:20:28 -07:00
Julien Duponchelle
3f4da9050c Support VPCS 0.6.1 2015-11-11 21:57:58 +01:00
Julien Duponchelle
63edcc1c34 Fix duplicate of -no-kvm options
Fix #356
2015-11-10 16:25:02 +01:00
Julien Duponchelle
caade47e16 Fix tests about images paths security 2015-11-10 15:21:10 +01:00
Julien Duponchelle
390c88d7cd Raise an error if user send a non local path to remote server 2015-11-09 19:02:10 +01:00
Julien Duponchelle
ab4c8665e4 Fix backup projects and a qemu broken tests 2015-11-09 14:17:19 +01:00
Julien Duponchelle
ac16ee5bc6 Fix minor issues 2015-11-09 12:32:36 +01:00
Julien Duponchelle
da240f21ba Apply pep8 fix 2015-11-09 12:28:00 +01:00
Julien Duponchelle
1248584841 Cleanup unused and duplicates 2015-11-09 12:14:25 +01:00
Julien Duponchelle
58d2a5d4b0 Support VPCS 0.6.1
Fix #347
2015-11-09 10:26:16 +01:00
grossmj
bd47c21514 Sets console end port to 7000. Fixes #343. 2015-11-08 18:14:55 -07:00
grossmj
c3e99bfc1d Drop netifaces (replaced by psutil). Fixes #344. 2015-11-08 13:34:27 -07:00