grossmj
a02aede1b0
Use uuid5 to create new compute_id. Fixes #1641 #1887
3 years ago
grossmj
dff1ec9bc6
Fix /users/me endpoint.
3 years ago
grossmj
0465cb87f6
Protect the API and add alternative authentication endpoint.
3 years ago
grossmj
e28452f09a
Secure users API and handle manual password recovery.
3 years ago
grossmj
c03226e368
Add default super admin account in controller db.
3 years ago
grossmj
9404c00411
Complete type annotations for API endpoints.
3 years ago
grossmj
44074ff7c9
Some cleaning.
3 years ago
grossmj
9c850e0f2b
Move schemas between compute and controller subpackages
3 years ago
grossmj
c59fc375f2
Remove traceng code.
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
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
566e326b57
Save computes to database
4 years ago
grossmj
e607793e74
Generate a new list in template schema defaults.
4 years ago
grossmj
0fea3f969e
Use aiosqlite and add service for templates
4 years ago
grossmj
d730c591b3
Refactor template management to use database.
4 years ago
grossmj
bf7cf862af
Refactor tests and start work on database integration.
4 years ago
grossmj
acc5c7ebfa
Update package versions.
...
Do not use Path in schemas (causes issues with empty paths).
Change how notifications are handled.
Run tests with Python 3.9
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
d16cb5ef89
Option to allocate or not the vCPUs and RAM settings for the GNS3 VM. Fixes https://github.com/GNS3/gns3-gui/issues/3069
4 years ago
grossmj
eeaf10b418
Put all schemas in the same module.
4 years ago
grossmj
81439c750a
Use pydantic for data validation (instead of jsonschema)
...
Fix/improve various pydantic shema models.
4 years ago
grossmj
eb3cb8a41f
Migration to FastAPI
4 years ago
Jeremy Grossmann
a2e884e315
Create config disk property false by default for Qemu templates
...
Ref https://github.com/GNS3/gns3-gui/issues/3035
4 years ago
Jeremy Grossmann
fa26555d00
Merge pull request #1801 from GNS3/qemu-config-disk
...
QEMU config disk - enable QEMU config import/export
4 years ago
grossmj
464fd804ce
Set default disk interface type to "none".
...
Fail-safe: use "ide" if an image is set but no interface type is configured.
Use the HDA disk interface type if none has been configured for HDD.
4 years ago
grossmj
56aba96a5f
Add explicit option to automatically create or not the config disk. Off by default.
4 years ago
grossmj
7043d48f1a
Auxiliary console support for Qemu. Ref #2873
...
Improvements for auxiliary console support for Docker and Dynamips.
4 years ago
grossmj
01b2c72767
Add maxcpus property for Qemu VMs. Ref #1674
4 years ago
grossmj
3dc4ea46d6
Add total RAM, CPUs and disk size to servers summary as well as disk usage in percent. Fixes https://github.com/GNS3/gns3-server/issues/1532
4 years ago
grossmj
d1c29c8bb7
Resource constraints for Docker VMs.
4 years ago
grossmj
dff035d957
Support for "usage" for "Cloud" nodes. Fixes https://github.com/GNS3/gns3-gui/issues/2887
...
Allow "usage" for all builtin nodes (not exposed in Ui).
4 years ago
grossmj
58a19af9ac
Support to activate/deactive network connection state replication in Qemu.
4 years ago
grossmj
8eefaa3f32
Option to reset or not all MAC addresses when exporting or duplicating a project.
4 years ago
grossmj
10645a412b
Default port set to 80 for server running in the GNS3 VM. Fixes #1737
4 years ago
grossmj
868c39acfe
Fix issues with empty project variables. Fixes https://github.com/GNS3/gns3-gui/issues/2941
5 years ago
grossmj
3df348ac2a
Server statistics implementation
5 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
92ac250bc7
Add nvme disk interface and fix scsi disk interface for Qemu VMs.
5 years ago
grossmj
d796f8d112
Add latest Qemu nic models.
5 years ago
grossmj
0a87ee573c
Accept a node name when creating a node from a template using the API. Fixes #1708
5 years ago
grossmj
2f57bd58c0
Fix error with console type in Ethernet switch schema. Fixes #1659
5 years ago
grossmj
647dde1bb4
Make x,y optional for creating links via API. Fixes #1630
5 years ago
grossmj
fb288db50a
Set default_name_format for some builtin nodes.
5 years ago
grossmj
55a9abfcea
Allow "none" for compute_id in templates.
5 years ago
grossmj
7c07d0b4bd
Add missing default values in Cloud schema.
5 years ago
grossmj
03c7744efd
Set defaults for custom cloud nodes.
5 years ago
grossmj
e9154f6af6
Fix KeyError: 'usage' exception when configuring IOU template. Fixes https://github.com/GNS3/gns3-gui/issues/2806
5 years ago
grossmj
424db843ca
Fix Docker extra volumes support
5 years ago