Commit Graph

61 Commits (edb20482c732f0f3db1198cfc951c08d3bb8b1ca)

Author SHA1 Message Date
grossmj cefab8d362 Rename __json__() to asdict()
3 years ago
grossmj 30ebae207f Use Pydantic to validate the server config file.
3 years ago
grossmj 359f9a7384 Move to version 3 of the REST API.
4 years ago
grossmj eb3cb8a41f Migration to FastAPI
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 d3ea67da24 Refactor tests
4 years ago
grossmj dd11d38338 Fix tests.
4 years ago
grossmj 03401a477e Fix issue when images are not uploaded from appliance wizard. Ref https://github.com/GNS3/gns3-gui/issues/2738
6 years ago
grossmj af80b0bb6e Use aiofiles where relevant.
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 089d25c79d Forbid controller and compute servers to be different versions.
6 years ago
grossmj 7f72b90b0e The server has now 2 notification streams
6 years ago
grossmj 45edc40948 Timeout for stream file.
6 years ago
grossmj 6caf38206c Fix tests.
6 years ago
ziajka b654d78ea6 Endpoint for obtaining direct action on compute
7 years ago
Julien Duponchelle a4245fcf44
Aiohttp 2.0
7 years ago
Julien Duponchelle bfee08459d
Test image sorting
7 years ago
Julien Duponchelle e06be6729a
Fix streaming test
8 years ago
Julien Duponchelle 81a9b63dbc
Trust user for host binding of link adress
8 years ago
Julien Duponchelle 49315adf79
Do not recurse scan for images in standard image directory
8 years ago
Julien Duponchelle 57e2fd9943
If we can found a common subnet we return the host binding for link
8 years ago
Julien Duponchelle ca6f014207
Do not connect GNS3 to remote server via 169.254.X.X
8 years ago
Julien Duponchelle 3c5cbebfb4
Fix timeout issues when starting VMware or VBox
8 years ago
Julien Duponchelle ea1c525181
Fix computes tests
8 years ago
Julien Duponchelle 9799dabb98
Improve timeout management
8 years ago
Julien Duponchelle 106915f419
Return md5sum and filesize in the list of images
8 years ago
Julien Duponchelle a8ffaa9cb5
If listen on all interface do not return localhost as console
8 years ago
Julien Duponchelle b9b0feed62
Fix IPV6 server support
8 years ago
Julien Duponchelle 4bbd8938ab
Manage error when GNS3VM failed to start
8 years ago
Julien Duponchelle edae834e0e
Monitor status of the compute
8 years ago
Julien Duponchelle bbc1505274
Return what is supported by a compute node
8 years ago
Julien Duponchelle 134fed8fc5
Smart choice of host for UDP link
8 years ago
Julien Duponchelle bfabf3ddc8
Fix tests about local compute node
8 years ago
Julien Duponchelle 94a262cd46
When importing a project fix the GNS3 version
8 years ago
Julien Duponchelle 9b499dc51e
Export project with the GNS3VM
8 years ago
Julien Duponchelle 7c4c03cf17
If the connection between the controller and compute is closed reopen it
8 years ago
Julien Duponchelle 91ec61b88d
Check topology schema when loading/saving it
8 years ago
Julien Duponchelle 9bf4c22a50
Fix HTTP errors not forwarded from compute to client
8 years ago
Julien Duponchelle 543b423e03
Send compute usage via in the compute.updated notification
8 years ago
Julien Duponchelle aa5988788d
Strip user from compute in topology and return project filename
8 years ago
Julien Duponchelle 6d36429870
Reload a topology work
8 years ago
Julien Duponchelle 1b530bde3f
Fix Compute name is lost at save
8 years ago
Julien Duponchelle add546158f
List images return images on compute and controller
8 years ago
Julien Duponchelle 08e482004f
Auto upload missing images
8 years ago
Julien Duponchelle 582e3c72ff
Forward post with large content to compute
8 years ago
Julien Duponchelle 06b54d82dc
Support forwarding POST request to compute nodes
8 years ago
Julien Duponchelle 917c1c7f84
Expose /virtualbox/vms /vmwares/vms and /images via controller
8 years ago
Julien Duponchelle 4afa5994e8
Fix stacktrace when exiting with Ctrl + C
8 years ago