Commit Graph

668 Commits

Author SHA1 Message Date
0921df520c Return controller version as server version (temporary) 2016-03-04 16:58:53 +01:00
0532b4de8a Fix logging issues with the controller 2016-03-04 16:55:59 +01:00
4d77b2918e Raise an error if server flagged as local but should not
If the controller is not started with --local but the server ID
is local it's raise an error.
2016-03-04 16:11:31 +01:00
ee4b094160 Fix tests on @ehlers Docker init patch 2016-03-04 09:08:40 +01:00
aad69e9650 Create a /server API for register servers
This allow to push to the controller information about
the connection to a server.
2016-03-03 16:05:09 +01:00
84eb8356e8 Create a container class and a flag for enable it from command line
Ref #417
2016-03-02 09:49:52 +01:00
eae6f33e29 Inject an init script
It's very basic for the moment

Ref #1089
2016-03-01 18:38:03 +01:00
59c1e125d3 Change the name of veth to avoid bugs :(
Fun stuff the name create different behavior with
network manager.

Ref #440
2016-03-01 15:33:30 +01:00
dab1b26569 Aux console for Docker
Fix https://github.com/GNS3/gns3-gui/issues/1039
2016-03-01 14:53:43 +01:00
03ffce0a75 Docker VNC support
Ref https://github.com/GNS3/gns3-gui/issues/947
2016-02-29 23:09:47 +01:00
9d28f4c0c3 Refactor aux port allocation
This move the allocation of aux port to the base vm.
Also now the free of console port during the close is in the
base VM.

An aux port is allocated to the docker container but not used
for the moment.

Ref https://github.com/GNS3/gns3-gui/issues/1039
2016-02-29 10:44:08 +01:00
c333e9451f Fix pull of images
Fix #445
2016-02-24 17:08:28 +01:00
2d42f32d71 Restart the container if running and you change the hostname
Fix #439
2016-02-24 15:47:53 +01:00
057b637961 Set the hostname for docker containers
Fix #437
2016-02-23 19:22:35 +01:00
f35c742b07 Avoid consuming 100% of CPU when stopping docker container
Fix #427
2016-02-19 17:53:17 +01:00
f4f9e6eba6 Fix Docker has returned an error: 500 b'No command specified'
Fix #433
2016-02-19 17:01:28 +01:00
7aedfc92fa Fix test 2016-02-17 10:37:22 +01:00
01e2fcf225 Fix docker console port lost during update
Fix https://github.com/GNS3/gns3-gui/issues/1026
2016-02-12 16:38:16 +01:00
1532b3ed9b Support for mounting volumes
Fix #425
2016-02-12 11:57:56 +01:00
9b0088728f Catch docker namespace error
Fix #424
2016-02-11 15:49:28 +01:00
5a8408cdb9 Fix a crash in Travis tests
Fix #422
2016-02-10 17:14:14 +01:00
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
89e86b7778 Create veth for docker even if link is not connected
Fix #406
2016-02-09 14:22:37 +01:00
f6fb0623be Merge branch 'master' into 1.5 2016-02-08 13:14:30 +01:00
373113545f Code cleanup 2016-02-05 10:07:13 +01:00
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
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
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
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
03414993dc Merge branch 'master' into 1.5 2016-02-01 15:47:46 +01:00
29089f1884 Cleanup an old kvm-ok test 2016-01-28 17:54:29 +01:00
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
58b998600e Send machine stats via the notification stream
Fix #252
2016-01-26 16:35:00 +01:00
119a2a3b66 Add test for unicode char in images path
Ref #401
2016-01-26 15:32:40 +01:00
ee2104ba35 Check for /dev/kvm instead of kvm-ok
Fix #411
2016-01-26 13:58:29 +01:00
5617ddc4cc Show a warning when starting ASA8 2016-01-22 19:46:05 +01:00
c280fd5fb8 Merge branch 'master' into 1.5 2016-01-20 17:10:59 +01:00
8225bad76b Fix usage of qemu 0.10 on Windows
Fix #392
2016-01-14 17:40:58 +01:00
5db1f6b2f7 Fix a test related to docker 2016-01-11 19:14:45 +01:00
758fb2a0e7 adapter_remove_nio_binding is a coroutine for all device type
It's cleaner
2016-01-11 15:19:15 +01:00
5a28b9409a Fix Crash at startup when docker is not installed
Fix #384
2016-01-06 15:13:22 +01:00
1f756c0d4f Merge branch '1.4' into 1.5 2016-01-06 14:35:48 +01:00
d184b65800 Improve PR #386
* Add more test
* Check to kvmi-ok is asynchronous
2016-01-04 16:30:06 +01:00
439a0c80d6 Another fix for docker tests 2016-01-04 09:36:24 +01:00
fd0fb97204 Fix test 2016-01-04 09:28:12 +01:00
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
8cf55166cb Merge pull request #379 from GNS3/docker_cleanup
Docker cleanup and improvements
2015-12-24 14:56:24 -08:00
61cf91d83c Fix tests on Windows
Fix #377
2015-12-22 13:16:30 +01:00
33edbefa3b Docker cleanup and improvements 2015-12-18 18:20:56 +01:00
286cd7a3ac A debug status page embed in the server 2015-12-18 14:38:26 +01:00