John Fleming
511ac73d4f
qemu_vm.py Linked node test.
...
Include project name in error. This should help identify which project the none linked node is located in.
3 years ago
grossmj
296446189f
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/appliances/Simulator.gns3a
# gns3server/compute/docker/__init__.py
# gns3server/compute/docker/docker_vm.py
# gns3server/version.py
3 years ago
grossmj
b1a62dfdc2
Fix unhandled KeyError exception when starting Docker container. Ref #1991
3 years ago
grossmj
eab4c8c770
Remove Qemu legacy networking support
3 years ago
Jeremy Grossmann
9ac6bd1e59
Merge pull request #1908 from GNS3/busybox-docker
...
Use a stock BusyBox for the Docker Integration
3 years ago
grossmj
0b200def88
Merge branch 'master' into 3.0
...
# Conflicts:
# .github/workflows/testing.yml
# Dockerfile
# gns3server/version.py
3 years ago
grossmj
5eb5658a74
Fix memory percentage left warning. Fixes #1966
3 years ago
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
3 years ago
grossmj
611570a863
Fix qemu-img rebase code to support Qemu 6.1. Ref https://github.com/GNS3/gns3-server/pull/1962
3 years ago
grossmj
99d7d0c769
Merge branch 'master' into 2.2
...
# Conflicts:
# gns3server/compute/qemu/qemu_vm.py
3 years ago
grossmj
ed336da304
Qemu 6.1 support
...
Handle the deprecated use of backing file without explicit backing format issue.
3 years ago
Brian Candler
21e9f38437
Reinstate qemu-img rebase
...
This allows importing portable projects with images and/or snapshots,
regression introduced by #1927 .
Fixes #1955
3 years ago
grossmj
75bb06563a
Fix tests
3 years ago
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
3 years ago
grossmj
6005e89181
Fix issue when searching for image with relative path. Fixes #1925
3 years ago
grossmj
363fdb7d10
Fix wrong error when NAT interface is not allowed. Fixes #1943
3 years ago
grossmj
92150fba71
Fix incorrect Qemu binary selected when importing template. Fixes https://github.com/GNS3/gns3-gui/issues/3216
3 years ago
grossmj
cfaafedb09
Merge branch '3.0' into busybox-docker
3 years ago
grossmj
d0a9425392
Remove busybox and copy system busybox in setup.py
3 years ago
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
3 years ago
grossmj
77487e4fc3
Merge branch 'master' into 2.2
3 years ago
Jeremy Grossmann
b68f7a78a7
Merge pull request #1927 from candlerb/candlerb/1921
...
Support cloning of encrypted qcow2 base image files
3 years ago
Jeremy Grossmann
6cf268ca93
Merge pull request #1934 from GNS3/handle_no-kvm_deprecated
...
Handle -no-kvm param deprecated in Qemu >= v5.2
3 years ago
grossmj
4646ce684f
Handle -no-kvm param deprecated in Qemu >= v5.2
3 years ago
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.
3 years ago
grossmj
0ecea8ffbb
Change how to generate random MAC addresses
3 years ago
Brian Candler
1ee3e14bd3
Support cloning of encrypted qcow2 base image files
...
Fixes #1921
3 years ago
grossmj
c13f5c6627
Update to the udhcpc wrapper script. Ref #1890
3 years ago
grossmj
cdedd53339
Fix VMware VM support on Linux and Windows. Fixes #1919
3 years ago
Jeremy Grossmann
e78b5fa6d6
Fix typo
3 years ago
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
3 years ago
grossmj
c892cf371b
Fix VMware support on macOS BigSur
3 years ago
grossmj
6a726d0344
Fix formatting issue.
3 years ago
grossmj
9b0e3a77ed
Use a stock BusyBox for the Docker Integration
3 years ago
grossmj
971e86d254
Fix uBridge errors for cloud nodes not visible in logs. Fixes #1895
3 years ago
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
3 years ago
grossmj
9a6978902d
Fix tests.
3 years ago
grossmj
6294ad9e76
Prevent directory traversal
3 years ago
grossmj
9404c00411
Complete type annotations for API endpoints.
3 years ago
grossmj
cefab8d362
Rename __json__() to asdict()
3 years ago
grossmj
44074ff7c9
Some cleaning.
3 years ago
grossmj
9c850e0f2b
Move schemas between compute and controller subpackages
3 years ago
grossmj
c59fc375f2
Remove traceng code.
3 years ago
grossmj
c021e21309
Use black with -l 120 param.
3 years ago
grossmj
f928738bd5
Use pyupgrade with --py36-plus param.
3 years ago
grossmj
30ebae207f
Use Pydantic to validate the server config file.
3 years ago
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
3 years ago
grossmj
0fea3f969e
Use aiosqlite and add service for templates
4 years ago
grossmj
8cce0eedee
Fix console type error when creating Ethernet switch node. Fixes #1873
4 years ago
grossmj
c17a86e814
Add missing async
4 years ago
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
4 years ago
grossmj
1043be02a6
Merge branch 'master' into 2.2
...
# Conflicts:
# gns3server/compute/qemu/qemu_vm.py
4 years ago
grossmj
9de61cd671
Fix warning: 'ide-drive' is deprecated when using recent version of Qemu. Fixes https://github.com/GNS3/gns3-gui/issues/3101
4 years ago
grossmj
9e6ccc3f61
Fix bug when starting of vpcs stopped with "quit". Fixes https://github.com/GNS3/gns3-gui/issues/3110
4 years ago
grossmj
128e494134
Stop uBridge if VPCS node has been terminated. Ref https://github.com/GNS3/gns3-gui/issues/3110
4 years ago
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.
4 years ago
grossmj
6aefb5d32b
Merge branch '2.2' into 3.0
...
# Conflicts:
# gns3server/compute/base_node.py
# gns3server/version.py
# gns3server/web/web_server.py
4 years ago
grossmj
5244ae6d4c
New config file options to configure the VNC console port range.
4 years ago
grossmj
c043830e3f
Move endpoints to routes & preparations to use a database.
4 years ago
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
4 years ago
Bernhard Ehlers
e45bc5aec1
Fix mcopy error messages
4 years ago
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
4 years ago
grossmj
5a7b5e4e08
Make sure all HTTP exceptions return JSON with a "message" field instead of "detail"
4 years ago
grossmj
eeaf10b418
Put all schemas in the same module.
4 years ago
grossmj
5dab0c2587
Prevent WIC to be added/removed while Dynamips router is running. Fixes https://github.com/GNS3/gns3-gui/issues/3082
4 years ago
grossmj
a92c47b310
Add HTTP client to reuse the aiohttp session where needed.
...
Remove unnecessary aiohttp exceptions.
4 years ago
grossmj
bd8565b2b9
Refactor WebSocket console code to work with FastAPI.
...
Fix endpoint routes.
4 years ago
Bernhard Ehlers
de2b9caeeb
Use HDD disk image as startup QEMU config disk
4 years ago
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
4 years ago
grossmj
362701f5aa
Allow commas in image paths and VM name for Qemu VMs. Fixes https://github.com/GNS3/gns3-gui/issues/3065
4 years ago
grossmj
91244456f5
Handle comma in disk path for Qemu VMs. Fixes https://github.com/GNS3/gns3-gui/issues/3065
4 years ago
grossmj
c248764efb
Fixes update() missing 2 required positional arguments: 'name' and 'value'. Fixes #1821 #1825
4 years ago
grossmj
eb3cb8a41f
Migration to FastAPI
4 years ago
grossmj
399f1c082e
Add '-smp sockets=1' by default for Qemu VMs. Ref https://github.com/GNS3/gns3-gui/issues/3047
4 years ago
grossmj
992cd7fc6c
Implement full restart if user reload a Qemu VM which has been updated. Fixes https://github.com/GNS3/gns3-gui/issues/3038
4 years ago
grossmj
2bf625e000
Fix issue when resuming Qemu VM. Fixes https://github.com/GNS3/gns3-gui/issues/3027
4 years ago
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
)
4 years ago
grossmj
c12b675691
Prioritize the config disk over HD-D for Qemu VMs.
...
Fixes https://github.com/GNS3/gns3-gui/issues/3036
4 years ago
Jeremy Grossmann
fa26555d00
Merge pull request #1801 from GNS3/qemu-config-disk
...
QEMU config disk - enable QEMU config import/export
4 years ago
grossmj
f2ddef855f
Fix tests.
...
(cherry picked from commit 620d93634e
)
4 years ago
grossmj
620d93634e
Fix tests.
4 years ago
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
)
4 years ago
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.
4 years ago
grossmj
a56b816c1a
Add explicit option to automatically create or not the config disk. Off by default.
...
(cherry picked from commit 56aba96a5f
)
4 years ago
grossmj
56aba96a5f
Add explicit option to automatically create or not the config disk. Off by default.
4 years ago
grossmj
c684c554bf
Fix tests
...
(cherry picked from commit 2ba6eac113
)
4 years ago
grossmj
2ba6eac113
Fix tests
4 years ago
grossmj
7043d48f1a
Auxiliary console support for Qemu. Ref #2873
...
Improvements for auxiliary console support for Docker and Dynamips.
4 years ago
grossmj
65c8bb6754
Fix AUX console not allocated for Dynamips IOS routers.
4 years ago
grossmj
12732aaf83
Disallow to rename a running node. Fixes https://github.com/GNS3/gns3-gui/issues/2499
4 years ago
grossmj
831ee5f468
Support to reset all console connections. Ref https://github.com/GNS3/gns3-server/issues/1619
4 years ago
grossmj
01b2c72767
Add maxcpus property for Qemu VMs. Ref #1674
4 years ago
Bernhard Ehlers
068c31038f
QEMU config disk - improve error handling
4 years ago
Bernhard Ehlers
2bbee15b18
QEMU config disk - notification of import/export errors
4 years ago
Bernhard Ehlers
50c49cfedb
QEMU config disk - notification of import/export errors
4 years ago
Bernhard Ehlers
b672900406
QEMU config disk - use disk interface of HD-D, fallback is HD-A
4 years ago
Bernhard Ehlers
2e0fba925b
QEMU config disk - add missing config disk to image directory
4 years ago
Bernhard Ehlers
450c6cddc7
QEMU config disk - get rid of mtoolsrc
4 years ago
Bernhard Ehlers
5c44268476
QEMU config disk - preserve file timestamp on zip unpack
4 years ago
Bernhard Ehlers
b69965791d
QEMU config disk - initial implementation. Ref #2958
4 years ago