Commit Graph

1326 Commits (fc6aeb715a4d56e9f0d30ce8ea17ca160e058b8b)

Author SHA1 Message Date
grossmj c043830e3f Move endpoints to routes & preparations to use a database.
4 years ago
grossmj d58407c735 Fix tests.
4 years ago
grossmj 7837081eba Fix running tests with Python 3.9
4 years ago
grossmj acc5c7ebfa Update package versions.
4 years ago
grossmj 7314b41d8f Fix tests.
4 years ago
grossmj 30d6f1fa2a Make Swagger Ui the default for API documentation
4 years ago
grossmj 359f9a7384 Move to version 3 of the REST API.
4 years ago
grossmj 81439c750a Use pydantic for data validation (instead of jsonschema)
4 years ago
grossmj 13da8aa8f5 Do not automatically connect to local compute.
4 years ago
grossmj a92c47b310 Add HTTP client to reuse the aiohttp session where needed.
4 years ago
grossmj 554404e6e7 Try to run tests for Windows and macOS.
4 years ago
grossmj 0500b28aea Fix changing to ProactorEventLoop in tests.
4 years ago
grossmj bd4bf53084 Use ProactorEventLoop with pytest-asyncio
4 years ago
grossmj 25494ca098 Fix project import to work with FastAPI.
4 years ago
grossmj 596ee9b66d Test compute notifications and run tests on macOS and Windows.
4 years ago
grossmj 6af8c8933e Fix tests.
4 years ago
grossmj 58c5965905 Fix tests.
4 years ago
grossmj eb3cb8a41f Migration to FastAPI
4 years ago
Jeremy Grossmann fa26555d00
Merge pull request #1801 from GNS3/qemu-config-disk
4 years ago
grossmj f2ddef855f Fix tests.
4 years ago
grossmj 620d93634e Fix tests.
4 years ago
grossmj 9d3f7c79a2 Fix more tests
4 years ago
grossmj 546982d1ea Fix more tests
4 years ago
grossmj c684c554bf Fix tests
4 years ago
grossmj 2ba6eac113 Fix tests
4 years ago
grossmj 9890126453 Merge branch '2.2' into 2.3
4 years ago
grossmj 855a95de49 Fix tests. Fixes #1796
4 years ago
grossmj 3c1a1eb4ef Fix tests.
4 years ago
grossmj 7043d48f1a Auxiliary console support for Qemu. Ref #2873
4 years ago
grossmj 831ee5f468 Support to reset all console connections. Ref https://github.com/GNS3/gns3-server/issues/1619
4 years ago
grossmj f97d346c34 Support to reset links. Fixes https://github.com/GNS3/gns3-server/issues/1620
4 years ago
grossmj cbcdaabcce Fix tests. Ref #1674
4 years ago
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
4 years ago
grossmj d1c29c8bb7 Resource constraints for Docker VMs.
4 years ago
grossmj dff035d957 Support for "usage" for "Cloud" nodes. Fixes https://github.com/GNS3/gns3-gui/issues/2887
4 years ago
grossmj 99128e7713 Fix Key Error "vendor_id" is missing when configuring GNS3 VM with VirtualBox. Fixes https://github.com/GNS3/gns3-gui/issues/3018
4 years ago
grossmj 850c30f958 Merge branch 'master' into 2.2
4 years ago
grossmj 27da8458e8 Allow tests to be run by root. Fixes #1784
4 years ago
grossmj 7fd8fde020 Some fixes for tests. Ref #1784
4 years ago
grossmj 9d141baf22 Comment capsys tests
4 years ago
grossmj 7fb554135f Try to fix capsys issue with Python 3.8 (second try)
4 years ago
grossmj 241caa1ec7 Try to fix capsys issue with Python 3.8
4 years ago
grossmj d33584a2e4 More specific fix for Windows
4 years ago
grossmj 438b1c056c Remove '\n' from for version strings for test_parse_arguments test.
4 years ago
grossmj ef23e74e9c Another fix for test_gns3vm.py
4 years ago
grossmj 9ab8599e1e Fix other issues with tests.
4 years ago
grossmj d9ab29a9e0 Another fix for test_gns3vm.py
4 years ago
grossmj 09e9382df1 Do not try to use ProactorEventLoop() on non Windows platforms.
4 years ago
grossmj 8976384a56 Fix test_gns3vm.py
4 years ago
grossmj e4b7e46444 Fix tests for Windows
4 years ago
grossmj 1d4c3a164d Use the ProactorEventLoop on Windows.
4 years ago
grossmj d3ea67da24 Refactor tests
4 years ago
grossmj a4bc696a5f Fix tests
4 years ago
grossmj 45d135911f Fix tests.
4 years ago
grossmj 6c322bbdde Fix tests.
4 years ago
grossmj dd11d38338 Fix tests.
4 years ago
grossmj e014d36ad2 Skip tests not working on Windows.
4 years ago
grossmj bf4550bf78 Fix tests. Ref https://github.com/GNS3/gns3-gui/issues/3047
4 years ago
grossmj 3df348ac2a Server statistics implementation
4 years ago
grossmj c5412bf970 Allocate application IDs for IOU nodes on the controller.
4 years ago
grossmj 114da9764b Fix tests.
5 years ago
grossmj 0a87ee573c Accept a node name when creating a node from a template using the API. Fixes #1708
5 years ago
grossmj 688b1ac0e4 Fix tests.
5 years ago
grossmj 500b5b0b65 Fix tests.
5 years ago
grossmj 26efdaf7b7 Fix tests
5 years ago
grossmj 992c60e3e0 Return HTTP status code 204 in API when project successfully closed. Fixes #1689
5 years ago
grossmj 907207a140 Fix tests
5 years ago
grossmj 9d47050dff Use 0.0.0.0 by default for server host. Fixes https://github.com/GNS3/gns3-server/issues/1663
5 years ago
grossmj 56a4d3f8fd Fix tests.
5 years ago
grossmj 09d05accc1 Fix tests. Ref #1659
5 years ago
David Kreitschmann 077432ff2f Add qemu drive id to tests
5 years ago
grossmj 647dde1bb4 Make x,y optional for creating links via API. Fixes #1630
5 years ago
grossmj 55a9abfcea Allow "none" for compute_id in templates.
5 years ago
grossmj b0700b8787 Merge remote-tracking branch 'origin/2.2' into 2.2
5 years ago
grossmj 06ce0868ec Fix template migration issues from GUI to controller. Fixes https://github.com/GNS3/gns3-gui/issues/2803
5 years ago
Karim af78031322 Resolve conflicts in docker volumes instead of error. Fixes https://github.com/GNS3/gns3-server/issues/1595
5 years ago
grossmj 9cce4de190 %guest-cid% variable implementation for Qemu VMs. Fixes https://github.com/GNS3/gns3-gui/issues/2804
5 years ago
grossmj 6229fadace Fix topology test
5 years ago
grossmj 44a142e91d Fix tests
5 years ago
Jeremy Grossmann cdae1f9e00
Merge pull request #1584 from kazkansouh/2.2-docker-volumes
5 years ago
grossmj c41c01b95f Fix tests.
5 years ago
Karim 81ddb0cfe6 Impoved docker volumes user input validation
5 years ago
Karim 0c19bc8d43 Support for additional persistent docker volumes to be specified within appliance configuration
5 years ago
grossmj 2af9c9c8ec Prevent locked nodes to be deleted. Fixes https://github.com/GNS3/gns3-gui/issues/2764
5 years ago
Karim 6df93d4db0 Updated tests for setting docker user
5 years ago
grossmj a17119187b Fix remote packet capture for Dynamips.
5 years ago
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
5 years ago
ziajka cbb6eccad8 Merge branch '2.2' of github.com:GNS3/gns3-server into 2.2
5 years ago
ziajka 9edbd27b4f Serve WebUI via get_resource for freezed app
5 years ago
grossmj 343f223a83 Fix tests after deactivating the embedded shell for Ethernet switch. Ref #1424 #1556
5 years ago
grossmj dd211bce52 Fix VBoxManage fails if VM has specific special characters in name. Fixes #2739
5 years ago
grossmj 03401a477e Fix issue when images are not uploaded from appliance wizard. Ref https://github.com/GNS3/gns3-gui/issues/2738
5 years ago
grossmj bae3fb84b9 Download custom appliance symbols from GitHub
5 years ago
grossmj 826f6b2d57 Fix include images test.
5 years ago
grossmj af80b0bb6e Use aiofiles where relevant.
5 years ago
grossmj b0df7ecabf Merge branch '2.2' into import-export-refactoring
5 years ago
grossmj 724eda1f35 Handle locking/unlocking items independently from the layer position.
5 years ago
grossmj 9132ba8d05 Remove zipstream from tests.
5 years ago
grossmj 85ea1cf7a9 Remove import zipstream from tests.
5 years ago
grossmj 8cc8269842 Use aiozipstream for snapshots.
5 years ago
grossmj 135d56371d Fix tests for project notifications.
5 years ago
grossmj 10702f87bc Fix export test.
5 years ago
grossmj 4487e578bc Fix create a node from a template test.
5 years ago
grossmj 5754747a90 Merging 2.1 into 2.2
5 years ago
grossmj 657698a961 Fix create a node from an appliance test.
5 years ago
grossmj 174624121d Fix Qemu VM tests. Ref #1516
5 years ago
grossmj 8360ae98b1 Move appliance and template management code in their own classes.
6 years ago
grossmj c736051dda Fix tests.
6 years ago
grossmj 58b2ee152d Fix Docker console test.
6 years ago
grossmj 56412b35e0 Merge branch '2.1' into 2.2
6 years ago
grossmj d7c2e16c21 Use "template" to name what we use to create new nodes.
6 years ago
Jeremy Grossmann b4a2bc5b47
Merge pull request #1467 from GNS3/symbol-themes
6 years ago
Karim 8eb20525e8 Update schema to allow for drawing grid size to be part of project.
6 years ago
grossmj 17d070dca7 Early support for symbol themes.
6 years ago
grossmj 4e2b8bfe7c Add more information about appliances to the API documentation.
6 years ago
grossmj bc5eda8259 Restore previously removed test.
6 years ago
grossmj 3fae6ada95 Only require privileged access for uBridge when connecting a cloud to an Ethernet/TAP interface. Fixes #1461.
6 years ago
grossmj 3727487730 Fix test on Windows.
6 years ago
grossmj 3497deaa31 Allow virtual machines to use files in project directory as disk images.
6 years ago
grossmj bd657c0167 Support to duplicate an appliance.
6 years ago
grossmj a33b8eac3a Support "L1 keepalives" in IOU appliance schema.
6 years ago
grossmj c7b8c347d7 Remove problematic test when run on Travis.
6 years ago
grossmj 53f3821d41 Change test that randomly fails on Travis.
6 years ago
grossmj 74e1463015 Fix bug with custom adapters and categories for Docker VM. Fixes https://github.com/GNS3/gns3-gui/issues/2613
6 years ago
grossmj aa4593c993 Handle custom adapters in schemas.
6 years ago
grossmj 499ab9844a Reorganize how appliance creation is validated against JSON schemas.
6 years ago
grossmj 71fcf855b4 Add tests for all appliance types.
6 years ago
grossmj 1184f29b90 Add appliance API tests. Ref #1427.
6 years ago
grossmj 98f04365b7 Remove generic controller settings API endpoint.
6 years ago
grossmj cebb56387a Fix tests.
6 years ago
grossmj e7b8309a80 Fix Docker VNC tests. Ref #1438
6 years ago
grossmj d45d52f15c Support Xtigervnc restart.
6 years ago
grossmj 2764828f38 Refactor how clients access PCAP capture files. Fixes https://github.com/GNS3/gns3-gui/issues/2438.
6 years ago
grossmj df36d8377d Fix more tests.
6 years ago
grossmj ab8dc52ece Fix tests to work with new version of aiohttp (>= 3.0)
6 years ago
grossmj 76af98404a Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
6 years ago
grossmj 33e8710495 Merge branch '2.1' into 2.2
6 years ago
grossmj f5dc635baa Fix test to support Python 3.7 Ref https://github.com/GNS3/gns3-gui/issues/2566
6 years ago
grossmj 902de3dd47 Refactor asyncio locking system for Python 3.7 support. Ref https://github.com/GNS3/gns3-gui/issues/2566 Ref https://github.com/GNS3/gns3-gui/issues/2568
6 years ago
grossmj a3d1e865a8 Replace asyncio.async() by asyncio.ensure_future() in tests. Ref #2566.
6 years ago
grossmj 089d25c79d Forbid controller and compute servers to be different versions.
6 years ago
grossmj 651d8280a7 Fix appliance template tests.
6 years ago
grossmj 7f72b90b0e The server has now 2 notification streams
6 years ago
grossmj dac3ba19b7 Merge branch '2.1' into 2.2
6 years ago
grossmj 23e83b730b Fix some more problems with interface short names. Fixes https://github.com/GNS3/gns3-gui/issues/2562
6 years ago
grossmj 652d5788c3 Fix tests.
6 years ago
grossmj 033f005bde Merge branch '2.1' into 2.2
6 years ago
ziajka dd845eb096 Fix tests on Windows
6 years ago
ziajka 41026c74c1 Use mocked dir for web-ui redirection test
6 years ago
ziajka 7d75b6248d Use mocked dir of web-ui for tests
6 years ago