YueGuobin
11fb5de84e
fix: send relative image path to remote compute nodes
...
When creating a node on a remote compute, the controller now sends
only the image filename instead of the absolute local path. The remote
compute will search for the image in its own configured images_directories.
If the image is not found, the compute returns ImageMissingError, which
triggers the controller's automatic image upload mechanism.
This fixes issue #2676 where remote computes reject paths from the
controller due to mismatched directory prefixes.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-03 17:44:47 +08:00
grossmj
80cc85e5d5
Fix exception when custom adapters is not set
2026-04-15 14:17:12 +08:00
grossmj
0d3fad8c8f
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/controller/__init__.py
# gns3server/controller/export_project.py
# gns3server/controller/project.py
# gns3server/controller/snapshot.py
# gns3server/crash_report.py
# gns3server/schemas/snapshot.py
# gns3server/static/web-ui/26.34a83d9cee7db39cd0de.js
# gns3server/static/web-ui/index.html
# gns3server/static/web-ui/main.d74d38241f0602d1b3e0.js
# gns3server/version.py
# gns3server/web/route.py
# tests/handlers/api/controller/test_project.py
# tests/handlers/api/controller/test_snapshot.py
2026-04-11 19:22:05 +08:00
grossmj
2670c68467
Last adjustments for import/export
2026-04-10 18:58:21 +08:00
grossmj
6f7730c455
Update snapshots when duplicating a project
2026-04-09 23:18:55 +08:00
UmmmAGoodName
95bd76a212
Fixed issue #1605 regarding Cisco slots causing configs to break
2026-03-16 19:09:32 +01:00
UmmmAGoodName
19503ab4f7
Implementet a smarter node_type system
2026-03-11 18:49:36 +01:00
grossmj
bdcb6445c7
Use lists for tags instead of dicts
2026-02-23 23:26:42 +08:00
YueGuobin
a3616e6d33
feat(api): add tag filtering to nodes and templates endpoints
...
- Add optional `tags` query parameter to `/nodes` and `/templates` endpoints
- Support filtering by tags in format "key:value" with multiple tags ANDed together
- Example: `?tags=vendor:cisco&tags=model:7200` filters nodes/templates with both tags
- Maintain backward compatibility for existing API usage without tags parameter
2026-02-22 22:52:28 +08:00
grossmj
c820a807ad
Fix IOU node start
2024-12-17 16:24:42 +07:00
grossmj
014d3f2ad9
Store IOU licence in the secrets directory and disable the check by default
2024-12-17 16:12:17 +07:00
Jeremy Grossmann
af6f34b2ca
Revert "Backport auxiliary console support for Qemu, Docker and Dynamips nodes"
2024-09-23 13:10:58 +07:00
grossmj
c41c11eb34
Backport auxiliary console support for Qemu, Docker and Dynamips nodes
2024-09-22 18:29:04 +07:00
grossmj
3214f52e9e
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/docker/docker_vm.py
# gns3server/handlers/api/compute/docker_handler.py
# gns3server/schemas/docker.py
# gns3server/schemas/docker_template.py
# tests/compute/docker/test_docker_vm.py
2024-09-18 17:29:06 +07:00
grossmj
3792901dc7
Support for configuring MAC address in Docker containers
2024-09-18 16:30:22 +07:00
grossmj
87960f1ff0
Merge branch '2.2' into 3.0
...
# Conflicts:
# README.md
2023-10-18 17:48:09 +10:00
munahaf
4d7b3fb9d6
Comment: Updated a test expression to remove a logical short circuit.
2023-09-20 06:51:41 +00:00
grossmj
72af145a23
Fix open IPv6 address for HTTP consoles on controller. Fixes https://github.com/GNS3/gns3-gui/issues/3448
2023-05-22 19:42:01 +08:00
grossmj
27d9063e56
Merge 2.2
2023-01-05 12:38:00 +08:00
grossmj
9132002b80
Fix typos
2023-01-04 09:08:40 +08:00
grossmj
6fa3f85b83
Custom adapters should not be in node (compute) properties returned to clients. Fixes https://github.com/GNS3/gns3-gui/issues/3366
2022-08-06 12:37:05 +02:00
grossmj
80f5ca0c3f
Checks for valid hostname on server side for Dynamips, IOU, Qemu and Docker nodes
2022-07-17 11:51:29 +02:00
grossmj
c5f441e1d3
Remove wrong reset_console() method
2022-06-21 17:22:47 +02:00
grossmj
d303d13045
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/base_node.py
# gns3server/compute/docker/docker_vm.py
# gns3server/compute/iou/iou_vm.py
# gns3server/controller/template_manager.py
# gns3server/handlers/api/compute/docker_handler.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/compute/virtualbox_handler.py
# gns3server/handlers/api/compute/vmware_handler.py
# gns3server/handlers/api/compute/vpcs_handler.py
# gns3server/handlers/api/controller/node_handler.py
# gns3server/version.py
# requirements.txt
# tests/controller/test_controller.py
# tests/controller/test_project.py
# tests/handlers/api/controller/test_node.py
2022-06-21 16:45:25 +02:00
grossmj
bdd703a0dc
Support to reset all console connections. Ref https://github.com/GNS3/gns3-server/issues/1619
2022-06-15 15:30:44 +02:00
grossmj
85cdd7d9a5
Fix reading response embedded in ComputeConflictError
2022-05-27 15:58:14 +07:00
grossmj
a1c76ec4f2
Fix ComputeConflictError import
2022-04-07 16:34:48 +08:00
grossmj
fda2a37b98
Handle creating Qemu disk images and resizing
2022-04-07 16:21:47 +08:00
grossmj
6d10d92af2
Fix images_path -> symbols_path
2021-09-09 16:58:42 +09:30
grossmj
43ca53a089
Fix tests
2021-09-09 16:54:16 +09:30
grossmj
a324459152
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/qemu/qemu_vm.py
# gns3server/handlers/api/compute/server_handler.py
# gns3server/utils/path.py
# gns3server/version.py
# requirements.txt
# tests/compute/qemu/test_qemu_vm.py
# tests/compute/test_manager.py
2021-09-09 16:36:17 +09:30
grossmj
6f1feed265
Fix issue preventing to use custom nested symbols. Fixes #1969
2021-09-08 15:13:51 +09:30
grossmj
cefab8d362
Rename __json__() to asdict()
2021-04-17 23:34:28 +09:30
grossmj
44074ff7c9
Some cleaning.
2021-04-17 18:36:32 +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
d730c591b3
Refactor template management to use database.
2021-03-28 11:15:08 +10:30
grossmj
eb3cb8a41f
Migration to FastAPI
2020-10-02 16:07:50 +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
12732aaf83
Disallow to rename a running node. Fixes https://github.com/GNS3/gns3-gui/issues/2499
2020-07-27 15:06:17 +09:30
grossmj
831ee5f468
Support to reset all console connections. Ref https://github.com/GNS3/gns3-server/issues/1619
2020-07-26 18:27:18 +09:30
grossmj
f3ad333a21
Do not send "console_type" property to computes for all builtin nodes excepting Ethernet switches. Fixes https://github.com/GNS3/gns3-gui/issues/2882
2019-10-29 18:06:09 +08:00
grossmj
7cd9bb6ca6
Merge branch '2.1' into 2.2
2019-09-09 15:02:06 +07:00
grossmj
5d4de9d0ba
Fix AttributeError: Cannot set attribute '%s'. Fixes #1646
2019-08-31 14:43:35 +07:00
grossmj
55a9abfcea
Allow "none" for compute_id in templates.
2019-08-26 16:48:03 +07:00
grossmj
b0f74c2a5e
Fix issue when trying to rename a Dynamips node that is already powered on. Fixes #2824
2019-07-10 15:40:11 +02:00
grossmj
336b77e28a
Merging 2.1 into 2.2 branch
2019-05-29 16:50:36 +07:00
grossmj
a860243531
Ignore Unicode errors when reading base config file contents.
2019-05-29 15:43:17 +07:00
grossmj
28004479fd
Change behavior when an IOU license is verified. Fixes https://github.com/GNS3/gns3-server/issues/1555
2019-05-20 10:51:24 +07:00