Commit Graph

113 Commits

Author SHA1 Message Date
2416069a6e Update _convert_2.2.0() with correct comments 2024-07-20 17:55:38 +02:00
999f41b03e Convert topologies < 3.0 to have valid node hostnames 2024-07-20 17:22:24 +02:00
9c456532d0 Pydantic v2 migration 2023-08-04 18:20:06 +10:00
df50b46952 Merge branch '2.2' into 3.0
# Conflicts:
#	gns3server/compute/docker/docker_vm.py
#	gns3server/version.py
#	requirements.txt
2022-04-27 22:23:05 +07:00
73dff4b9c6 Fix typo 2022-03-23 08:38:14 +01:00
41ba215e32 Show topology path when check topology schema fails. 2021-04-27 22:48:55 -07:00
cefab8d362 Rename __json__() to asdict() 2021-04-17 23:34:28 +09:30
44074ff7c9 Some cleaning. 2021-04-17 18:36:32 +09:30
9c850e0f2b Move schemas between compute and controller subpackages 2021-04-15 18:12:08 +09:30
c021e21309 Use black with -l 120 param. 2021-04-13 18:46:50 +09:30
f928738bd5 Use pyupgrade with --py36-plus param. 2021-04-13 18:37:58 +09:30
082206a7db Fix packet capture with HTTPS remote server. Fixes #1882 2021-04-07 12:40:15 +09:30
91920e5a5b Fix issue with tests + some cleaning. 2021-03-31 09:58:52 +10:30
eeaf10b418 Put all schemas in the same module. 2020-10-31 16:02:21 +10:30
81439c750a Use pydantic for data validation (instead of jsonschema)
Fix/improve various pydantic shema models.
2020-10-31 15:07:12 +10:30
eb3cb8a41f Migration to FastAPI 2020-10-02 16:07:50 +09:30
5575657318 Fix tests. Ref #1754 2020-05-26 21:40:41 +09:30
69b816e21e Fix bug when changing properties for closed project. Fixes #1754 2020-05-26 18:34:20 +09:30
868c39acfe Fix issues with empty project variables. Fixes https://github.com/GNS3/gns3-gui/issues/2941 2020-03-14 17:22:43 +10:30
2f57bd58c0 Fix error with console type in Ethernet switch schema. Fixes #1659 2019-10-08 17:16:17 +08:00
81a48df9bb Update the GNS3 version in topology file if converted. Ref https://github.com/GNS3/gns3-gui/issues/2798 2019-05-26 15:44:55 +07:00
21bed54768 Fix opening previously saved 2.1 project grid overlapping. Fixes #2734 2019-03-31 16:48:08 +07:00
724eda1f35 Handle locking/unlocking items independently from the layer position. 2019-03-02 16:26:40 +07:00
d7c2e16c21 Use "template" to name what we use to create new nodes. 2018-11-28 16:12:58 +07:00
8eb20525e8 Update schema to allow for drawing grid size to be part of project. 2018-11-26 15:31:28 +00:00
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
17d657c919 Fix small errors like unhandled exceptions etc. 2018-09-11 15:06:01 +02:00
d1ccf3bc84 Merge branch '2.1' into 2.2
# Conflicts:
#	gns3server/version.py
#	requirements.txt
2018-06-04 22:46:52 +07:00
f2700ed445 Support of supplier and variables in topology 2018-05-08 10:07:42 +02:00
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
2de182eff4 Grid size support for projects. 2018-04-13 16:54:57 +08:00
509b171b06 Allow to have projects with the same name in different locations. 2018-03-30 23:01:37 +07:00
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
b37a282475 Raise a NotImplementedError for IPV6 support in old UDP cloud
Fix #1093
2017-07-20 16:23:32 +02:00
dadbb0ab09 More options for drawing area 2017-07-03 10:01:22 +02:00
cc34f45677 Additional drawing options for Project 2017-06-30 14:31:25 +02:00
93adef91d8 Merge branch '2.0' into 2.1 2017-05-31 16:58:31 +02:00
bdd980d6a2 Ignore console_hsot when loading topologie 2017-05-22 11:42:50 +02:00
51d6152a5c Fix support for some old topologies
Fix #1042
2017-05-19 18:27:20 +02:00
bdcadcc335 Fix support from some old topologies
Fix #1038
2017-05-19 17:49:39 +02:00
cd17ef6b12 Merge branch '2.0' into 2.1 2017-05-15 15:46:50 +02:00
fb6a95f7bb Fix conversion issue with old topology with C3640
Fix #1019
2017-05-10 13:50:19 +02:00
930e7089db Fix a conversion issue with some 1.3 topologies 2017-05-04 12:09:56 +02:00
fa1450cb24 Catch error when we can't backup the topology
Fix #998
2017-05-03 17:35:10 +02:00
8e5f7d0838 Catch error when writting the topology file on read only device
Fix #1003
2017-05-03 17:28:47 +02:00
273a711459 Merge branch '2.0' into 2.1 2017-04-26 17:22:14 +02:00
f3a87d76ef Fix import of some old topologies
Fix #977
2017-04-14 10:38:21 +02:00
4f1b738ef5 Merge branch '2.0' into 2.1 2017-03-30 10:16:16 +02:00
aae37034e1 Fix conversion of project from 1.X with custom symbol for cloud 2017-03-28 09:12:36 +02:00
55563b9808 Escape special characters from SVG text
Ref https://github.com/GNS3/gns3-server/issues/952
2017-03-20 19:14:07 +01:00