grossmj
229a04e2fa
Fix link style merge
2021-06-12 15:26:35 +09:30
grossmj
6ec028ea4e
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/builtin/nodes/cloud.py
# gns3server/compute/vmware/vmware_vm.py
# gns3server/controller/link.py
# gns3server/controller/snapshot.py
# gns3server/handlers/api/compute/dynamips_vm_handler.py
# gns3server/handlers/api/compute/iou_handler.py
# gns3server/handlers/api/compute/qemu_handler.py
# gns3server/handlers/api/controller/link_handler.py
# gns3server/schemas/link.py
# gns3server/utils/path.py
# gns3server/version.py
# requirements.txt
2021-06-12 14:36:32 +09:30
grossmj
4e34ab8e4f
Link style support. Fixes https://github.com/GNS3/gns3-gui/issues/2461
2021-06-07 14:08:21 +09:30
grossmj
515bd50261
Start refactoring for images management
2021-06-06 16:52:47 +09:30
grossmj
6fb6a27859
Add last login info for users.
2021-06-03 16:57:16 +09:30
grossmj
4e33d29af8
Change RBAC field names from builtin to is_builtin
2021-06-03 16:24:38 +09:30
grossmj
fbc47598d9
Basic functional RBAC support.
2021-05-27 17:28:44 +09:30
grossmj
6d4da98b8e
Base API and tables for RBAC support.
2021-05-25 18:34:59 +09:30
grossmj
f416d64042
Allow to set the initial super admin username / password in server config file. Ref #1857
2021-05-16 20:01:05 +09:30
grossmj
8810249d36
Add user groups support.
2021-05-15 15:10:02 +09:30
grossmj
a02aede1b0
Use uuid5 to create new compute_id. Fixes #1641 #1887
2021-04-21 13:47:32 +09:30
grossmj
dff1ec9bc6
Fix /users/me endpoint.
2021-04-20 19:54:55 +09:30
grossmj
0465cb87f6
Protect the API and add alternative authentication endpoint.
2021-04-20 11:59:02 +09:30
grossmj
e28452f09a
Secure users API and handle manual password recovery.
2021-04-19 09:40:04 +09:30
grossmj
c03226e368
Add default super admin account in controller db.
2021-04-18 17:39:47 +09:30
grossmj
9404c00411
Complete type annotations for API endpoints.
2021-04-18 15:40:38 +09:30
grossmj
44074ff7c9
Some cleaning.
2021-04-17 18:36:32 +09:30
grossmj
9c850e0f2b
Move schemas between compute and controller subpackages
2021-04-15 18:12:08 +09:30
grossmj
c59fc375f2
Remove traceng code.
2021-04-13 19:03:23 +09:30
grossmj
c021e21309
Use black with -l 120 param.
2021-04-13 18:46:50 +09:30
grossmj
f928738bd5
Use pyupgrade with --py36-plus param.
2021-04-13 18:37:58 +09:30
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.
2021-04-12 23:26:42 +09:30
grossmj
30ebae207f
Use Pydantic to validate the server config file.
2021-04-12 17:02:23 +09:30
grossmj
566e326b57
Save computes to database
2021-04-05 14:21:41 +09:30
grossmj
e607793e74
Generate a new list in template schema defaults.
2021-04-02 17:45:16 +10:30
grossmj
0fea3f969e
Use aiosqlite and add service for templates
2021-03-28 21:17:29 +10:30
grossmj
d730c591b3
Refactor template management to use database.
2021-03-28 11:15:08 +10:30
grossmj
64f172fe20
Expose 'auto_open' and 'auto_start' properties in API when creating project. Fixes https://github.com/GNS3/gns3-gui/issues/3119
2021-02-15 15:16:19 +10:30
grossmj
bf7cf862af
Refactor tests and start work on database integration.
2020-12-02 18:39:08 +10:30
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
2020-11-11 17:18:41 +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
d16cb5ef89
Option to allocate or not the vCPUs and RAM settings for the GNS3 VM. Fixes https://github.com/GNS3/gns3-gui/issues/3069
2020-11-05 11:13:57 +10:30
grossmj
eeaf10b418
Put all schemas in the same module.
2020-10-31 16:02:21 +10:30
grossmj
81439c750a
Use pydantic for data validation (instead of jsonschema)
...
Fix/improve various pydantic shema models.
2020-10-31 15:07:12 +10:30
grossmj
eb3cb8a41f
Migration to FastAPI
2020-10-02 16:07:50 +09:30
Jeremy Grossmann
01db2d2a86
Create config disk property false by default for Qemu templates
...
Ref https://github.com/GNS3/gns3-gui/issues/3035
(cherry picked from commit a2e884e315
)
2020-08-17 12:45:57 +09:30
Jeremy Grossmann
a2e884e315
Create config disk property false by default for Qemu templates
...
Ref https://github.com/GNS3/gns3-gui/issues/3035
2020-08-17 12:45:57 +09:30
Jeremy Grossmann
fa26555d00
Merge pull request #1801 from GNS3/qemu-config-disk
...
QEMU config disk - enable QEMU config import/export
2020-08-15 16:35:20 +08:00
grossmj
ec02150fd2
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.
(cherry picked from commit 464fd804ce
)
2020-08-15 16:14:16 +09:30
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.
2020-08-15 16:14:16 +09:30
grossmj
a56b816c1a
Add explicit option to automatically create or not the config disk. Off by default.
...
(cherry picked from commit 56aba96a5f
)
2020-08-14 17:57:24 +09:30
grossmj
56aba96a5f
Add explicit option to automatically create or not the config disk. Off by default.
2020-08-14 17:57:24 +09:30
grossmj
7043d48f1a
Auxiliary console support for Qemu. Ref #2873
...
Improvements for auxiliary console support for Docker and Dynamips.
2020-07-29 16:23:51 +09:30
grossmj
01b2c72767
Add maxcpus property for Qemu VMs. Ref #1674
2020-07-24 15:15:41 +09:30
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
2020-07-19 14:16:07 +09:30
grossmj
d1c29c8bb7
Resource constraints for Docker VMs.
2020-07-18 21:03:55 +09:30
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).
2020-07-15 19:15:51 +09:30
grossmj
58a19af9ac
Support to activate/deactive network connection state replication in Qemu.
2020-06-02 18:45:22 +09:30
grossmj
8eefaa3f32
Option to reset or not all MAC addresses when exporting or duplicating a project.
2020-05-27 12:14:47 +09:30
grossmj
10645a412b
Default port set to 80 for server running in the GNS3 VM. Fixes #1737
2020-05-05 12:40:50 +09:30
grossmj
868c39acfe
Fix issues with empty project variables. Fixes https://github.com/GNS3/gns3-gui/issues/2941
2020-03-14 17:22:43 +10:30
grossmj
3df348ac2a
Server statistics implementation
2020-03-10 17:48:03 +10:30
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.
2020-02-10 15:20:49 +08:00
grossmj
92ac250bc7
Add nvme disk interface and fix scsi disk interface for Qemu VMs.
2020-01-25 16:22:34 +08:00
grossmj
d796f8d112
Add latest Qemu nic models.
2020-01-24 19:05:46 +08:00
grossmj
0a87ee573c
Accept a node name when creating a node from a template using the API. Fixes #1708
2020-01-08 08:19:33 +08:00
grossmj
2f57bd58c0
Fix error with console type in Ethernet switch schema. Fixes #1659
2019-10-08 17:16:17 +08:00
grossmj
647dde1bb4
Make x,y optional for creating links via API. Fixes #1630
2019-08-26 19:51:03 +07:00
grossmj
fb288db50a
Set default_name_format for some builtin nodes.
2019-08-26 17:00:18 +07:00
grossmj
55a9abfcea
Allow "none" for compute_id in templates.
2019-08-26 16:48:03 +07:00
grossmj
7c07d0b4bd
Add missing default values in Cloud schema.
2019-07-12 11:32:55 +02:00
grossmj
03c7744efd
Set defaults for custom cloud nodes.
2019-07-10 15:51:06 +02:00
grossmj
e9154f6af6
Fix KeyError: 'usage' exception when configuring IOU template. Fixes https://github.com/GNS3/gns3-gui/issues/2806
2019-05-31 08:41:44 +02:00
grossmj
424db843ca
Fix Docker extra volumes support
2019-05-19 14:26:03 +07:00
Jeremy Grossmann
cdae1f9e00
Merge pull request #1584 from kazkansouh/2.2-docker-volumes
...
Custom persistent docker volumes
2019-05-18 20:17:11 +07:00
grossmj
6edcbd0461
Set console type to "none" by default for Ethernet switches and add a warning if trying to use "telnet". Fixes https://github.com/GNS3/gns3-gui/issues/2776
2019-05-18 14:28:20 +07:00
Karim
0c19bc8d43
Support for additional persistent docker volumes to be specified within appliance configuration
2019-04-22 10:26:41 +01:00
grossmj
4cc5dbc228
Fix remote packet capture and make sure packet capture is stopped when deleting an NIO. Fixes https://github.com/GNS3/gns3-gui/issues/2753
2019-04-01 19:47:31 +07:00
grossmj
3f679bd106
Locked state should not be used when duplicating a node.
2019-03-02 16:39:05 +07:00
grossmj
724eda1f35
Handle locking/unlocking items independently from the layer position.
2019-03-02 16:26:40 +07:00
grossmj
5754747a90
Merging 2.1 into 2.2
2019-02-22 18:04:49 +07:00
grossmj
1ef1872f8e
Reset MAC addresses when duplicating a project. Fixes #1522
2019-02-20 16:38:43 +07:00
grossmj
f0ffb07165
Fix issue with "usage" variable for Dynamips VMs. Fixes #1495
2019-01-12 12:13:22 +07:00
grossmj
9ed181151f
New node information dialog to display general, usage and command line information.
...
Ref https://github.com/GNS3/gns3-gui/issues/2662 https://github.com/GNS3/gns3-gui/issues/2656
2018-12-30 19:35:24 +07:00
grossmj
eae9774d69
Support "usage" field for Dynamips, IOU, VirtualBox and VMware. Fixes https://github.com/GNS3/gns3-gui/issues/2657
2018-12-21 16:54:13 +08:00
grossmj
d7c2e16c21
Use "template" to name what we use to create new nodes.
2018-11-28 16:12:58 +07:00
grossmj
a17fa821bd
Make sure nothing is named "compute server".
2018-11-27 18:14:51 +07:00
grossmj
f39c27ff7b
Allow usage property in Docker appliance.
2018-11-27 16:36:52 +07:00
grossmj
a93606d9ed
Use "node" instead of "appliance" for grid support.
2018-11-27 16:13:22 +07:00
Karim
8eb20525e8
Update schema to allow for drawing grid size to be part of project.
2018-11-26 15:31:28 +00:00
grossmj
df3baffd9b
Fix "None is not of type 'integer'" when opening project containing a Qemu VM. Fixes #2610 .
2018-11-24 19:56:29 +07:00
grossmj
9b83b087cb
Fix mac address schema validation for Qemu VM appliance. Fixes https://github.com/GNS3/gns3-gui/issues/2629
2018-11-18 16:20:50 +07:00
grossmj
a33b8eac3a
Support "L1 keepalives" in IOU appliance schema.
2018-11-18 16:04:08 +07:00
grossmj
3512fde841
Fix small bugs when using the new appliance management API.
2018-11-17 22:16:18 +07:00
grossmj
74e1463015
Fix bug with custom adapters and categories for Docker VM. Fixes https://github.com/GNS3/gns3-gui/issues/2613
2018-11-17 21:50:00 +07:00
grossmj
aa4593c993
Handle custom adapters in schemas.
2018-11-17 20:09:34 +07:00
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
1184f29b90
Add appliance API tests. Ref #1427 .
2018-11-15 21:34:36 +07:00
grossmj
9aafa4e62f
Schema validation for appliance API. Ref #1427 .
2018-11-15 17:28:17 +07:00
grossmj
98f04365b7
Remove generic controller settings API endpoint.
2018-11-14 16:24:30 +08:00
grossmj
089fdff4f1
Working dedicated appliance management API. Ref https://github.com/GNS3/gns3-server/issues/1427
2018-11-13 14:59:18 +08:00
grossmj
f0fe9d39fa
Base for dedicated appliance management API. Ref https://github.com/GNS3/gns3-server/issues/1427
2018-11-11 20:13:58 +08:00
grossmj
22f7ca0243
Return compute port information via API. Ref #1420 .
2018-10-05 12:48:20 +02:00
grossmj
33e8710495
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/docker/docker_vm.py
# gns3server/controller/compute.py
# gns3server/controller/gns3vm/__init__.py
# gns3server/controller/link.py
# gns3server/controller/project.py
# gns3server/handlers/api/controller/project_handler.py
# gns3server/handlers/api/controller/server_handler.py
# gns3server/utils/asyncio/__init__.py
# gns3server/utils/asyncio/telnet_server.py
# gns3server/version.py
# gns3server/web/web_server.py
# tests/compute/qemu/test_qemu_vm.py
2018-08-29 15:57:54 +07:00
grossmj
089d25c79d
Forbid controller and compute servers to be different versions.
...
Report last compute server error to clients and display in the server summary.
2018-08-22 16:54:43 +07:00
grossmj
aeb33024ca
Add missing Qemu boot priority values. Fixes https://github.com/GNS3/gns3-server/issues/1385
2018-08-21 17:49:58 +07:00
grossmj
89f7169589
Add appliance UUID added to the node data. Fixes #1334 .
2018-08-09 17:45:33 +07:00
grossmj
1f017a0d1d
Console support for clouds (to connect to external devices or services).
2018-06-10 17:43:29 +07:00