YueGuobin
35cf964882
test: cover the kernel-datapath review fixes
...
Regression coverage added with the fixes:
- capture-slot semantics: second-port refusal, failed-start rollback, and
a non-owner port's stop not reaching `capture stop_kernel`;
- QEMU stop/start teardown on a mid-body or pre-launch failure, IOU start
cleanup and filter guards, Dynamips half-attach undo plus retry;
- switch VLAN reconcile skipping a deferred anchor and rolling the
ports_mapping back on failure;
- Docker/QEMU occupied-port refusal, probe ctime invalidation, probe
survival of a failing uBridge start;
- env-marker dialects (mid-line mentions, falsy values) and the agent
merge rejecting entries without a device_name.
Test-body imports of product modules move to the shared header.
2026-10-06 19:55:31 +08:00
Mark Paronyan
bee6b3f8b1
refactor: use f-strings in compute tests
2026-10-03 19:44:01 +03:00
Mark Paronyan
6d16d923c7
style: sort imports in compute and controller tests
2026-10-02 12:43:26 +03:00
Mark Paronyan
06e98f8b55
style: drop redundant utf-8 coding declarations
2026-10-01 19:57:40 +03:00
Mark Paronyan
a0450b6bce
refactor: ruff autofixes
2026-09-27 15:55:10 +03:00
Cristi
dd497e4308
(feat): Implement functional Layer 1 keepalive support for IOU/IOL nodes
2026-07-22 10:47:09 +03:00
grossmj
27ce1a4e25
Merge remote-tracking branch 'origin/2.2' into 3.0
...
# Conflicts:
# gns3server/schemas/iou_template.py
# tests/handlers/api/compute/test_iou.py
# tests/handlers/api/controller/test_template.py
2026-03-12 14:11:05 +08:00
grossmj
0624c1b945
Deactivate 'use default IOU values' by default and update RAM/NVRAM values
2026-03-10 20:28:00 +08:00
grossmj
5e1b8814b6
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/iou/iou_vm.py
2024-12-17 15:08:45 +07:00
grossmj
df56955bf0
Use license instead of licence
2024-12-17 15:01:01 +07:00
grossmj
f38efd311a
Merge branch '2.2' into 3.0
2024-12-16 18:14:16 +07:00
grossmj
91e9fa1cbc
Fix tests
2024-12-16 18:13:51 +07:00
grossmj
46a9fdb61d
Remove event_loop
2024-05-09 17:53:02 +07:00
grossmj
33499be425
Fix warnings in tests
2024-05-09 17:11:12 +07:00
grossmj
1ff23348d3
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/base_node.py
# gns3server/compute/docker/__init__.py
# gns3server/compute/qemu/qemu_vm.py
# gns3server/controller/compute.py
# gns3server/controller/gns3vm/virtualbox_gns3_vm.py
# gns3server/controller/node.py
# gns3server/controller/project.py
# gns3server/crash_report.py
# gns3server/handlers/api/controller/template_handler.py
# gns3server/static/web-ui/index.html
# gns3server/static/web-ui/main.8448c96e4facbe79a613.js
# gns3server/version.py
# tests/compute/iou/test_iou_vm.py
# tests/compute/qemu/test_qemu_vm.py
# tests/handlers/api/controller/test_template.py
2023-06-20 16:06:53 +09:30
grossmj
d03e7ac9c5
Fix tests
2023-05-14 14:20:45 +08:00
grossmj
86c44cd6e7
Upgrade dev dependencies and fix tests to support pytest-asyncio strict mode
2022-08-24 21:03:16 +02:00
grossmj
f5e1956dfa
Support user defined loader/libraries to run IOU
2022-07-16 11:38:51 +02:00
grossmj
888c773dc0
Finish to clean up local setting usage. Ref #1460
2022-03-31 12:05:47 +08:00
grossmj
74c675d5b0
Drop Windows support
2022-01-19 22:28:36 +10:30
grossmj
1b5a5de4bc
Generate new config for each test. Fixes tests.
2021-04-12 19:37:59 +09:30
grossmj
30ebae207f
Use Pydantic to validate the server config file.
2021-04-12 17:02:23 +09:30
grossmj
eb3cb8a41f
Migration to FastAPI
2020-10-02 16:07:50 +09:30
grossmj
d3ea67da24
Refactor tests
...
* Use pytest-aiohttp
* Use the async def / await syntax.
* Fix tests to run with Python 3.8
2020-06-16 13:59:03 +09:30
grossmj
ab8dc52ece
Fix tests to work with new version of aiohttp (>= 3.0)
2018-10-17 17:32:10 +07:00
grossmj
658aa4bae9
Merge 2.1 into 2.2 branch
2018-03-12 13:38:50 +07:00
ziajka
d9a0ec9ff3
Replace asyncio.async with ensure_future because of deprecation, Fixes : #1269
2018-01-24 11:11:53 +01:00
ziajka
6aa2afcf54
Fix #557 - mac addess collision when running IOU on multiple GNS3 servers
2017-06-27 10:09:21 +02:00
Julien Duponchelle
70e2b87ff0
Patch hostname in configuration file even if name is unsync
...
Ref https://github.com/GNS3/gns3-gui/issues/1889
2017-02-27 12:48:05 +01:00
Julien Duponchelle
3754a49cc0
Drop IOUCON
...
Fix #747
2016-11-08 10:21:20 +01:00
Julien Duponchelle
4fe2b746d0
Fix IOU tests
2016-11-06 21:22:48 +01:00
Julien Duponchelle
74695efe90
Fix tests checking the local flag
2016-11-04 15:42:29 +01:00
Julien Duponchelle
ae1e027031
Raise error if using a non linked clone VM twice
...
Fix https://github.com/GNS3/gns3-gui/issues/1593
2016-10-24 21:39:35 +02:00
grossmj
d79fb231d3
Use uBridge for VirtualBox connections plus some cleaning. Ref #267 .
2016-06-24 18:35:39 -06:00
Julien Duponchelle
d8bdd16e13
Raise an error if image is missing on compute
2016-06-07 15:34:04 +02:00
Julien Duponchelle
d5895c3a47
Merge branch '1.5' into 2.0
2016-05-18 11:25:41 +02:00
Julien Duponchelle
58d4a529d4
Rename hypervisor to compute
...
Fix #487
2016-04-15 17:59:59 +02:00