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
grossmj
d1ccf3bc84
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/version.py
# requirements.txt
2018-06-04 22:46:52 +07:00
ziajka
f2700ed445
Support of supplier and variables in topology
2018-05-08 10:07:42 +02:00
ziajka
e267f8a8b8
Project global variables
2018-05-04 14:34:44 +02:00
ziajka
43081152ef
Add support of ExtraHosts for Docker, Ref. gns3-gui#2482
2018-04-25 16:03:01 +02:00
grossmj
2ea0aa5ded
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/iou/iou_vm.py
# gns3server/compute/virtualbox/virtualbox_vm.py
# gns3server/compute/vmware/vmware_vm.py
2018-04-18 17:08:42 +08:00
grossmj
025441f027
Add default destination setting for traceng + some checks.
2018-04-16 15:03:22 +08:00
grossmj
2de182eff4
Grid size support for projects.
2018-04-13 16:54:57 +08:00
grossmj
7622c10cc9
Returns the ports' adapter types and mac addresses when available.
2018-04-06 13:19:17 +07:00
grossmj
395277d5c5
Support for console auto start.
2018-04-04 21:31:35 +07:00
grossmj
757c103c03
Possibility to customize port names and adapter types for Qemu, VirtualBox, VMware and Docker. Fixes #2361 .
...
MAC addresses can customized for Qemu as well.
2018-04-02 22:27:12 +07:00
grossmj
ea0009db6c
Save state feature for VirtualBox and VMware. New "On close" setting to
...
select the action to execute when closing/stopping a Qemu/VirtualBox/VMware VM.
2018-03-30 21:18:44 +07:00
grossmj
3d1ee4da3f
Support for suspend to disk / resume (Qemu).
2018-03-30 19:28:22 +07:00
grossmj
669d2ec038
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/schemas/node.py
2018-03-30 12:14:09 +07:00
grossmj
d08c08617c
Support for source and destination for traceNG.
2018-03-27 16:58:49 +07:00
grossmj
ff7911bd99
Allow to resize a Qemu VM disk (extend only).
2018-03-26 18:05:49 +07:00
grossmj
caa2bda71b
Spice with agent support for Qemu VMs.
2018-03-25 14:36:14 +07:00
grossmj
e52775fa3a
Support for console type "none".
2018-03-24 18:11:21 +07:00
grossmj
b6275deeef
Fix tests.
2018-03-23 16:01:21 +07:00
grossmj
b8353bc0d5
Support for none console type (Qemu & Docker only)
2018-03-23 15:44:16 +07:00
grossmj
8b91894fa4
Improve suspend a link for Qemu and VirtualBox VMs.
...
A suspended link will be unplugged allowing the VMs to be notified
of the change.
2018-03-19 16:26:12 +07:00
grossmj
397c1322b4
Base support for TraceNG.
2018-03-12 17:57:13 +07:00
ziajka
009677f019
Fix typo in vcpus on VirtualBoxVM, fixes : #1213
2017-11-07 11:15:49 +01:00
ziajka
b654d78ea6
Endpoint for obtaining direct action on compute
2017-10-13 11:03:56 +02:00
grossmj
fcd2c7b6d4
Add missing https console keyword in JSON schema. Fixes #1179 .
2017-09-19 12:38:35 +07:00
Julien Duponchelle
6aa6d96ba0
Fix support of docker appliance with a usage
...
Fix #1144
2017-07-26 10:52:43 +02:00
Julien Duponchelle
0854c04687
API for duplication a Node
...
Support:
* VPCS
* Dynamips router
* Ethernet switch
Ref #1065
2017-07-24 10:08:22 +02:00