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

155 Commits

Author SHA1 Message Date
Rarylson Freitas
d926a713b9 Add option --without-kvm
Some cloud providers (example, AWS EC2 for non-metal instances) do not
support nested virtualization, as well as some hypervisors (example,
VirtualBox prior to 6.x, Hyper-V on AMD). Option `--without-kvm` can
be used to disable hardware acceleration in these scenarios. Otherwise,
user will receive error when trying to start Qemu-based devices.

Commit also: replace `enable_kvm` and `require_kvm` with newer config
options (`enable_hardware_acceleration` and
`require_hardware_acceleration`); and do some code refactors.

One can argue that, instead of prividing option `--without-kvm`, we
should check if system supports KVM and enable/disable hardware
acceleration accordingly. However, there is the case when the
hypervisor supports nested virtualization, but feature is just disabled.
The chosen approach for this case is to keep KVM enabled and let user
known (user will eventually receive an error) so user can fix it.
Otherwise, user might never know and suffer from performance
degradation.
2021-08-01 17:47:28 -03:00
grossmj
c043830e3f Move endpoints to routes & preparations to use a database. 2020-11-19 15:21:03 +10:30
grossmj
a5d89b428a Merge branch '2.2' into 3.0
# Conflicts:
#	gns3server/controller/__init__.py
#	gns3server/controller/compute.py
#	gns3server/schemas/gns3vm.py
#	gns3server/utils/application_id.py
#	gns3server/version.py
#	gns3server/web/web_server.py
2020-11-05 17:15:25 +10:30
grossmj
aef8f0dff3 Use EnvironmentFile for Systemd service. Ref https://github.com/GNS3/gns3-gui/issues/3048 2020-11-02 18:23:41 +10:30
grossmj
e2d444928d Add back script to create a self-signed SSL certificate. 2020-11-02 18:09:14 +10:30
grossmj
30d6f1fa2a Make Swagger Ui the default for API documentation 2020-11-02 12:47:59 +10:30
grossmj
3185ebaa3d Publish API documentation generated by FastAPI. 2020-10-23 18:01:58 +10:30
grossmj
f20e16074f Fix Docker dev server script. 2020-10-19 18:28:01 +10:30
grossmj
eb3cb8a41f Migration to FastAPI 2020-10-02 16:07:50 +09:30
grossmj
d0487b92c5 Remove pyup and pep8 script. 2020-06-26 19:20:40 +09:30
grossmj
02c0fa26e1 Support controller reloading for templates, appliances and projects. Ref #1743 2020-04-30 15:30:50 +09:30
grossmj
d5b6fda270 Remove --local when starting Docker dev server. 2020-03-26 12:06:05 +10:30
grossmj
2fa2c715f5 Add LimitNOFILE=16384 to GNS3 service. Ref #1678 2019-11-07 16:28:47 +08:00
grossmj
85582554ac Let systemd directly supervises the GNS3 service. Fixes #1678 2019-11-01 15:23:52 +08:00
grossmj
6a7d47ce97 Merge branch '2.2' 2019-07-12 12:07:44 +02:00
grossmj
63fb82a89d Remove deprecated Qemu parameter to run legacy ASA VMs. Fixes #2827 2019-07-10 11:33:04 +02:00
grossmj
9e54ab77d0 Merge 2.1 into 2.2 branch. 2019-06-15 15:26:20 +02:00
grossmj
54d50b2ef4 Set hkp protocol for keyserver in remote install script. Fixes #1596 2019-06-04 15:10:34 +02:00
grossmj
9e518412b3 Set keyserver port to 80 in remote install script. Fixes #1596 2019-06-04 15:03:28 +02:00
grossmj
5a62277819 Merging 2.2 into master 2019-05-24 15:27:07 +07:00
grossmj
22854f1baa Refresh documentation 2019-03-30 15:56:26 +07:00
ziajka
6a6cabc2d2 Bundle v2019.1.0-alpha.3 web-ui 2019-03-27 12:34:45 +01:00
ziajka
06a6abe687 Fetch tags for update-bundled-web-ui.sh 2019-03-22 14:12:51 +01:00
ziajka
55be74f93c Update docs for update-bundled-web-ui.sh 2019-03-14 10:33:35 +01:00
ziajka
d64d7de541 Support tags versioned WebUI when bundling 2019-03-07 11:56:15 +01:00
ziajka
f7d0f54b6d Use production env for bundled web-ui 2019-01-29 10:02:39 +01:00
grossmj
f442c6e9e1 Sync appliances 2018-11-21 14:12:38 +07:00
grossmj
ff5ba3742e Update API documentation for appliance endpoints. Ref https://github.com/GNS3/gns3-gui/issues/2630 2018-11-20 13:04:27 +07:00
grossmj
8e90d79399 Upgrade remote install script to use any ubuntu codename. Fixes #1393. 2018-08-28 17:41:06 +07:00
grossmj
78d0284247 Merge remote-tracking branch 'origin/master' 2018-08-28 17:27:18 +07:00
grossmj
57cb457b5d Use port 80 for key server. 2018-08-28 17:27:08 +07:00
grossmj
033f005bde Merge branch '2.1' into 2.2
# Conflicts:
#	gns3server/compute/docker/docker_vm.py
#	gns3server/version.py
2018-08-07 21:06:42 +07:00
ziajka
0e1f2e26d0 Serve WebUI handlers and update-bundled-web-ui script, Ref: #1362 2018-06-26 12:09:08 +02:00
ziajka
6dc2ae8641 Clear script 2018-06-22 15:30:24 +02:00
ziajka
867e997b74 Support /static/ files serving, Ref: #1362 2018-06-22 15:29:47 +02:00
grossmj
0f496907a0 Fix API status code for start/stop/suspend/reload a node. Fixes #1353.
Fix issues with test.
Update documentation.
2018-06-14 16:39:32 +08:00
grossmj
658aa4bae9 Merge 2.1 into 2.2 branch 2018-03-12 13:38:50 +07:00
grossmj
0bd7736460 Make sure we use an IPv4 address in the remote install script. 2018-03-08 21:09:00 +07:00
grossmj
bd8816d14c Suspend for Docker nodes. 2018-01-18 11:43:04 +08:00
grossmj
3e2e8e61f7 New option: require KVM. If false, Qemu VMs will not be prevented to run without KVM. 2017-11-19 12:39:37 +07:00
Julien Duponchelle
a0a7b0af10
Sync appliances 2017-07-24 10:39:06 +02:00
Julien Duponchelle
7d123f334f
Add an appliance templates directory
Fix https://github.com/GNS3/gns3-gui/issues/2133
2017-07-19 11:44:05 +02:00
Julien Duponchelle
a7170da93f
Update bundled appliances 2017-06-26 11:00:55 +02:00
Julien Duponchelle
93adef91d8
Merge branch '2.0' into 2.1 2017-05-31 16:58:31 +02:00
Julien Duponchelle
89394ba7e0
Drop SSL support 2017-05-26 15:54:08 +02:00
Julien Duponchelle
ef5c013561
Merge branch 'master' into 2.0 2017-05-26 10:47:57 +02:00
Julien Duponchelle
8bbe7e8041
Set correct permission on ubridge when doing a remote installation 2017-05-26 10:47:25 +02:00
Julien Duponchelle
777361c23d
Merge branch 'master' into 2.0 2017-05-26 10:32:26 +02:00
Julien Duponchelle
c3d5abd104
Remote install script should be totally non interactive 2017-05-26 10:29:33 +02:00
Julien Duponchelle
a4245fcf44
Aiohttp 2.0
Ref #1000
2017-05-17 18:42:17 +02:00
Julien Duponchelle
4f1b738ef5
Merge branch '2.0' into 2.1 2017-03-30 10:16:16 +02:00
Julien Duponchelle
132bc87081
Dissallow parallel pull of docker images
Fix #962
2017-03-27 20:46:25 +02:00
Julien Duponchelle
25c4207661
Add a scripts for running current dev version on GNS3 VM 2017-03-27 17:13:07 +02:00
Julien Duponchelle
55b4e95396
Merge branch 'master' into 2.0 2017-03-09 19:10:29 +01:00
Julien Duponchelle
b909ec978f
Drop color logging for remote install, seem to fail in some conditions 2017-03-09 19:09:56 +01:00
Julien Duponchelle
21849656d1
Merge branch '2.0' into 2.1 2017-03-08 18:17:15 +01:00
Julien Duponchelle
c2ccad35fe
Merge branch 'master' into 2.0 2017-03-08 18:16:36 +01:00
Julien Duponchelle
cb338d9583
Cleanup the remote install script 2017-03-08 18:15:43 +01:00
Julien Duponchelle
bb45ff0d9a
Support for Xenial in remote install
Fix #923
2017-03-08 15:58:28 +01:00
Julien Duponchelle
6017ebbd97
Merge branch '2.0' into 2.1 2017-03-07 11:16:05 +01:00
Julien Duponchelle
54131bc9bb
Update the documentation 2017-03-06 14:35:39 +01:00
Julien Duponchelle
5a399b90fe
Merge branch '2.1' into embed_appliances 2017-02-28 14:55:33 +01:00
Julien Duponchelle
897c9cb42c
Improve docker container for development 2017-02-15 19:31:18 +01:00
Julien Duponchelle
dc6756d5ae
Embed the appliances in the server.
This add a /appliances call
2017-02-01 11:30:14 +01:00
Julien Duponchelle
e53db1ed81
Replace JSONDecodeError by ValueError (Python 3.4 compatibility)
Fix #847
2016-12-21 09:45:24 +01:00
Julien Duponchelle
8850265cb6
Improve random queries to start/stop nodes
It's confirm the issue  #779
2016-11-16 14:54:09 +01:00
Julien Duponchelle
5166d894eb
Do not reload a project via /load if the project is already opened
Fix #785
2016-11-14 18:45:44 +01:00
Julien Duponchelle
e996b825c6
Fix you can not pass auto close at project creation 2016-11-14 16:10:19 +01:00
Julien Duponchelle
5e4f5fe2d1
Script for sending random query to the GNS3 server
The purpose of this script is to replicate weird
issues by sending a large number of queries.

* Ref https://github.com/GNS3/gns3-gui/issues/1654
* Ref https://github.com/GNS3/gns3-gui/issues/1659
2016-11-14 14:02:58 +01:00
Julien Duponchelle
4ea3690951
Merge branch 'master' into 2.0 2016-09-27 10:47:18 +02:00
Julien Duponchelle
15babb137d
Fix set hostname on remote server
Fix #691
2016-09-27 10:40:58 +02:00
Julien Duponchelle
eccee6b629
Support unstable ppa for remote install 2016-09-27 10:35:24 +02:00
Julien Duponchelle
27269fb13a
Update documentation 2016-07-11 15:37:57 +02:00
Julien Duponchelle
758a427a76
Add documentation about notifications 2016-06-30 11:08:01 +02:00
Julien Duponchelle
d5895c3a47
Merge branch '1.5' into 2.0 2016-05-18 11:25:41 +02:00
Julien Duponchelle
871fea33e0
Cleanup unbreakable space 2016-05-18 11:23:45 +02:00
Julien Duponchelle
95d2bd0065
Merge branch '1.5' into 2.0 2016-05-11 16:16:29 +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
7390d833ba
Merge branch 'master' into 2.0 2016-04-26 11:50:16 +02:00
Julien Duponchelle
1d08d4a5fa
Merge branch 'master' into 1.5 2016-04-26 11:49:24 +02:00
Julien Duponchelle
4afbf816ab
Fix errors in remote install script 2016-04-14 16:20:13 +02:00
Julien Duponchelle
40aec61701
Ask user to reboot after the remote install script 2016-04-14 16:16:31 +02:00
Julien Duponchelle
9e8fcab65c
Merge branch '1.5' into 2.0 2016-04-08 17:40:27 +02:00
Julien Duponchelle
f1737a6e43
Merge branch 'master' into 1.5 2016-04-07 14:44:56 +02:00
Julien Duponchelle
dc236eba09
Allow to add 32 bit repositories when they are not available on the system 2016-04-05 10:28:32 +02:00
Julien Duponchelle
c1193c23c1
Merge branch 'master' into 1.5 2016-03-29 09:20:43 +02:00
Julien Duponchelle
9f05b80d01
Add IOU support and install config in /etc 2016-03-25 19:08:14 +01:00
Julien Duponchelle
c563dbba8a
Change default port to 3080
Fix #487
2016-03-25 15:31:17 +01:00
Julien Duponchelle
40f496c7e9
Merge branch '1.5' into 2.0 2016-03-24 10:11:58 +01:00
Julien Duponchelle
e35ab1e8c0
Remote install on 14.04 ubuntu 2016-03-21 14:52:42 +01:00
Julien Duponchelle
664cec97ba
Create /hypervisor and /controller namespace 2016-03-07 15:01:35 +01:00
Julien Duponchelle
d979f08c93 Update api documentation 2015-10-16 19:05:29 +02:00
Julien Duponchelle
67be24a412 Fix doc generation 2015-02-24 11:39:17 +01:00
Julien Duponchelle
57348d0508 Better organisation of the API documentation 2015-02-17 10:37:09 +01:00
Julien Duponchelle
ca354ae7f2 Doc API V1 2015-02-04 10:31:31 +01:00
Jeremy
57b35d5758 Fix tests + PEP8 + documentation 2015-02-01 17:22:31 -07:00
Jeremy
e60366c5bb Change URL to get all VirtualBox VMs. 2015-01-26 20:29:02 -07:00
Julien Duponchelle
8d9da999e6 Update examples only when launching test with documentation.sh 2015-01-21 22:09:52 +01:00
Julien Duponchelle
0eaa7be86a PEP 8 Enforcer. 2015-01-20 22:13:58 +01:00