Rolf Sommerhalder
6e88d4816f
REST API example needs additional parameter
...
While try this example with GNS3 branch 3.0 on Ubuntu 20.04 LTS, the API call
```$ curl http://172.17.46.114:3080/v3/users/authenticate -d '{"username": "admin", "password": "admin"}' ``` fails with ```{"detail":[{"loc":["body"],"msg":"value is not a valid dict","type":"type_error.dict"}]}```.
The additional parameter appended to curl fixes this ```{"access_token":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJhZG1pbiIsImV4cCI6MTYzMTI4NTc4NX0.kT1dAN4v1vHMTBJO2UaI2I7yAFhnSpBU9iqmdDuwtAQ","token_type":"bearer"} ```
Found after googling for the error above in
FastAPI 0.65.2 POST request fails with "value is not a valid dict" when using the Requests library; 0.65.1 works (with a caveat) #3373
https://github.com/tiangolo/fastapi/issues/3373#issuecomment-886745123
2021-09-09 17:08:26 +02:00
grossmj
6d10d92af2
Fix images_path -> symbols_path
2021-09-09 16:58:42 +09:30
grossmj
a8aeb63c91
No need to find the mountpoint first for disk usage.
2021-09-09 16:58:02 +09:30
grossmj
986010446a
Remove empty files after merge
2021-09-09 16:55:00 +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
5162ef2e22
Updated affinity symbols
2021-09-08 01:08:01 +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
99d7d0c769
Merge branch 'master' into 2.2
...
# Conflicts:
# gns3server/compute/qemu/qemu_vm.py
2021-09-05 21:53:36 +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
Brian Candler
21e9f38437
Reinstate qemu-img rebase
...
This allows importing portable projects with images and/or snapshots,
regression introduced by #1927 .
Fixes #1955
2021-09-04 12:34:22 +01:00
grossmj
f1ecb02160
Small db tables adjustments
2021-09-04 15:23:25 +09:30
grossmj
fdc3774fff
Add index for "name" field in role table
2021-09-03 15:21:41 +09:30
grossmj
a55c9a5c6a
Return disk usage for partition that contains the default project directory. Fixes #1947
2021-09-03 12:04:10 +09:30
Jeremy Grossmann
51c6f3fa31
Revert "List disk usage for all mount points"
2021-09-02 21:59:09 +09:30
grossmj
b1224ce9f6
Update schema description for disk_usage_percent.
2021-09-02 15:48:13 +09:30
grossmj
a2367d3c04
List disk usage for all mount points.
2021-09-02 15:43:38 +09:30
grossmj
d606553e20
Allow images to be stored in subdirs and used by templates.
2021-08-30 16:53:41 +09:30
grossmj
75bb06563a
Fix tests
2021-08-30 13:04:24 +09:30
grossmj
afdda427d2
Merge branch 'master' into 3.0
...
# Conflicts:
# .github/workflows/testing.yml
# gns3server/compute/builtin/nodes/nat.py
# gns3server/compute/qemu/__init__.py
# gns3server/controller/link.py
# gns3server/utils/asyncio/embed_shell.py
# gns3server/utils/asyncio/raw_command_server.py
# gns3server/utils/asyncio/telnet_server.py
# gns3server/version.py
# gns3server/web/web_server.py
2021-08-29 19:23:51 +09:30
grossmj
945e3e3e8e
Development on 2.2.25dev1
2021-08-25 21:23:19 +09:30
grossmj
59a89c5f88
Release v2.2.24
2021-08-25 20:31:25 +09:30
grossmj
78c2ded2aa
Merge branch 'master' into 2.2
2021-08-25 20:08:26 +09:30
piotrpekala7
6ba40bd5fb
Release web UI 2.2.24
2021-08-25 11:57:52 +02:00
grossmj
6005e89181
Fix issue when searching for image with relative path. Fixes #1925
2021-08-25 17:23:21 +09:30
grossmj
27bcb60580
Sync appliance files.
2021-08-24 21:21:18 +09:30
grossmj
363fdb7d10
Fix wrong error when NAT interface is not allowed. Fixes #1943
2021-08-24 20:40:06 +09:30
grossmj
92150fba71
Fix incorrect Qemu binary selected when importing template. Fixes https://github.com/GNS3/gns3-gui/issues/3216
2021-08-24 17:26:06 +09:30
grossmj
c4c71cc838
Fix error when updating a link style. Fixes https://github.com/GNS3/gns3-gui/issues/2461
2021-08-24 11:35:33 +09:30
grossmj
332fa47b50
Option to prune images when deleting template.
2021-08-23 10:27:10 +09:30
grossmj
bf9a3aee20
Associate images when creating or updating a template.
2021-08-22 15:16:02 +09:30
grossmj
4d9e4e1059
Add prune images endpoint.
...
Use many-to-many relationship between images and templates.
2021-08-20 15:58:41 +09:30
grossmj
8f30b466e0
Merge remote-tracking branch 'origin/3.0' into 3.0
2021-08-19 14:48:29 +09:30
grossmj
07d4892faf
Check if user has the right to add a permission
2021-08-19 14:47:48 +09:30
Jeremy Grossmann
1a5fb1abcc
Only use the necessary HTTP methods for default permissions
2021-08-17 23:47:32 +09:30
grossmj
4c6135fe88
Add /permissions/prune to delete orphaned permissions
2021-08-17 21:55:59 +09:30
grossmj
9df586d5d5
Check a permission matches an existing route before it is allowed to be created.
2021-08-17 16:14:15 +09:30
grossmj
8aada49414
Some fixes for early support for Python3.10
...
The loop parameter has been removed from most of asyncio‘s high-level API following deprecation in Python 3.8.
2021-08-15 15:25:33 +09:30
grossmj
496170b4e5
Early support for Python3.10 Fixes #1940
2021-08-15 15:09:48 +09:30
grossmj
75c934f30a
Bump version to 3.0.0dev3
2021-08-12 16:05:19 +09:30
grossmj
cfaafedb09
Merge branch '3.0' into busybox-docker
2021-08-11 18:36:30 +09:30
grossmj
d0a9425392
Remove busybox and copy system busybox in setup.py
2021-08-11 17:27:47 +09:30
grossmj
078c42f185
Save image size + start to automatic template creation based on image checksum.
2021-08-11 16:58:23 +09:30
Jeremy Grossmann
f13b4e89b7
Merge branch '3.0' into image-management-refactoring
2021-08-10 05:46:22 -07:00
grossmj
ce55ec73a4
Fix exception with endpoints returning HTTP status code 204. Fixes #1891
2021-08-10 21:53:21 +09:30
grossmj
3ae7783360
Fix "-machine accel=tcg" check
2021-08-10 15:41:05 +09:30
grossmj
c5c95979c2
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/base_node.py
# gns3server/compute/qemu/qemu_vm.py
# gns3server/compute/qemu/utils/qcow2.py
# gns3server/handlers/api/compute/qemu_handler.py
# gns3server/handlers/api/controller/server_handler.py
# gns3server/version.py
2021-08-10 15:38:49 +09:30
grossmj
6dd0f4d4d3
Allow logged in user to change some of its data. Administrators can lock users using the is_active
field.
2021-08-09 16:36:18 +09:30
grossmj
8c0899d086
Development on 2.2.24dev1
2021-08-05 21:16:10 +09:30
grossmj
d5c73f4ba4
Release v2.2.23
2021-08-05 15:58:54 +09:30
grossmj
77487e4fc3
Merge branch 'master' into 2.2
2021-08-05 15:54:16 +09:30
grossmj
754f55b01b
Sync appliance files.
2021-08-05 15:53:12 +09:30
Jeremy Grossmann
b68f7a78a7
Merge pull request #1927 from candlerb/candlerb/1921
...
Support cloning of encrypted qcow2 base image files
2021-08-04 23:19:23 -07:00
piotrpekala7
6c36beb97f
Release web UI 2.2.23
2021-08-04 10:59:50 +02:00
grossmj
1a24ebfc19
Add a reload
server endpoint. Fixes #1926
2021-08-01 16:20:30 +09:30
Jeremy Grossmann
6cf268ca93
Merge pull request #1934 from GNS3/handle_no-kvm_deprecated
...
Handle -no-kvm param deprecated in Qemu >= v5.2
2021-07-27 17:37:41 +09:30
grossmj
4646ce684f
Handle -no-kvm param deprecated in Qemu >= v5.2
2021-07-27 16:34:51 +09:30
Andrej Krpič
3b7dc21ef0
Fix binary websocket access to the console
...
telnet_writer.write is not an async method - drain() is.
Remove async keyword so the call is the same as for the text websocket.
2021-07-26 12:58:35 +02:00
grossmj
0ecea8ffbb
Change how to generate random MAC addresses
2021-07-25 16:03:54 +09:30
Brian Candler
1ee3e14bd3
Support cloning of encrypted qcow2 base image files
...
Fixes #1921
2021-07-09 10:53:02 +01:00
grossmj
1f0ceb6f74
Symbols endpoints (except upload) don't require authentication.
2021-06-16 20:22:49 +09:30
grossmj
c13f5c6627
Update to the udhcpc wrapper script. Ref #1890
2021-06-14 19:28:40 +09:30
grossmj
cdedd53339
Fix VMware VM support on Linux and Windows. Fixes #1919
2021-06-14 13:16:11 +09:30
grossmj
229a04e2fa
Fix link style merge
2021-06-12 15:26:35 +09:30
Jeremy Grossmann
e78b5fa6d6
Fix typo
2021-06-12 15:20:55 +09:30
grossmj
6ec028ea4e
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/builtin/nodes/cloud.py
# gns3server/compute/vmware/vmware_vm.py
# gns3server/controller/link.py
# gns3server/controller/snapshot.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/controller/link_handler.py
# gns3server/schemas/link.py
# gns3server/utils/path.py
# gns3server/version.py
# requirements.txt
2021-06-12 14:36:32 +09:30
grossmj
3524e22761
Development on 2.2.23dev1
2021-06-10 16:20:09 +09:30
grossmj
10daab21a3
Release v2.2.22
2021-06-10 15:41:58 +09:30
grossmj
22eb6f7d8c
Sync appliance files.
2021-06-10 12:42:43 +09:30
grossmj
c892cf371b
Fix VMware support on macOS BigSur
2021-06-08 11:56:33 +09:30
grossmj
bfd30f3547
Sync appliance files.
2021-06-07 15:01:45 +09:30
grossmj
4e34ab8e4f
Link style support. Fixes https://github.com/GNS3/gns3-gui/issues/2461
2021-06-07 14:08:21 +09:30
grossmj
5da5cbd6d8
Merge branch 'master' into 2.2
2021-06-07 13:34:25 +09:30
grossmj
515bd50261
Start refactoring for images management
2021-06-06 16:52:47 +09:30
piotrpekala7
08f540f417
Release web UI 2.2.22
2021-06-05 10:32:12 +02:00
grossmj
f64b5cd9b6
Allow controller to be reloaded using the API. Fixes #1743
2021-06-04 17:01:07 +09:30
grossmj
6a726d0344
Fix formatting issue.
2021-06-03 19:32:00 +09:30
grossmj
9b0e3a77ed
Use a stock BusyBox for the Docker Integration
2021-06-03 18:38:08 +09:30
grossmj
8be015cd86
Move "/{project_id}/templates/{template_id}" endpoint.
2021-06-03 18:18:34 +09:30
grossmj
6fb6a27859
Add last login info for users.
2021-06-03 16:57:16 +09:30
grossmj
4e33d29af8
Change RBAC field names from builtin to is_builtin
2021-06-03 16:24:38 +09:30
grossmj
d65b49acaa
Add user permissions + RBAC tests.
2021-06-03 15:40:12 +09:30
grossmj
36a27c0c19
Force refresh of updated_at value for RBAC db models.
2021-06-01 16:12:06 +09:30
grossmj
a6d2f48df1
Merge remote-tracking branch 'origin/3.0' into rbac
2021-06-01 16:11:22 +09:30
grossmj
0113ca6673
Force refresh of updated_at value in db models.
2021-06-01 16:09:29 +09:30
grossmj
74d820fd0a
Use synchronize_session="fetch" when updating values.
2021-06-01 15:55:50 +09:30
grossmj
e9b9884ee3
Merge remote-tracking branch 'origin/3.0' into rbac
2021-06-01 15:50:14 +09:30
grossmj
a6c2a3e47f
Use synchronize_session="fetch" when updating values.
2021-06-01 13:02:03 +09:30
grossmj
2e2e31337a
Add description for user permission.
2021-06-01 12:55:16 +09:30
grossmj
fbc47598d9
Basic functional RBAC support.
2021-05-27 17:28:44 +09:30
grossmj
6d4da98b8e
Base API and tables for RBAC support.
2021-05-25 18:34:59 +09:30
Brian Candler
c051367d4b
Preserve auto_start/auto_open/auto_close when restoring snapshot
...
Fixes #1904
2021-05-24 17:31:04 +01:00
grossmj
eb0f8c6174
Save/restore appliances Etag.
2021-05-17 00:37:15 +09:30
grossmj
f416d64042
Allow to set the initial super admin username / password in server config file. Ref #1857
2021-05-16 20:01:05 +09:30
grossmj
fffbb08a8e
Catch SQLAlchemyError exception.
2021-05-16 18:37:17 +09:30
grossmj
d759564e20
Require authentication for get_user_memberships endpoint.
2021-05-16 17:06:23 +09:30
grossmj
971e86d254
Fix uBridge errors for cloud nodes not visible in logs. Fixes #1895
2021-05-16 14:59:02 +09:30
grossmj
6847e19847
Change method to prevent forbidden directory traversal. Fixes #1894
2021-05-16 14:44:38 +09:30
grossmj
2bf16f1e5f
Change method to prevent forbidden directory traversal. Ref #1894
2021-05-16 14:29:56 +09:30
grossmj
f3d81fa450
Clean files and catch file path escape. Ref #1894
2021-05-15 22:35:44 +09:30
grossmj
09ac7fd7fb
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/base_manager.py
# gns3server/handlers/api/compute/dynamips_vm_handler.py
# gns3server/handlers/api/compute/iou_handler.py
# gns3server/handlers/api/compute/project_handler.py
# gns3server/handlers/api/compute/qemu_handler.py
# gns3server/handlers/api/controller/node_handler.py
# gns3server/handlers/api/controller/project_handler.py
# gns3server/handlers/index_handler.py
# tests/handlers/api/compute/test_project.py
# tests/handlers/api/compute/test_qemu.py
# tests/handlers/api/controller/test_node.py
# tests/handlers/api/controller/test_project.py
2021-05-15 20:46:34 +09:30
grossmj
e86d8f96ca
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/version.py
2021-05-15 20:12:21 +09:30
grossmj
9a6978902d
Fix tests.
2021-05-15 19:43:36 +09:30
grossmj
6294ad9e76
Prevent directory traversal
2021-05-15 17:35:32 +09:30
grossmj
8810249d36
Add user groups support.
2021-05-15 15:10:02 +09:30
grossmj
2c938b2c19
Development on 2.2.22dev1
2021-05-10 23:44:40 +09:30
grossmj
03b7d9191b
Release v2.2.21
2021-05-10 22:42:46 +09:30
grossmj
87c87ca3cb
Sync appliance files.
2021-05-10 22:39:03 +09:30
grossmj
dfba40fee2
Merge branch 'master' into 2.2
2021-05-10 22:34:59 +09:30
grossmj
956b9056c1
Fix issues with latest version of sqlalchemy
2021-05-08 15:37:51 +09:30
grossmj
0a77f0035b
Add delete cascade on foreign keys for appliance table
2021-05-06 17:25:32 +09:30
grossmj
10164e262d
Enable SQL foreign key support for SQLite
2021-05-06 17:21:45 +09:30
grossmj
912fb2ed29
Fix add node from template. Fixes https://github.com/GNS3/gns3-web-ui/issues/1122
2021-05-06 16:22:16 +09:30
piotrpekala7
f576bedfaf
Release web UI 2.2.21
2021-04-30 14:01:53 +02:00
grossmj
a795e0d7c1
Add missing CORS origins.
2021-04-28 21:20:05 +09:30
grossmj
41ba215e32
Show topology path when check topology schema fails.
2021-04-27 22:48:55 -07:00
grossmj
b1b3338e3c
Fix bug when binding on address already in use.
2021-04-28 15:13:31 +09:30
grossmj
edb20482c7
Fix bug when no server config file is present.
2021-04-28 14:44:34 +09:30
grossmj
d3ace8ff17
Fix user delete endpoint.
2021-04-26 16:21:16 +09:30
grossmj
49be4146d6
Protect controlle notification endpoints. Ref #1888
...
(WebSocket endpoint is not secured, it takes an optional token).
2021-04-26 16:18:18 +09:30
grossmj
a02aede1b0
Use uuid5 to create new compute_id. Fixes #1641 #1887
2021-04-21 13:47:32 +09:30
grossmj
dff1ec9bc6
Fix /users/me endpoint.
2021-04-20 19:54:55 +09:30
grossmj
0465cb87f6
Protect the API and add alternative authentication endpoint.
2021-04-20 11:59:02 +09:30
grossmj
e28452f09a
Secure users API and handle manual password recovery.
2021-04-19 09:40:04 +09:30
grossmj
c03226e368
Add default super admin account in controller db.
2021-04-18 17:39:47 +09:30
grossmj
9404c00411
Complete type annotations for API endpoints.
2021-04-18 15:40:38 +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
bad3ef7003
Detect the app is exiting and avoid reconnecting to computes.
2021-04-17 18:33:20 +09:30
grossmj
9c850e0f2b
Move schemas between compute and controller subpackages
2021-04-15 18:12:08 +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
a9eb035b7d
Move error responses to API routers.
2021-04-13 16:19:56 +09:30
grossmj
6b0d0de1bc
Wait for local compute to be started.
...
Don't reconnect to local compute when server is being stopped.
2021-04-13 15:41:59 +09:30
grossmj
71725aade6
Rename ssl and auth configuration file settings.
...
Add enable SSL config validator.
Strict configuration file validation: any error will prevent the server to start.
Core server logic moved to a Server class.
2021-04-12 23:26:42 +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
fa4c9a91ca
Add symbol dimensions endpoint and SSL support for packet capture with remote HTTPS server.
2021-04-10 13:01:23 +09:30
grossmj
802959f9ab
Merge branch 'master' into 3.0
...
# Conflicts:
# dev-requirements.txt
# gns3server/controller/__init__.py
# gns3server/controller/appliance_manager.py
# gns3server/controller/compute.py
# gns3server/controller/topology.py
# gns3server/handlers/api/compute/ethernet_switch_handler.py
# gns3server/handlers/api/controller/link_handler.py
# gns3server/handlers/api/controller/symbol_handler.py
# gns3server/version.py
# requirements.txt
# tests/controller/test_export_project.py
# tests/handlers/api/compute/test_qemu.py
# tests/web/test_response.py
# win-requirements.txt
2021-04-10 12:46:40 +09:30
grossmj
4e61cc811e
Improvements for get symbol dimensions endpoint. Ref #1885
2021-04-10 12:28:50 +09:30
Jeremy Grossmann
c9c6a5a762
Merge pull request #1885 from GNS3/Create-endpoint-in-symbols-handler-to-get-symbol-dimensions
...
Create endpoint in symbols handler to get symbol dimensions #1884
2021-04-09 04:59:57 -07:00
grossmj
e797ad1b9f
Development on 2.2.21dev1
2021-04-09 13:50:20 +09:30
grossmj
a50141fcbf
Release v2.2.20
2021-04-09 12:14:38 +09:30
grossmj
852151f836
Merge branch 'master' into 2.2
2021-04-09 12:06:01 +09:30
grossmj
e5807e5a8c
Sync appliance files.
2021-04-09 12:04:20 +09:30
piotrpekala7
30cbfe2154
Update picture.py
2021-04-08 23:29:46 +02:00
piotrpekala7
4bbf7c2ed2
Update symbol_handler.py
2021-04-08 21:27:05 +02:00
piotrpekala7
7a8c1e8f5d
Release web UI 2.2.20
2021-04-08 13:30:59 +02:00
grossmj
7bb5202bdb
Sync appliance files.
2021-04-07 20:58:55 +09:30
grossmj
082206a7db
Fix packet capture with HTTPS remote server. Fixes #1882
2021-04-07 12:40:15 +09:30
grossmj
360a819e91
Set PyQt5 version to 5.15.2 on Windows
2021-04-06 22:12:34 +09:30
grossmj
685963b85d
Sync appliance files and remove old ones after sync with online repo. Fixes #1876
2021-04-06 17:38:11 +09:30
grossmj
e614ed79f4
Upgrade dependencies
2021-04-06 13:57:00 +09:30
grossmj
170e83e589
Fix tests and update requirements
2021-04-05 17:43:35 +09:30
grossmj
5217dbf3a3
Fix tests
2021-04-05 14:39:50 +09:30
grossmj
566e326b57
Save computes to database
2021-04-05 14:21:41 +09:30
grossmj
e607793e74
Generate a new list in template schema defaults.
2021-04-02 17:45:16 +10:30
grossmj
3b30d51972
Sync appliance files.
2021-04-02 17:43:38 +10:30
grossmj
91920e5a5b
Fix issue with tests + some cleaning.
2021-03-31 09:58:52 +10:30
grossmj
0fea3f969e
Use aiosqlite and add service for templates
2021-03-28 21:17:29 +10:30
grossmj
d730c591b3
Refactor template management to use database.
2021-03-28 11:15:08 +10:30
grossmj
6120736c91
Fix export for missing files
2021-03-24 13:16:00 +10:30
grossmj
055a78bade
Fix issue when trying to export temporary Dynamips files.
2021-03-24 12:06:10 +10:30
grossmj
fad52ea2fc
Development on 2.2.20dev1
2021-03-05 16:48:09 +10:30
grossmj
d8054c7cb4
Release v2.2.19
2021-03-05 14:51:03 +10:30
grossmj
91570f475f
Launch projects marked for auto open after SIGHUP is received
2021-03-05 14:47:20 +10:30
grossmj
42cda3af2b
Sync appliance files.
2021-03-05 14:46:20 +10:30
grossmj
e6be6bc958
Merge branch 'master' into 2.2
2021-03-02 17:18:24 +10:30
grossmj
b7f8fb283b
Sync appliance files.
2021-03-02 17:09:28 +10:30
piotrpekala7
72d5b5e7cc
Release web UI 2.2.19
2021-03-02 00:31:54 +01:00
grossmj
8cce0eedee
Fix console type error when creating Ethernet switch node. Fixes #1873
2021-03-01 13:55:52 +10:30
grossmj
11c53c128e
Sync Juniper vSRX appliance file.
2021-02-24 14:28:12 +10:30
grossmj
17b56ac7cb
Sync appliance files.
2021-02-24 14:08:13 +10:30
grossmj
c17a86e814
Add missing async
2021-02-18 18:14:35 +10:30
grossmj
1add223891
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/qemu/qemu_vm.py
# gns3server/handlers/api/controller/server_handler.py
# gns3server/schemas/project.py
# gns3server/schemas/qemu.py
# gns3server/schemas/qemu_template.py
# gns3server/version.py
# tests/handlers/api/compute/test_qemu.py
2021-02-16 21:11:40 +10:30
grossmj
3c5bbe04dc
Development on 2.2.19dev1
2021-02-16 20:44:58 +10:30
grossmj
c213cae500
Release v2.2.18
2021-02-16 19:09:46 +10:30
grossmj
1043be02a6
Merge branch 'master' into 2.2
...
# Conflicts:
# gns3server/compute/qemu/qemu_vm.py
2021-02-16 19:02:12 +10:30
grossmj
56c25727b6
SIGHUP: remove projects with an empty project directory.
2021-02-16 17:00:59 +10:30
grossmj
0b854ffceb
Bump version to 2.2.18dev2
2021-02-16 16:35:26 +10:30
piotrpekala7
366e904698
Release web UI 2.2.18
2021-02-15 23:55:14 +01:00
grossmj
16c84e23a9
Catch OSError exception in psutil. Fixes https://github.com/GNS3/gns3-gui/issues/3127
2021-02-15 15:57:24 +10:30
grossmj
64f172fe20
Expose 'auto_open' and 'auto_start' properties in API when creating project. Fixes https://github.com/GNS3/gns3-gui/issues/3119
2021-02-15 15:16:19 +10:30
grossmj
9de61cd671
Fix warning: 'ide-drive' is deprecated when using recent version of Qemu. Fixes https://github.com/GNS3/gns3-gui/issues/3101
2021-02-14 14:39:02 +10:30
grossmj
9e6ccc3f61
Fix bug when starting of vpcs stopped with "quit". Fixes https://github.com/GNS3/gns3-gui/issues/3110
2021-02-14 13:50:10 +10:30
grossmj
4c339eade1
Fix WinError 0 handling
2021-01-27 21:47:14 +10:30
grossmj
128e494134
Stop uBridge if VPCS node has been terminated. Ref https://github.com/GNS3/gns3-gui/issues/3110
2021-01-27 21:03:19 +10:30
Brent Baccala
235a127111
Allow cloned QEMU disk images to be resized before the node starts,
...
by cloning the disk image in response to a resize request instead
of waiting until the node starts.
2020-12-30 15:36:38 -05:00
grossmj
58c1b01439
Add default JWT secret key and fix tests.
2020-12-18 16:51:54 +10:30
grossmj
bde706d19a
Generate JWT secret key if none is configured in the config file.
...
Change location of the database.
2020-12-16 18:24:21 +10:30
grossmj
6aefb5d32b
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/base_node.py
# gns3server/version.py
# gns3server/web/web_server.py
2020-12-07 18:00:33 +10:30
grossmj
d47dcb0d6f
User authentication with tests.
2020-12-07 16:52:36 +10:30
grossmj
87ede50827
Development on 2.2.18dev1
2020-12-04 18:10:11 +10:30
grossmj
24fe67f82b
Release v2.2.17
2020-12-04 16:26:56 +10:30
grossmj
18c878429f
Merge branch 'master' into 2.2
2020-12-04 16:22:04 +10:30
grossmj
6c3a070733
Close and remove projects deleted from disks after SIGHUP signal is received.
2020-12-04 16:17:28 +10:30
piotrpekala7
a157ef5a8a
Release web UI 2.2.17
2020-12-04 02:59:13 +01:00
grossmj
5244ae6d4c
New config file options to configure the VNC console port range.
2020-12-03 18:04:42 +10:30
grossmj
bf7cf862af
Refactor tests and start work on database integration.
2020-12-02 18:39:08 +10:30
grossmj
ae55c0ec9c
Fix tests.
2020-11-19 15:27:33 +10:30
grossmj
c043830e3f
Move endpoints to routes & preparations to use a database.
2020-11-19 15:21:03 +10:30
Karthikeyan Singaravelan
603683e2c5
Use asyncio.all_tasks instead of deprecated method for Python 3.9 compatibility.
2020-11-17 06:30:47 +00:00
grossmj
95ea1fa636
Providing the path to create a project is now deprecated.
2020-11-13 15:17:54 +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
Bernhard Ehlers
e45bc5aec1
Fix mcopy error messages
2020-11-05 15:00:44 +01:00
grossmj
e13c84bada
Fix tests
2020-11-05 18:47:59 +10:30
grossmj
841b013223
SSL support.
2020-11-05 18:24:50 +10:30
grossmj
a5d89b428a
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/controller/__init__.py
# gns3server/controller/compute.py
# gns3server/schemas/gns3vm.py
# gns3server/utils/application_id.py
# gns3server/version.py
# gns3server/web/web_server.py
2020-11-05 17:15:25 +10:30
grossmj
a3ee1d9ee6
Development on 2.2.17dev1
2020-11-05 16:59:58 +10:30
grossmj
0e95e7e023
Release v2.2.16
2020-11-05 15:38:19 +10:30
grossmj
1748250179
Sync appliance files.
2020-11-05 15:30:21 +10:30
grossmj
c8ea22c651
Merge branch 'master' into 2.2
2020-11-05 15:05:05 +10:30
grossmj
d16cb5ef89
Option to allocate or not the vCPUs and RAM settings for the GNS3 VM. Fixes https://github.com/GNS3/gns3-gui/issues/3069
2020-11-05 11:13:57 +10:30
piotrpekala7
004acdc271
Release web UI 2.2.16
2020-11-04 12:51:25 +01:00
grossmj
e182f53d69
Fix wrong defaults for images_path, configs_path, appliances_path. Fixes #1829
2020-11-04 12:30:23 +10:30
grossmj
5a7b5e4e08
Make sure all HTTP exceptions return JSON with a "message" field instead of "detail"
2020-11-02 18:08:25 +10:30
grossmj
359f9a7384
Move to version 3 of the REST API.
...
Rename packet capture endpoints.
2020-11-02 12:05:32 +10:30
grossmj
eeaf10b418
Put all schemas in the same module.
2020-10-31 16:02:21 +10:30
grossmj
81439c750a
Use pydantic for data validation (instead of jsonschema)
...
Fix/improve various pydantic shema models.
2020-10-31 15:07:12 +10:30
grossmj
b6a021dabd
Fix SSL support for controller and local compute. Fixes #1826
2020-10-27 23:25:19 +10:30
grossmj
5dab0c2587
Prevent WIC to be added/removed while Dynamips router is running. Fixes https://github.com/GNS3/gns3-gui/issues/3082
2020-10-27 20:08:01 +10:30
grossmj
5d1fdceb98
Fix bug with application id allocation for IOU nodes. Fixes #3079
2020-10-27 19:41:24 +10:30
grossmj
b2fb2442c8
Change tag for index routes.
2020-10-24 17:00:43 +10:30
grossmj
d316ee33df
Capitalize openapi tags.
2020-10-24 15:35:53 +10:30
grossmj
80d14a98fb
Some cleaning in compute.py
2020-10-23 19:42:21 +10:30
grossmj
3185ebaa3d
Publish API documentation generated by FastAPI.
2020-10-23 18:01:58 +10:30
grossmj
087bbd1a0b
Fix tests.
2020-10-22 20:37:34 +10:30
grossmj
a08ddce033
Revert compute.py
2020-10-22 20:05:37 +10:30
grossmj
97a91f1899
Overwrite uvicorn loggers.
2020-10-22 19:56:53 +10:30
grossmj
13da8aa8f5
Do not automatically connect to local compute.
2020-10-22 16:47:11 +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
36c8920cd1
Warn not to use the private compute API. Fixes #1593 .
2020-10-20 16:27:00 +10:30
grossmj
25494ca098
Fix project import to work with FastAPI.
2020-10-19 22:39:30 +10:30
grossmj
b8e8e5cba7
Fix status code 204 must not have a response body.
2020-10-19 18:42:27 +10:30
grossmj
5d71ee25ee
Fix syntax error.
2020-10-19 18:34:27 +10:30
grossmj
f20e16074f
Fix Docker dev server script.
2020-10-19 18:28:01 +10:30
grossmj
be6d4771d0
Migrate PCAP streaming code to work with FastAPI.
2020-10-19 15:55:29 +10:30
grossmj
bd8565b2b9
Refactor WebSocket console code to work with FastAPI.
...
Fix endpoint routes.
2020-10-19 15:00:41 +10:30
Bernhard Ehlers
de2b9caeeb
Use HDD disk image as startup QEMU config disk
2020-10-19 03:19:22 +02:00
grossmj
5341ccdbd6
Use dependencies and group common HTTP responses in endpoints.
2020-10-14 10:49:29 +10:30
grossmj
46f4e7ef6e
Fix update property call for Qemu VMs.
2020-10-12 18:07:00 +10:30
grossmj
0746949207
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/qemu/qemu_vm.py
# gns3server/handlers/api/compute/qemu_handler.py
# gns3server/handlers/api/controller/symbol_handler.py
# gns3server/version.py
# tests/compute/qemu/test_qemu_vm.py
# tests/endpoints/compute/test_qemu_nodes.py
# tests/endpoints/controller/test_nodes.py
2020-10-12 18:04:49 +10:30
grossmj
362701f5aa
Allow commas in image paths and VM name for Qemu VMs. Fixes https://github.com/GNS3/gns3-gui/issues/3065
2020-10-11 14:02:22 +10:30
grossmj
91244456f5
Handle comma in disk path for Qemu VMs. Fixes https://github.com/GNS3/gns3-gui/issues/3065
2020-10-08 22:09:03 +10:30
grossmj
88ab528977
Development on 2.2.16dev1
2020-10-07 16:30:03 +10:30
grossmj
7d031e71a0
Release v2.2.15
2020-10-07 15:29:52 +10:30
grossmj
c46c095fcb
Sync appliance files.
2020-10-07 15:24:15 +10:30
grossmj
e592b95639
Revert "Add info log to show where custom symbols are searched from."
...
This reverts commit 593e3795
2020-10-07 15:20:28 +10:30
grossmj
593e379523
Add info log to show where custom symbols are searched from.
2020-10-07 15:19:09 +10:30
grossmj
d451d3125e
Fix symbol retrieval issue. Ref #1824
2020-10-07 11:48:11 +10:30
grossmj
c248764efb
Fixes update() missing 2 required positional arguments: 'name' and 'value'. Fixes #1821 #1825
2020-10-06 17:08:51 +10:30
grossmj
0259696872
Fix Hyper-V based GNS3 VM WMI issue. Fixes #1822
2020-10-06 16:42:50 +10:30
grossmj
165ba4d8d5
Merge branch 'master' into 2.2
2020-10-06 12:30:08 +10:30
piotrpekala7
8049ab8b64
Release 2020.4.0-beta.1
2020-10-05 15:42:19 +02:00
grossmj
eb3cb8a41f
Migration to FastAPI
2020-10-02 16:07:50 +09:30
grossmj
2857cab94e
Development on 2.2.15dev1
2020-09-15 06:49:11 +09:30
grossmj
326841cd9e
Release v2.2.14
2020-09-15 05:52:47 +09:30
grossmj
dacc5ef9cd
Merge branch 'master' into 2.2
2020-09-15 05:28:00 +09:30
piotrpekala7
dd1e4f655e
Release 2020.3.0-beta.4
2020-09-14 18:35:17 +02:00
grossmj
399f1c082e
Add '-smp sockets=1' by default for Qemu VMs. Ref https://github.com/GNS3/gns3-gui/issues/3047
2020-09-13 23:16:52 +09:30
grossmj
919abdc052
Sync appliance files.
2020-09-12 23:08:38 +09:30
grossmj
992cd7fc6c
Implement full restart if user reload a Qemu VM which has been updated. Fixes https://github.com/GNS3/gns3-gui/issues/3038
2020-09-12 23:07:39 +09:30
grossmj
90ecefd455
Development on 2.2.14dev1
2020-09-05 04:26:16 +09:30
grossmj
b4c7823696
Release v2.2.13
2020-09-04 23:13:28 +09:30
grossmj
ffde704251
Merge branch 'master' into 2.2
2020-09-04 23:10:09 +09:30
piotrpekala7
8c00cd0a84
Release 2020.3.0-beta.3
2020-09-04 12:54:48 +02:00
grossmj
2bf625e000
Fix issue when resuming Qemu VM. Fixes https://github.com/GNS3/gns3-gui/issues/3027
2020-09-04 18:02:21 +09:30
grossmj
5305117a75
Sync appliance files.
2020-09-04 01:59:45 +09:30
grossmj
4843084158
Prioritize the config disk over HD-D for Qemu VMs.
...
Fixes https://github.com/GNS3/gns3-gui/issues/3036
(cherry picked from commit c12b675691
)
2020-08-18 10:54:11 +09:30
grossmj
c12b675691
Prioritize the config disk over HD-D for Qemu VMs.
...
Fixes https://github.com/GNS3/gns3-gui/issues/3036
2020-08-18 10:54:11 +09:30
Jeremy Grossmann
01db2d2a86
Create config disk property false by default for Qemu templates
...
Ref https://github.com/GNS3/gns3-gui/issues/3035
(cherry picked from commit a2e884e315
)
2020-08-17 12:45:57 +09:30
Jeremy Grossmann
a2e884e315
Create config disk property false by default for Qemu templates
...
Ref https://github.com/GNS3/gns3-gui/issues/3035
2020-08-17 12:45:57 +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
f2ddef855f
Fix tests.
...
(cherry picked from commit 620d93634e
)
2020-08-15 16:35:31 +09:30
grossmj
620d93634e
Fix tests.
2020-08-15 16:35:31 +09:30
grossmj
ec02150fd2
Set default disk interface type to "none".
...
Fail-safe: use "ide" if an image is set but no interface type is configured.
Use the HDA disk interface type if none has been configured for HDD.
(cherry picked from commit 464fd804ce
)
2020-08-15 16:14:16 +09:30
grossmj
464fd804ce
Set default disk interface type to "none".
...
Fail-safe: use "ide" if an image is set but no interface type is configured.
Use the HDA disk interface type if none has been configured for HDD.
2020-08-15 16:14:16 +09:30
grossmj
a56b816c1a
Add explicit option to automatically create or not the config disk. Off by default.
...
(cherry picked from commit 56aba96a5f
)
2020-08-14 17:57:24 +09:30
grossmj
56aba96a5f
Add explicit option to automatically create or not the config disk. Off by default.
2020-08-14 17:57:24 +09:30
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
cad7431069
Bump version to 2.3.0dev2
2020-08-13 01:49:25 +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
97e731a7d9
Development on 2.2.13dev1
2020-08-07 21:12:46 +09:30
grossmj
2c08166510
Release v2.2.12
2020-08-07 19:27:32 +09:30
grossmj
940f004752
Sync appliance files
2020-08-07 19:24:01 +09:30
grossmj
f083649021
Merge branch 'master' into 2.2
2020-08-07 19:03:50 +09:30
piotrpekala7
aeb82de78a
Release 2020.3.0-beta.2
2020-08-07 09:57:52 +02:00
grossmj
6761ae3445
Catch exception when psutil returns OSError
2020-08-06 13:37:27 +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
65c8bb6754
Fix AUX console not allocated for Dynamips IOS routers.
2020-07-27 18:42:36 +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
f97d346c34
Support to reset links. Fixes https://github.com/GNS3/gns3-server/issues/1620
2020-07-24 21:48:49 +09:30
grossmj
01b2c72767
Add maxcpus property for Qemu VMs. Ref #1674
2020-07-24 15:15:41 +09:30
Bernhard Ehlers
068c31038f
QEMU config disk - improve error handling
2020-07-19 17:56:49 +09:30
Bernhard Ehlers
2bbee15b18
QEMU config disk - notification of import/export errors
2020-07-19 17:56:49 +09:30
Bernhard Ehlers
50c49cfedb
QEMU config disk - notification of import/export errors
2020-07-19 17:56:49 +09:30
Bernhard Ehlers
b672900406
QEMU config disk - use disk interface of HD-D, fallback is HD-A
2020-07-19 17:56:49 +09:30
Bernhard Ehlers
2e0fba925b
QEMU config disk - add missing config disk to image directory
2020-07-19 17:56:49 +09:30
Bernhard Ehlers
450c6cddc7
QEMU config disk - get rid of mtoolsrc
2020-07-19 17:56:48 +09:30
Bernhard Ehlers
5c44268476
QEMU config disk - preserve file timestamp on zip unpack
2020-07-19 17:56:48 +09:30
Bernhard Ehlers
b69965791d
QEMU config disk - initial implementation. Ref #2958
2020-07-19 17:56:48 +09:30
grossmj
a9e9ff071d
Read folder structure correctly for custom symbols. Fixes https://github.com/GNS3/gns3-gui/issues/2856
2020-07-19 17:46:49 +09:30
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
2020-07-19 14:16:07 +09:30
grossmj
d1c29c8bb7
Resource constraints for Docker VMs.
2020-07-18 21:03:55 +09:30
grossmj
0afce89c0b
Fix exception when exporting debug data. Fixes #1684
2020-07-18 17:30:18 +09:30
grossmj
e4978004d0
Update IOUtools. Ref #1627
2020-07-17 21:37:25 +09:30
grossmj
7471b31b0c
Fix tests.
2020-07-17 15:34:00 +09:30
grossmj
05ed9836e4
Fix tests.
2020-07-17 15:33:30 +09:30
grossmj
37c7202aa0
Use parent directory as working directory for project duplication and snapshots. Fixes https://github.com/GNS3/gns3-gui/issues/2909
2020-07-17 15:11:14 +09:30
grossmj
0390fef74d
Use parent directory as working directory for project duplication and snapshots. Fixes https://github.com/GNS3/gns3-gui/issues/2909
2020-07-17 15:09:43 +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
d11897c1ec
Bump version to 2.3.0dev1
2020-07-11 11:41:51 +09:30
grossmj
99128e7713
Fix Key Error "vendor_id" is missing when configuring GNS3 VM with VirtualBox. Fixes https://github.com/GNS3/gns3-gui/issues/3018
2020-07-10 17:44:38 +09:30
grossmj
c40651b53e
Development on 2.2.12dev1
2020-07-09 21:37:03 +09:30
grossmj
c4d2422fe2
Release v2.2.11
2020-07-09 20:37:10 +09:30
grossmj
f08f7702d1
Sync appliance files.
2020-07-09 20:26:41 +09:30
grossmj
b787cb3ace
Merge branch 'master' into 2.2
2020-07-09 20:23:20 +09:30
grossmj
62130c116a
Fix crash when project sets 'auto_open' option and a remote GNS3 VM is used. Fixes https://github.com/GNS3/gns3-gui/issues/3014
2020-07-09 20:13:21 +09:30
grossmj
1cbed45f16
Fix Dynamips ghost image support when project contains a space. Fixes #3015
2020-07-08 20:32:58 +09:30
piotrpekala7
29b31d72e9
Release 2020.3.0-beta.1
2020-07-07 14:05:24 +02:00
Bernhard Ehlers
9acb2ceda1
QEMU config disk - improve error handling
...
(cherry picked from commit 068c31038f
)
2020-07-03 11:31:17 +02:00
grossmj
ea17cc2565
Fix issue when cannot skip slots for Dynamips routers. Fixes https://github.com/GNS3/gns3-gui/issues/3000
2020-06-29 20:00:30 +09:30
Bernhard Ehlers
053828f3e8
QEMU config disk - init config disk in base class
...
(cherry picked from commit 2bbee15b18
)
2020-06-28 16:35:39 +02:00
Bernhard Ehlers
f747b3a880
QEMU config disk - notification of import/export errors
...
(cherry picked from commit 50c49cfedb
)
2020-06-28 09:21:57 +02:00
grossmj
74fc4fc75c
Merge branch 'master' into 2.2
2020-06-26 21:30:27 +09:30
grossmj
af22fb8e98
Comment unused code that causes issue with flake8
2020-06-26 18:47:31 +09:30
grossmj
51b76b1e30
Development on 2.2.11dev1
2020-06-18 19:06:00 +09:30
grossmj
9a9e54c523
Release v2.2.10
2020-06-18 12:29:33 +09:30
grossmj
13a6b4fe55
Merge branch 'master' into 2.2
2020-06-18 12:23:10 +09:30
grossmj
3b4f4bfeda
Sync appliances.
2020-06-18 12:20:42 +09:30
Bernhard Ehlers
750590d0db
QEMU config disk - use disk interface of HD-D, fallback is HD-A
...
(cherry picked from commit b672900406
)
2020-06-17 17:06:55 +02:00
piotrpekala7
72bef07f2b
Release 2020.2.0-beta.5
2020-06-17 15:58:43 +02:00
grossmj
1a4c2ed069
Try to fix capsys issue with Python 3.8 (third try)
2020-06-16 21:19:51 +09:30
grossmj
241caa1ec7
Try to fix capsys issue with Python 3.8
2020-06-16 20:56:10 +09:30
grossmj
f498ab06b4
Wait longer for x11 socket file to be created. Ref #1761
2020-06-10 20:37:13 +09:30
grossmj
3940f013d4
Allow Hyper-V to run on AMD when Windows 10 build 19640 or later is detected. Fixes #1777
2020-06-10 15:21:58 +09:30
grossmj
e1dab0dff4
Show error message if IPv6 is not enabled when using SPICE console. Fixes #1772
2020-06-09 15:06:41 +09:30
grossmj
ee70a6a27d
Disable default integrations for sentry sdk.
2020-06-06 15:37:17 +09:30
grossmj
297d1a0aae
Remove unused bytes2human function
2020-06-05 13:10:01 +09:30
grossmj
05e8fd3ff5
Development on 2.2.10dev1
2020-06-04 21:06:30 +09:30
grossmj
c0c8151480
Release v2.2.9
2020-06-04 18:39:27 +09:30
grossmj
ad7277c938
Merge branch 'master' into 2.2
2020-06-04 12:21:52 +09:30
Jeremy Grossmann
0c2e4d2de9
Merge pull request #1768 from GNS3/replicate-network-connection-state
...
Support to activate/deactive network connection state replication in Qemu
2020-06-04 10:49:47 +08:00
grossmj
1264680b51
Sync appliances.
2020-06-04 12:18:16 +09:30
piotrpekala7
a9697e925c
Release 2020.2.0-beta.4
2020-06-03 19:15:56 +02:00
grossmj
58a19af9ac
Support to activate/deactive network connection state replication in Qemu.
2020-06-02 18:45:22 +09:30
grossmj
a796f1e42e
Possible fix for problem connecting to the GNS3 VM. Ref https://github.com/GNS3/gns3-gui/issues/2969 #1760
2020-06-01 19:40:53 +09:30
grossmj
8eefaa3f32
Option to reset or not all MAC addresses when exporting or duplicating a project.
2020-05-27 12:14:47 +09:30
grossmj
5575657318
Fix tests. Ref #1754
2020-05-26 21:40:41 +09:30
grossmj
69b816e21e
Fix bug when changing properties for closed project. Fixes #1754
2020-05-26 18:34:20 +09:30
grossmj
5c3bd589b9
Fix issues with crash reporting & bump version to 2.2.9dev2. Ref https://github.com/GNS3/gns3-server/issues/1758
2020-05-21 18:19:19 +09:30
grossmj
1a20cbeefd
Lock listing VMs. Ref #1755
2020-05-20 19:33:56 +09:30
grossmj
da85d7b827
Try to fix error when listing Hyper-V VMs. Ref #1755
2020-05-20 19:19:04 +09:30
grossmj
7002b026fc
Catch VirtualBox errors when listing VMs. Fixes #1759
2020-05-20 18:42:50 +09:30
grossmj
00f8a27404
Merge branch 'master' into 2.2
...
# Conflicts:
# requirements.txt
2020-05-19 16:16:19 +09:30
grossmj
5b59a09e8d
Deprecate running with Python 3.5
2020-05-19 16:14:58 +09:30
grossmj
c63aad8eca
Replace Raven by Sentry SDK. Fixes https://github.com/GNS3/gns3-server/issues/1758
2020-05-19 15:48:53 +09:30
grossmj
32a8bc54a1
Development on 2.2.9dev1
2020-05-07 23:10:19 +09:30
grossmj
dadbacd8a4
Release v2.2.8
2020-05-07 18:10:57 +09:30
grossmj
9032fd2a5c
Merge branch 'master' into 2.2
2020-05-07 12:51:46 +09:30
piotrpekala7
eb0d4439a0
Release 2020.2.0-beta.3
2020-05-07 00:02:33 +02:00
grossmj
91a1c5db49
Redirection to the bundled web-ui in the root handler
2020-05-06 16:31:18 +09:30
grossmj
0a77233631
Fix root handler for web-ui
2020-05-06 15:38:16 +09:30
grossmj
8df8b73c8f
Merge branch 'master' into 2.2
2020-05-06 11:59:00 +09:30
piotrpekala7
6968ae9295
Release 2020.2.0-beta.2
2020-05-05 23:39:24 +02:00
grossmj
1c9a43d071
Update appliance files.
2020-05-05 14:29:43 +09:30
grossmj
10645a412b
Default port set to 80 for server running in the GNS3 VM. Fixes #1737
2020-05-05 12:40:50 +09:30
grossmj
1b008fb516
Sync appliance files.
2020-05-01 19:21:43 +09:30
grossmj
3626bd5adb
Make the Web UI the default page. Ref https://github.com/GNS3/gns3-server/issues/1737
2020-04-30 17:27:06 +09:30
grossmj
6c322bbdde
Fix tests.
2020-04-30 15:49:06 +09:30
grossmj
02c0fa26e1
Support controller reloading for templates, appliances and projects. Ref #1743
2020-04-30 15:30:50 +09:30
grossmj
7b61724213
Remove unused variable. Ref #1744
2020-04-28 17:55:00 +09:30
grossmj
72c6f5b484
Return exit status 1 if server fails to start. Fixes #1744
2020-04-28 14:39:28 +09:30
grossmj
8536af33da
Fix tests.
2020-04-28 13:49:05 +09:30
grossmj
4ddd45f788
Merge branch 'master' into 2.2
2020-04-28 13:14:53 +09:30
Bernhard Ehlers
10bb259248
Implement a minimum interval between cpu_percent() calls. Fixes #1738
2020-04-19 20:42:46 +02:00
Bernhard Ehlers
4ab100b716
Revert "Implement a minimum interval between psutil calls. Fixes #2262 "
...
This reverts commit 3a09bd43dc
.
2020-04-19 20:06:47 +02:00
Bernhard Ehlers
347035a99b
QEMU config disk - add missing config disk to image directory
...
(cherry picked from commit 2e0fba925b
)
2020-04-16 11:07:56 +02:00
Bernhard Ehlers
0db0f6256b
QEMU config disk - get rid of mtoolsrc
...
(cherry picked from commit 450c6cddc7
)
2020-04-15 20:50:59 +02:00
fadlytabrani
6fd60452c4
Add clipboard support for TigerVnc
...
There's currently no clipboard support for servers running on TigerVnc. TigerVnc clipboard support is provided by vncconfig that needs to be spawned for every display socket. The code changes above provides that functionality
2020-04-16 00:14:20 +10:00
Jeremy Grossmann
a2d57f7c37
Merge pull request #1741 from candlerb/candlerb/snasphot
...
Correct typo "Snasphot"
2020-04-15 02:53:01 -07:00
Brian Candler
69986b0d0f
Correct typo "Snasphot"
2020-04-15 09:46:45 +01:00
Brian Candler
06a6a0a332
Sort snapshots by (created_at, name)
...
Fixes #1739
2020-04-15 09:41:50 +01:00
grossmj
2606c2d9a7
Merge branch '2.3'
...
# Conflicts:
# gns3server/version.py
2020-04-08 19:39:35 +09:30
grossmj
57067a99fa
Development on 2.2.8dev1
2020-04-08 01:26:42 +09:30
grossmj
087cba3903
Release v2.2.7
2020-04-08 00:03:13 +09:30
grossmj
0a5995b11c
Merge branch 'master' into 2.2
2020-04-07 23:58:50 +09:30
piotrpekala7
4f3fd65377
Release 2020.2.0-beta.1
2020-04-07 16:11:44 +02:00
Bernhard Ehlers
99d9728360
QEMU config disk - preserve file timestamp on zip unpack
...
(cherry picked from commit 5c44268476
)
2020-04-07 14:11:00 +02:00
Bernhard Ehlers
6a1eef0627
QEMU config disk - initial implementation. Ref #2958
...
(cherry picked from commit b69965791d
)
2020-04-06 12:56:00 +02:00
grossmj
42eaf97e9f
Fix uBrigde error popups when Docker image has stopped. Fixes https://github.com/GNS3/gns3-gui/issues/2957
2020-04-06 13:52:04 +09:30
grossmj
55a5ce77ba
Remove debug message
2020-04-06 11:51:59 +09:30
Torstein Husebø
f9ab4ffb96
fix warning that you are explicitly comparing literals
2020-04-02 21:26:23 +02:00
Jeremy Grossmann
241937b80b
Merge pull request #1715 from GNS3/websocket-console
...
Support for WebSocket consoles
2020-03-27 21:44:25 -07:00
grossmj
b179ca88a7
Merge branch 'master' into 2.3
...
# Conflicts:
# gns3server/version.py
2020-03-28 13:43:50 +10:30
grossmj
4bed19f20a
Release v2.2.6
2020-03-26 12:37:59 +10:30
grossmj
4bc1e5e02e
Merge branch 'master' into 2.2
2020-03-26 12:15:16 +10:30
piotrpekala7
720f52655e
Release 2020.1.0-alpha.1
2020-03-25 00:43:14 +01:00
piotrpekala7
4df10d1427
Release 2019.2.0-alpha.11
2020-03-25 00:26:02 +01:00
grossmj
aa83fcc7d1
Monitor ubrige processes.
2020-03-20 21:30:05 +10:30
grossmj
afbbf7a524
Add Xvnc command to the VNC servers list. Fixes #172
2020-03-19 19:06:51 +10:30
grossmj
b24bb42a66
Allow controller to reconnect to compute if communication is lost. Ref #1634
2020-03-19 18:02:01 +10:30
grossmj
aa1b621c10
Improvement of support for docker USER directive. Fixes #1727 .
2020-03-19 17:50:27 +10:30
grossmj
6aed064a86
Fix cannot delete Dynamips router the content of the "usage" field. Fixes https://github.com/GNS3/gns3-gui/issues/2947
2020-03-16 16:38:23 +10:30
grossmj
615cffd9ac
Prevent locked drawings to be deleted. Fixes https://github.com/GNS3/gns3-gui/issues/2948
2020-03-16 16:30:08 +10:30
grossmj
868c39acfe
Fix issues with empty project variables. Fixes https://github.com/GNS3/gns3-gui/issues/2941
2020-03-14 17:22:43 +10:30
grossmj
a62168fde0
Return array for controller statistics endpoint
2020-03-10 17:48:14 +10:30
grossmj
3df348ac2a
Server statistics implementation
2020-03-10 17:48:03 +10:30
grossmj
d9c264ce77
Sync appliances.
2020-03-06 12:05:19 +10:30
grossmj
6eb62ad179
Remove 'format=raw' from the Qemu options of the disk interfaces. Ref #1699
2020-02-24 20:06:45 +08:00
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
6cb87ef25d
Sync appliance files.
2020-02-04 16:48:11 +08:00
grossmj
3484a7dd3d
Unprotected access for websocket consoles.
...
Ref https://github.com/GNS3/gns3-gui/issues/2883#issuecomment-580677552
2020-01-31 18:30:26 +08:00
grossmj
c313475f68
Support for WebSocket consoles
2020-01-31 17:31:27 +08:00
grossmj
e90262eb95
Require VirtualBox >= 6.0 on AMD and >= 6.1 on Intel processors (for GNS3 VM only). Fixes #1610
2020-01-26 18:23:17 +08:00
grossmj
92ac250bc7
Add nvme disk interface and fix scsi disk interface for Qemu VMs.
2020-01-25 16:22:34 +08:00
grossmj
667d50aa4a
Disallow using "legacy networking mode" with Qemu >= 2.9.0
2020-01-24 19:06:24 +08:00
grossmj
d796f8d112
Add latest Qemu nic models.
2020-01-24 19:05:46 +08:00
grossmj
fb4ece5c67
Attempt to fix error when loading wmi module. Fixes #1712
2020-01-23 19:04:17 +08:00
grossmj
ab4b391a02
Handle "aborted" state for VirtualBox VMs. Fixes #1702
2020-01-23 18:00:33 +08:00
grossmj
dcdaffa056
Change how Hyper-V VMs are found. Ref #1612
2020-01-21 18:03:07 +08:00
grossmj
c3b2128fae
Return array for controller statistics endpoint
2020-01-17 17:07:30 +08:00
grossmj
941bed9605
Server statistics implementation
2020-01-17 16:50:17 +08:00
grossmj
12a8831c44
Change version to 2.3.0dev1 on 2.3 branch
2020-01-16 18:06:51 +08:00
grossmj
60cc5c7bb4
Development on 2.2.6dev1
2020-01-10 00:32:10 +08:00
grossmj
6d66e4d5d5
Release v2.2.5
2020-01-09 23:52:40 +08:00
grossmj
82b42fffef
Development on 2.2.5dev1
2020-01-09 05:17:01 +08:00
grossmj
fe8fd828b6
Release v2.2.4
2020-01-09 00:45:09 +08:00
grossmj
e127dc302e
Merge branch 'master' into 2.2
2020-01-08 13:29:21 +08:00
grossmj
0a87ee573c
Accept a node name when creating a node from a template using the API. Fixes #1708
2020-01-08 08:19:33 +08:00
grossmj
e428865d19
Sync appliances.
2020-01-08 05:38:34 +08:00
grossmj
98f5454ccb
Disallow to modify a template if changes cannot be written on disk. Fixes #1695
2020-01-08 05:35:46 +08:00
grossmj
a47fa83cec
Fix renaming IOL hostname replaces %h only in a single place. Fixes #1707
2020-01-08 01:24:47 +08:00
Piotr Pekala
8fbd4602e8
Release 2019.2.0-alpha.11
2019-12-30 05:09:54 -08:00
grossmj
50b507f76c
Fix cannot power on VirtualBox VM in saved state. Ref #1702
2019-12-05 13:46:02 +08:00
grossmj
060871cc42
Development on 2.2.4dev1
2019-11-12 16:43:21 +08:00
grossmj
9e4474de8d
Release v2.2.3
2019-11-12 15:29:54 +08:00
grossmj
9bda15236e
Sync appliance files.
2019-11-12 15:23:37 +08:00
grossmj
4daaea9cec
Merge branch 'master' into 2.2
2019-11-12 15:20:12 +08:00
JCDraaijer
7117b1fb65
Improved how the path to the config file is actually determined
2019-11-11 11:20:51 +01:00
grossmj
992c60e3e0
Return HTTP status code 204 in API when project successfully closed. Fixes #1689
2019-11-11 15:32:57 +08:00
grossmj
a98fc2d308
Python3.8 support. Ref https://github.com/GNS3/gns3-gui/issues/2895
2019-11-11 12:44:31 +08:00
grossmj
2fd4b2cbc8
Make sure still support Python >= 3.5.3
2019-11-11 12:39:45 +08:00
JCDraaijer
3bd394b637
Added workaround for #1690 . Added venv/ to .gitignore
2019-11-10 20:41:39 +01:00
grossmj
7571c32563
Sync appliance files.
2019-11-08 18:24:22 +08:00
grossmj
05b949930d
Fix tests.
2019-11-08 17:25:59 +08:00
grossmj
4075bbd703
Fix exception when adding VirtualBox VM. Fixes #1685 .
2019-11-08 17:13:21 +08:00
grossmj
539cf640d8
Change the default UDP port range to be 20000 to 30000. Ref #1271
2019-11-06 12:25:30 +08:00
grossmj
6e7aeb1fdd
Developement version on 2.2.3dev1
2019-11-04 19:45:18 +08:00
grossmj
3245450e67
Release v2.2.2
2019-11-04 18:33:28 +08:00
grossmj
f154ebeee9
Merge remote-tracking branch 'origin/2.2' into 2.2
2019-11-04 18:29:06 +08:00
grossmj
7608584833
Merge branch 'master' into 2.2
2019-11-04 18:28:42 +08:00
Piotr Pekala
f69914565a
Release 2019.2.0-alpha.10
2019-11-04 02:15:09 -08:00
Piotr Pekala
4a0fbe9b1b
Release 2019.2.0-alpha.10
2019-11-04 01:29:58 -08:00
grossmj
ff9bd59ef8
Fix how PCI bridges are created for Qemu VMs with greater than 32 interfaces.
2019-11-03 17:56:52 +08:00
grossmj
4ab3f281c5
Fix broken support for cloned VirtualBox VMs. Fixes https://github.com/GNS3/gns3-gui/issues/2889
2019-11-03 16:34:24 +08:00
grossmj
7b507bf532
Sync appliance files.
2019-11-03 16:32:15 +08:00
grossmj
459dd7b479
Handle builtin entry does not exist when adding node from template (new fix).
2019-11-02 16:23:45 +08:00
grossmj
b8c70a3a8e
Development on 2.2.2dev1
2019-11-01 18:43:36 +08:00
grossmj
a267ecdea4
Merge branch 'master' into 2.2
2019-11-01 18:34:17 +08:00
grossmj
7b8f0c2633
Release v2.2.1
2019-11-01 17:53:20 +08:00
grossmj
89f97902f9
Handle builtin entry does not exist when adding node from template.
2019-11-01 17:48:25 +08:00
grossmj
19723f06ed
Sync appliance files
2019-11-01 17:07:43 +08:00
Piotr Pekala
107dbbc949
Release 2019.2.0-alpha.10
2019-10-31 04:38:52 -07:00
grossmj
2af9127879
Fix issue when linking to more than one NAT node with allowed_interface option enabled. Fixes #1671
2019-10-31 17:07:52 +08:00
grossmj
5e9810d420
Prevent deleting a GNS3 project outside the project directory. Ref #1669
2019-10-30 16:25:06 +08:00
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
df9b40c1dc
Fix QEMU link detection flaky on last port. Fixes #1666
2019-10-15 23:42:42 +08:00
grossmj
f5c02368e6
Fix tests.
2019-10-09 17:47:22 +08:00
grossmj
7cfd0d4d1d
Use compatible shlex_quote to handle case where Windows needs double quotes around file names, not single quotes. Ref https://github.com/GNS3/gns3-gui/issues/2866
2019-10-09 17:02:30 +08:00
grossmj
9d47050dff
Use 0.0.0.0 by default for server host. Fixes https://github.com/GNS3/gns3-server/issues/1663
2019-10-09 16:35:42 +08:00
grossmj
1b845225b2
Improvement to validate HTTP authentication config. Ref #1662
2019-10-09 15:56:20 +08:00
grossmj
5a3f8b9a9b
Use versioned config directory for profiles. Fixes #1664
2019-10-09 15:20:19 +08:00
grossmj
6d1adea907
Enable nested hardware virtualization by default for GNS3 VM running in VirtualBox. Fixes #1377
...
No error is sent by VBoxManage is this feature is not available, for instance with Intel processors.
2019-10-09 14:50:00 +08:00
grossmj
2d777cac13
Set default host to "localhost". Fixes https://github.com/GNS3/gns3-server/issues/1663
2019-10-08 18:28:10 +08:00
grossmj
6ae7ef8a2e
Improve process to get guest IP address from GNS3 VM running in VMware workstation/player. Ref https://github.com/GNS3/gns3-gui/issues/2866
2019-10-08 17:58:27 +08:00
grossmj
2f57bd58c0
Fix error with console type in Ethernet switch schema. Fixes #1659
2019-10-08 17:16:17 +08:00
grossmj
51a92b46dd
Bump version to 2.2.1dev1
2019-10-08 16:05:36 +08:00
grossmj
7c437adbef
Release v2.2.0
2019-09-30 16:24:26 +08:00
grossmj
fef1d01e26
Merge branch 'master' into 2.2
2019-09-30 16:20:19 +08:00
grossmj
af3ae0df24
Merge branch '2.1'
...
# Conflicts:
# gns3server/compute/dynamips/nodes/atm_switch.py
2019-09-30 16:11:26 +08:00
grossmj
87390274cc
Add debug message for what directory is checked for Qemu binaries. Ref #1655
2019-09-30 15:54:57 +08:00
grossmj
f424e2dfd5
Sync appliance files.
2019-09-30 11:59:41 +08:00
Piotr Pekala
4031fd0c18
Release 2019.2.0-alpha.8
2019-09-27 01:57:03 -07:00
grossmj
1c678e296e
Merge branch 'master' into 2.2
...
# Conflicts:
# gns3server/version.py
2019-09-24 14:07:18 +08:00
grossmj
958ec94f13
Sync appliance files.
2019-09-24 14:06:26 +08:00
grossmj
a9fd990904
Bump version to 2.2.0dev18
2019-09-24 14:02:36 +08:00
grossmj
9d18ac1e3e
Merge branch 'master' into 2.2
2019-09-24 13:56:16 +08:00
grossmj
2cfac30810
Fix single quote is not closed. Fixes #1654
2019-09-17 18:54:18 +07:00
grossmj
67e70c4628
Fix wrong Dynamips command used to rename an ATM switch. Fixes #1651
2019-09-11 15:06:08 +07:00
grossmj
8b71e9b20c
Release v2.2.0rc5
2019-09-09 15:06:14 +07:00
grossmj
7cd9bb6ca6
Merge branch '2.1' into 2.2
2019-09-09 15:02:06 +07:00
Jeremy Grossmann
2e41328ae9
Merge branch 'master' into fix-sata
2019-09-05 17:36:53 +07:00
David Kreitschmann
8105b68d52
Don't specify the PCI bus for AHCI device
...
pci.X is not always defined, let qemu handle this.
I think PCI buses only exist if PCI network adapters are defined, this
is not the case with virtio.
2019-09-03 16:03:27 +02:00
David Kreitschmann
906f29d5fc
Add id value to all qemu drives
...
A fixed id doesn't hurt and now we can select Disk Interface=none in
GNS3 and e.g. attach the volume as a USB thumb drive with -device
usb-storage,drive=drive0,...
2019-09-03 15:54:51 +02:00
grossmj
5d4de9d0ba
Fix AttributeError: Cannot set attribute '%s'. Fixes #1646
2019-08-31 14:43:35 +07:00