grossmj
499ab9844a
Reorganize how appliance creation is validated against JSON schemas.
...
This allows for clearer error messages when validation fails.
2018-11-17 18:12:46 +07:00
grossmj
71fcf855b4
Add tests for all appliance types.
2018-11-17 15:37:20 +07:00
grossmj
627c7e9cfe
Use schema to set appliance default values and better schema validation error messages.
2018-11-16 23:02:10 +07:00
grossmj
2764828f38
Refactor how clients access PCAP capture files. Fixes https://github.com/GNS3/gns3-gui/issues/2438 .
...
* The PCAP file is directly accessed if controller and client are on the same host.
* The PCAP file is streamed from the compute server to the client with the controller as a proxy when the controller is remote for the client.
2018-10-27 14:47:17 +07:00
grossmj
76af98404a
Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
2018-10-15 17:05:49 +07:00
grossmj
9de13c570c
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/builtin/nodes/cloud.py
# gns3server/compute/docker/docker_vm.py
# gns3server/compute/dynamips/nodes/ethernet_switch.py
# gns3server/compute/iou/iou_vm.py
# gns3server/compute/qemu/qemu_vm.py
# gns3server/compute/virtualbox/virtualbox_vm.py
# gns3server/compute/vmware/vmware_vm.py
# gns3server/controller/__init__.py
# gns3server/version.py
# gns3server/web/web_server.py
2018-10-04 15:44:13 +02:00
grossmj
4021a13651
Catch exceptions in various locations to fix small issues reported by Sentry.
2018-09-06 09:49:12 +02:00
grossmj
90ce6093d8
Some spring cleaning.
2018-03-15 14:17:39 +07:00
grossmj
4a2dfb0037
Do not prevent a project to be deleted. Fixes #2237 .
2017-09-06 18:12:22 +07:00
Julien Duponchelle
a4245fcf44
Aiohttp 2.0
...
Ref #1000
2017-05-17 18:42:17 +02:00
Julien Duponchelle
ac05db5d1b
Fix an utf8 error in auth code
2017-03-27 10:38:41 +02:00
Julien Duponchelle
27a1089806
Fix creation of qemu img
...
Fix https://github.com/GNS3/gns3-gui/issues/1826
2017-01-31 15:16:05 +01:00
Julien Duponchelle
f1fe7246e7
Remove --controller
...
This add too much complexity and it can work
without it.
Fix https://github.com/GNS3/gns3-vm/issues/80 , #645
2016-09-07 10:04:28 +02:00
Julien Duponchelle
21b99ad9f9
Support for sendings settings for the GNS3VM from the GUI
...
Ref https://github.com/GNS3/gns3-gui/issues/1441
2016-08-25 09:32:06 +02:00
Julien Duponchelle
2842904769
Clean exit when you Ctrl+C the server and client are still connected
2016-08-18 15:04:43 +02:00
grossmj
225e4f7528
Finish support of VMware based GNS3 VM.
2016-08-11 15:58:29 -06:00
Julien Duponchelle
0c3a2c660a
Merge branch 'master' into 2.0
2016-07-28 15:05:21 +02:00
Julien Duponchelle
d6f63d3b7d
Fix Exporting portable projects with QEMU includes base images even when selecting no.
...
Fix https://github.com/GNS3/gns3-gui/issues/1409
2016-07-28 15:00:04 +02:00
Julien Duponchelle
814fd1fcfb
Fix /settings
2016-07-26 14:00:19 +02:00
Julien Duponchelle
e50eae19e6
Support parameters for import
2016-07-25 18:58:34 +02:00
Julien Duponchelle
ff4fc5eb8b
Return proper JSON error when something goes wrong on any endpoint
2016-07-20 17:17:42 +02:00
Julien Duponchelle
ca4d09ea40
Merge branch 'master' into 2.0
2016-07-05 15:41:53 +02:00
Julien Duponchelle
5f88db93ff
Add the method in the bad request answer
2016-07-04 15:00:46 +02:00
Julien Duponchelle
08e482004f
Auto upload missing images
2016-06-07 19:38:01 +02:00
Julien Duponchelle
972cbd0594
Cleanly forward exception from compute to controller
2016-06-07 16:06:37 +02:00
Julien Duponchelle
d8bdd16e13
Raise an error if image is missing on compute
2016-06-07 15:34:04 +02:00
grossmj
6d5085910c
Frame Relay and ATM switches migrated to the new API.
2016-05-20 17:59:59 -06:00
grossmj
5a76f81271
Refactoring to use a common node class for all VMs and other (future) objects.
2016-05-11 11:35:36 -06:00
Julien Duponchelle
6463007ef1
Remove debug
2016-04-19 15:17:02 +02:00
Julien Duponchelle
ce5461aee8
Raise error if we try to controll a non controller server
...
Fix #451
2016-04-19 10:47:53 +02:00
Julien Duponchelle
58d4a529d4
Rename hypervisor to compute
...
Fix #487
2016-04-15 17:59:59 +02:00
Julien Duponchelle
3185baff0d
Start / Stop / Suspend marche
2016-04-14 12:22:10 +02:00
Julien Duponchelle
2841b5769e
Lock for controller or compute
2016-04-14 12:15:45 +02:00
Julien Duponchelle
8c1560332e
Remove /controller from the api endpoint
2016-03-11 17:16:09 +01:00
Julien Duponchelle
3296b97f59
Rename modules => hypervisor
2016-03-08 16:12:46 +01:00
Julien Duponchelle
b2ce7ee8d7
API V2
2016-03-07 17:57:12 +01:00
Julien Duponchelle
664cec97ba
Create /hypervisor and /controller namespace
2016-03-07 15:01:35 +01:00
Julien Duponchelle
e4b12f49d1
Build doc support controller
2016-03-04 17:50:17 +01:00
Julien Duponchelle
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
Julien Duponchelle
802d0628bd
Force close the keep alive when sending a 401
...
Work around a Qt issue where Qt
timeout instead of handling the 401
this happen only for the first query send by the
client.
2015-09-16 15:53:38 +02:00
Julien Duponchelle
c361d27531
Lock qemu vm during start / stop operations
...
Fix #301
2015-08-27 16:06:11 +02:00
Jeremy
fc0409286b
Check for uBridge version and catch uBridge errors.
2015-07-21 17:58:53 -06:00
Julien Duponchelle
6d678898ef
Client disconnect should not be logged as an error
2015-07-13 14:51:42 +02:00
Julien Duponchelle
04e62e429c
Merge branch 'master' into unstable
2015-06-11 16:55:09 +02:00
Julien Duponchelle
a2833cf276
Turn on / off authentication
2015-06-10 23:14:18 +02:00
Julien Duponchelle
a1204dca0a
Merge branch 'master' into unstable
2015-06-03 18:34:46 +02:00
Julien Duponchelle
78891ae00e
Basic Auth support
2015-06-03 15:38:34 +02:00
Julien Duponchelle
bb4ebbfe64
Upload images API
...
Conflicts:
requirements.txt
setup.py
2015-05-10 21:06:31 +02:00
Julien Duponchelle
e75fbc9d73
Catch connection reset errors
...
Fix #162
2015-04-29 11:15:32 +02:00
grossmj
80a0e0ebf7
Explicit utf-8 encoding where necessary to avoid Unicode errors on Windows (we require/set an utf-8 locale on other systems).
2015-04-25 11:58:34 -06:00