grossmj
10164e262d
Enable SQL foreign key support for SQLite
3 years ago
grossmj
cefab8d362
Rename __json__() to asdict()
3 years ago
grossmj
9c850e0f2b
Move schemas between compute and controller subpackages
3 years ago
grossmj
c021e21309
Use black with -l 120 param.
3 years ago
grossmj
f928738bd5
Use pyupgrade with --py36-plus param.
3 years ago
grossmj
6b0d0de1bc
Wait for local compute to be started.
...
Don't reconnect to local compute when server is being stopped.
3 years ago
grossmj
71725aade6
Rename ssl and auth configuration file settings.
...
Add enable SSL config validator.
Strict configuration file validation: any error will prevent the server to start.
Core server logic moved to a Server class.
3 years ago
grossmj
30ebae207f
Use Pydantic to validate the server config file.
3 years ago
grossmj
fa4c9a91ca
Add symbol dimensions endpoint and SSL support for packet capture with remote HTTPS server.
3 years ago
grossmj
5217dbf3a3
Fix tests
4 years ago
grossmj
566e326b57
Save computes to database
4 years ago
grossmj
d730c591b3
Refactor template management to use database.
4 years ago
grossmj
1add223891
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/qemu/qemu_vm.py
# gns3server/handlers/api/controller/server_handler.py
# gns3server/schemas/project.py
# gns3server/schemas/qemu.py
# gns3server/schemas/qemu_template.py
# gns3server/version.py
# tests/handlers/api/compute/test_qemu.py
4 years ago
grossmj
56c25727b6
SIGHUP: remove projects with an empty project directory.
4 years ago
grossmj
6aefb5d32b
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/base_node.py
# gns3server/version.py
# gns3server/web/web_server.py
4 years ago
grossmj
6c3a070733
Close and remove projects deleted from disks after SIGHUP signal is received.
4 years ago
grossmj
841b013223
SSL support.
4 years ago
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
4 years ago
grossmj
e182f53d69
Fix wrong defaults for images_path, configs_path, appliances_path. Fixes #1829
4 years ago
grossmj
b6a021dabd
Fix SSL support for controller and local compute. Fixes #1826
4 years ago
grossmj
97a91f1899
Overwrite uvicorn loggers.
4 years ago
grossmj
13da8aa8f5
Do not automatically connect to local compute.
4 years ago
grossmj
eb3cb8a41f
Migration to FastAPI
4 years ago
grossmj
62130c116a
Fix crash when project sets 'auto_open' option and a remote GNS3 VM is used. Fixes https://github.com/GNS3/gns3-gui/issues/3014
4 years ago
grossmj
10645a412b
Default port set to 80 for server running in the GNS3 VM. Fixes #1737
4 years ago
grossmj
02c0fa26e1
Support controller reloading for templates, appliances and projects. Ref #1743
4 years ago
grossmj
c5412bf970
Allocate application IDs for IOU nodes on the controller.
...
An application ID is used by IOU to generate its interface Mac addresses. They must be unique across all opened projects sharing the same computes to avoid Mac address collisions.
5 years ago
grossmj
98f5454ccb
Disallow to modify a template if changes cannot be written on disk. Fixes #1695
5 years ago
grossmj
06ce0868ec
Fix template migration issues from GUI to controller. Fixes https://github.com/GNS3/gns3-gui/issues/2803
5 years ago
grossmj
fb470dd4b5
Back to the major.minor version for config files. Ref https://github.com/GNS3/gns3-gui/issues/2756
6 years ago
grossmj
6dbb992513
Fix templates missing after server restart. Fixes https://github.com/GNS3/gns3-gui/issues/2769
6 years ago
grossmj
c075baa05b
Store config files in version specific location
6 years ago
grossmj
8360ae98b1
Move appliance and template management code in their own classes.
6 years ago
grossmj
0fd54536d2
Fix issue when there is no gns3_controller.conf. Fixes https://github.com/GNS3/gns3-gui/issues/2644
6 years ago
grossmj
d7c2e16c21
Use "template" to name what we use to create new nodes.
6 years ago
grossmj
a17fa821bd
Make sure nothing is named "compute server".
6 years ago
Jeremy Grossmann
1067f71952
Allow appliances to be loaded from file without the appliance id.
...
Fixes https://github.com/GNS3/gns3-gui/issues/2639 .
6 years ago
grossmj
bd657c0167
Support to duplicate an appliance.
6 years ago
grossmj
499ab9844a
Reorganize how appliance creation is validated against JSON schemas.
...
This allows for clearer error messages when validation fails.
6 years ago
grossmj
98f04365b7
Remove generic controller settings API endpoint.
6 years ago
grossmj
089fdff4f1
Working dedicated appliance management API. Ref https://github.com/GNS3/gns3-server/issues/1427
6 years ago
grossmj
f0fe9d39fa
Base for dedicated appliance management API. Ref https://github.com/GNS3/gns3-server/issues/1427
6 years ago
grossmj
86f87aec74
Fix installation with Python 3.7. Fixes #1414 .
...
Fix deprecated use of aiohttp.Timeout. Fixes #1296 .
Use "async with" with aiohttp.ClientSession().
Make sure websocket connections are properly closed, see https://docs.aiohttp.org/en/stable/web_advanced.html#graceful-shutdown
Finish to drop Python 3.4.
6 years ago
grossmj
76af98404a
Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
6 years ago
grossmj
22f7ca0243
Return compute port information via API. Ref #1420 .
6 years ago
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
6 years ago
grossmj
17d657c919
Fix small errors like unhandled exceptions etc.
6 years ago
grossmj
4021a13651
Catch exceptions in various locations to fix small issues reported by Sentry.
6 years ago
grossmj
3c332b895d
Fix tests after merging.
6 years ago
grossmj
9ef23ce6a8
Include HTTP error code when reporting an error while download appliance templates
...
from GitHub repository.
6 years ago