grossmj
af9b883c08
Fix and adjustments after merge
2023-01-10 12:09:36 +08:00
grossmj
f09594ae4c
Merge branch '2.2' into 3.0
...
# Conflicts:
# README.md
# README.rst
# tests/handlers/api/compute/test_nat.py
2023-01-10 11:52:58 +08:00
grossmj
997e0ad6ee
Fix more tests
2023-01-10 11:22:12 +08:00
grossmj
eb3fc1bb3a
Fix more tests
2023-01-10 11:09:27 +08:00
grossmj
e9c95ff299
Fix tests
2023-01-10 10:07:26 +08:00
grossmj
27d9063e56
Merge 2.2
2023-01-05 12:38:00 +08:00
grossmj
ae200d9add
Add Trusted Platform Module (TPM) support for Qemu VMs
2023-01-04 12:13:19 +08:00
grossmj
e5c8ae4bde
Use a stock BusyBox for the Docker integration
2023-01-01 17:04:48 +08:00
grossmj
46b022f726
Restore missing loop
2022-08-27 23:45:30 +02:00
grossmj
8f296e54f4
Add back loop
2022-08-27 23:41:52 +02:00
grossmj
fc7d5be736
Use pytest-asyncio auto mode
2022-08-27 21:10:17 +02:00
grossmj
d1c8f33fc5
Upgrade dev dependencies and fix issues after upgrading to pytest-aiohttp v1.0.4
2022-08-27 19:16:02 +02: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
d8b928f1c1
Fix tests.
2022-06-21 16:52:25 +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
ec3c36d6da
Fix Docker tests
2022-06-19 21:18:54 +02:00
grossmj
527d4bb3ea
Run Xtigervnc with MIT-SHM extension disabled for Docker VNC console support. Fixes #2071
2022-06-08 00:05:24 +08:00
grossmj
2535e5508d
Remove Qemu binary requirement
2022-04-19 18:21:39 +07:00
grossmj
e50bed5bee
Support delete Qemu disk image from API
...
Return the real disk image name in the 'hdx_disk_image_backed' property for Qemu VMs
2022-04-14 17:01:54 +07:00
grossmj
fda2a37b98
Handle creating Qemu disk images and resizing
2022-04-07 16:21:47 +08:00
grossmj
888c773dc0
Finish to clean up local setting usage. Ref #1460
2022-03-31 12:05:47 +08:00
grossmj
900d4f79ee
"Local" command line parameter is only for stopping
...
a server that has been started by the desktop GUI
2022-03-30 18:38:34 +08:00
grossmj
74c675d5b0
Drop Windows support
2022-01-19 22:28:36 +10:30
grossmj
87c1df1639
Fix compute Docker test. Fixes #2003
2021-12-15 13:30:38 +10:30
grossmj
af9860f965
Fix compute Docker test
2021-12-02 22:15:23 +10:30
Jeremy Grossmann
9ac6bd1e59
Merge pull request #1908 from GNS3/busybox-docker
...
Use a stock BusyBox for the Docker Integration
2021-10-16 19:47:24 +10: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
611570a863
Fix qemu-img rebase code to support Qemu 6.1. Ref https://github.com/GNS3/gns3-server/pull/1962
2021-09-05 22:18:46 +09:30
grossmj
ed336da304
Qemu 6.1 support
...
Handle the deprecated use of backing file without explicit backing format issue.
2021-09-05 18:34:37 +09:30
grossmj
4eb8491cfa
Fix tests. Fixes #1950
2021-09-01 19:31:37 +09:30
grossmj
75bb06563a
Fix tests
2021-08-30 13:04:24 +09:30
grossmj
cfaafedb09
Merge branch '3.0' into busybox-docker
2021-08-11 18:36:30 +09:30
grossmj
36b9f8bdfd
Fix tests
2021-08-10 15:58:13 +09:30
grossmj
dc914eb0f9
Fix tests.
2021-06-03 19:11:11 +09:30
grossmj
cefab8d362
Rename __json__() to asdict()
2021-04-17 23:34:28 +09: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
c043830e3f
Move endpoints to routes & preparations to use a database.
2020-11-19 15:21:03 +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
7314b41d8f
Fix tests.
2020-11-02 22:45:01 +10:30
grossmj
a92c47b310
Add HTTP client to reuse the aiohttp session where needed.
...
Remove unnecessary aiohttp exceptions.
2020-10-22 16:19:44 +10:30
grossmj
58c5965905
Fix tests.
2020-10-13 11:46:18 +10:30
grossmj
eb3cb8a41f
Migration to FastAPI
2020-10-02 16:07:50 +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
c684c554bf
Fix tests
...
(cherry picked from commit 2ba6eac113
)
2020-08-13 17:10:31 +09:30
grossmj
2ba6eac113
Fix tests
2020-08-13 17:10:31 +09:30
grossmj
9890126453
Merge branch '2.2' into 2.3
...
# Conflicts:
# gns3server/notification_queue.py
# gns3server/version.py
2020-08-13 01:48:26 +09:30
grossmj
855a95de49
Fix tests. Fixes #1796
2020-07-30 14:58:22 +09:30
grossmj
3c1a1eb4ef
Fix tests.
2020-07-29 16:32:45 +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
cbcdaabcce
Fix tests. Ref #1674
2020-07-24 15:22:11 +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
850c30f958
Merge branch 'master' into 2.2
...
# Conflicts:
# tests/handlers/api/compute/test_dynamips.py
# tests/handlers/api/compute/test_qemu.py
2020-06-29 18:44:46 +09:30
grossmj
27da8458e8
Allow tests to be run by root. Fixes #1784
2020-06-29 18:43:35 +09:30
grossmj
7fd8fde020
Some fixes for tests. Ref #1784
2020-06-19 19:05:23 +09:30
grossmj
e4b7e46444
Fix tests for Windows
2020-06-16 01:57:16 -07:00
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
dd11d38338
Fix tests.
2020-04-27 22:48:42 +09:30
grossmj
bf4550bf78
Fix tests. Ref https://github.com/GNS3/gns3-gui/issues/3047
2020-09-13 23:23:08 +09: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
688b1ac0e4
Fix tests.
2020-01-08 07:10:33 +08:00
grossmj
907207a140
Fix tests
2019-11-06 15:35:59 +08:00
David Kreitschmann
077432ff2f
Add qemu drive id to tests
2019-09-03 16:45:50 +02:00
Karim
af78031322
Resolve conflicts in docker volumes instead of error. Fixes https://github.com/GNS3/gns3-server/issues/1595
2019-06-05 10:40:40 +01:00
grossmj
9cce4de190
%guest-cid% variable implementation for Qemu VMs. Fixes https://github.com/GNS3/gns3-gui/issues/2804
2019-06-04 18:00:44 +02: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
c41c01b95f
Fix tests.
2019-05-18 19:19:27 +07:00
Karim
81ddb0cfe6
Impoved docker volumes user input validation
2019-04-22 12:46:28 +01:00
Karim
0c19bc8d43
Support for additional persistent docker volumes to be specified within appliance configuration
2019-04-22 10:26:41 +01:00
Karim
6df93d4db0
Updated tests for setting docker user
2019-04-05 11:06:35 +01:00
grossmj
a17119187b
Fix remote packet capture for Dynamips.
2019-04-01 20:58:18 +07:00
grossmj
343f223a83
Fix tests after deactivating the embedded shell for Ethernet switch. Ref #1424 #1556
2019-03-20 17:04:02 +08:00
grossmj
dd211bce52
Fix VBoxManage fails if VM has specific special characters in name. Fixes #2739
2019-03-18 23:29:18 +07:00
grossmj
5754747a90
Merging 2.1 into 2.2
2019-02-22 18:04:49 +07:00
grossmj
174624121d
Fix Qemu VM tests. Ref #1516
2019-02-17 19:53:46 +08:00
grossmj
c736051dda
Fix tests.
2018-12-30 21:50:47 +07:00
grossmj
58b2ee152d
Fix Docker console test.
2018-11-30 18:59:02 +08:00
grossmj
56412b35e0
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/docker/docker_vm.py
# gns3server/utils/asyncio/telnet_server.py
2018-11-30 12:38:02 +08:00
grossmj
3fae6ada95
Only require privileged access for uBridge when connecting a cloud to an Ethernet/TAP interface. Fixes #1461 .
2018-11-19 17:33:17 +07:00
grossmj
e7b8309a80
Fix Docker VNC tests. Ref #1438
2018-11-11 23:25:23 +08:00
grossmj
d45d52f15c
Support Xtigervnc restart.
2018-11-11 23:23:30 +08:00
grossmj
ab8dc52ece
Fix tests to work with new version of aiohttp (>= 3.0)
2018-10-17 17:32:10 +07:00
grossmj
76af98404a
Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
2018-10-15 17:05:49 +07: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
f5dc635baa
Fix test to support Python 3.7 Ref https://github.com/GNS3/gns3-gui/issues/2566
2018-08-25 15:50:08 +07:00
grossmj
a3d1e865a8
Replace asyncio.async() by asyncio.ensure_future() in tests. Ref #2566 .
2018-08-24 18:52:15 +07:00
grossmj
1550c7bee7
Fix cloud tests.
2018-06-10 17:56:56 +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
7b3d5ae5e3
Create/update project on compute when variables changes
2018-05-09 15:29:35 +02:00
ziajka
83445214be
Support for nested global variables
2018-05-09 11:25:55 +02:00
ziajka
e4436096c2
Fix tests
2018-05-07 15:18:19 +02:00
ziajka
e267f8a8b8
Project global variables
2018-05-04 14:34:44 +02:00
ziajka
80958e8a6d
support based on init.sh, Ref: #2482
2018-04-27 14:33:07 +02:00
ziajka
43081152ef
Add support of ExtraHosts for Docker, Ref. gns3-gui#2482
2018-04-25 16:03:01 +02:00
grossmj
669d2ec038
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/schemas/node.py
2018-03-30 12:14:09 +07:00
grossmj
297bbd91ec
Fix traceng tests.
2018-03-30 12:10:57 +07:00
grossmj
d08c08617c
Support for source and destination for traceNG.
2018-03-27 16:58:49 +07:00