grossmj
51787295dd
Use POSIX path for symbol ID.
6 years ago
grossmj
17d070dca7
Early support for symbol themes.
6 years ago
grossmj
bd657c0167
Support to duplicate an appliance.
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
499ab9844a
Reorganize how appliance creation is validated against JSON schemas.
...
This allows for clearer error messages when validation fails.
6 years ago
grossmj
98f04365b7
Remove generic controller settings API endpoint.
6 years ago
grossmj
cebb56387a
Fix tests.
6 years ago
grossmj
089fdff4f1
Working dedicated appliance management API. Ref https://github.com/GNS3/gns3-server/issues/1427
6 years ago
grossmj
f0fe9d39fa
Base for dedicated appliance management API. Ref https://github.com/GNS3/gns3-server/issues/1427
6 years ago
grossmj
2764828f38
Refactor how clients access PCAP capture files. Fixes https://github.com/GNS3/gns3-gui/issues/2438 .
...
* The PCAP file is directly accessed if controller and client are on the same host.
* The PCAP file is streamed from the compute server to the client with the controller as a proxy when the controller is remote for the client.
6 years ago
grossmj
ab8dc52ece
Fix tests to work with new version of aiohttp (>= 3.0)
6 years ago
grossmj
86f87aec74
Fix installation with Python 3.7. Fixes #1414 .
...
Fix deprecated use of aiohttp.Timeout. Fixes #1296 .
Use "async with" with aiohttp.ClientSession().
Make sure websocket connections are properly closed, see https://docs.aiohttp.org/en/stable/web_advanced.html#graceful-shutdown
Finish to drop Python 3.4.
6 years ago
grossmj
76af98404a
Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
6 years ago
grossmj
22f7ca0243
Return compute port information via API. Ref #1420 .
6 years ago
grossmj
9de13c570c
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/builtin/nodes/cloud.py
# gns3server/compute/docker/docker_vm.py
# gns3server/compute/dynamips/nodes/ethernet_switch.py
# gns3server/compute/iou/iou_vm.py
# gns3server/compute/qemu/qemu_vm.py
# gns3server/compute/virtualbox/virtualbox_vm.py
# gns3server/compute/vmware/vmware_vm.py
# gns3server/controller/__init__.py
# gns3server/version.py
# gns3server/web/web_server.py
6 years ago
grossmj
e4a6db8ebc
Fix some typos.
6 years ago
grossmj
4d95e0b51f
Catch some exceptions.
6 years ago
grossmj
17d657c919
Fix small errors like unhandled exceptions etc.
6 years ago
grossmj
4021a13651
Catch exceptions in various locations to fix small issues reported by Sentry.
6 years ago
grossmj
c620d0be84
Improve the invalid port format detection. Fixes https://github.com/GNS3/gns3-gui/issues/2580
6 years ago
grossmj
86be4f98f1
Fix wrong call after merging.
6 years ago
grossmj
3c332b895d
Fix tests after merging.
6 years ago
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
6 years ago
grossmj
00cf66fb0f
Report GNS3 VM errors to the GUI server summary. Ref #1359 .
6 years ago
grossmj
8d4e73d23c
Replace vboxnet0 (if it does not exist) by the first available vboxnet interface on Windows. Fixes https://github.com/GNS3/gns3-vm/issues/102
6 years ago
grossmj
4e712280b3
Merge remote-tracking branch 'origin/2.1' into 2.1
6 years ago
grossmj
4d57a3befa
Check if the VirtualBox host-only network exists when starting a GNS3 VM running on VirtualBox. Ref https://github.com/GNS3/gns3-vm/issues/102
6 years ago
grossmj
38b72079b2
Change file timestamps if necessary because ZIP does not support timestamps before 1980. Fixes #1360 .
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
3560cda06c
Use asyncio.ensure_future() instead of asyncio.async() with conservative approach to support Python < 3.4.4. Fixes https://github.com/GNS3/gns3-gui/issues/2566
6 years ago
grossmj
089d25c79d
Forbid controller and compute servers to be different versions.
...
Report last compute server error to clients and display in the server summary.
6 years ago
grossmj
59ce105a50
Fix exception with short names for Dynamips interfaces. Fixes #1386 .
6 years ago
grossmj
9ef23ce6a8
Include HTTP error code when reporting an error while download appliance templates
...
from GitHub repository.
6 years ago
grossmj
b7f9b865c8
Optimize appliance templates update from GitHub repository by only downloading when the repository
...
has been updated. Ref https://github.com/GNS3/gns3-gui/issues/2490
6 years ago
grossmj
5958a23557
Update appliance templates from online registry. Ref #2490 .
6 years ago
grossmj
7f72b90b0e
The server has now 2 notification streams
...
* A new one for controller related events (compute, appliance templates etc.)
* The existing one for project related events (links, nodes etc.)
6 years ago
grossmj
dac3ba19b7
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/controller/ports/port_factory.py
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
e5d38811ca
Fix incorrect short port names in topology summary. Fixes https://github.com/GNS3/gns3-gui/issues/2562
6 years ago
grossmj
daa2de4541
Allow custom symbols to be sub-directories.
6 years ago
grossmj
29620f4ea3
Add affinity symbols. Ref https://github.com/GNS3/gns3-gui/issues/2488
6 years ago
grossmj
1fd010484d
ACPI shutdown for GNS3 VM running on Hyper-V. Ref https://github.com/GNS3/gns3-gui/issues/763
6 years ago
grossmj
c48eebcc5d
Hyper-V support for GNS3 VM. Fixes https://github.com/GNS3/gns3-gui/issues/763
6 years ago
grossmj
c0521732a9
Get IP address from guest Hyper-V VM. Ref https://github.com/GNS3/gns3-gui/issues/763
6 years ago
grossmj
c9767a06b3
Early Hyper-V support to run the GNS3 VM. Ref https://github.com/GNS3/gns3-gui/issues/763 .
6 years ago
grossmj
89f7169589
Add appliance UUID added to the node data. Fixes #1334 .
6 years ago
grossmj
a54359d243
Clean GNS3 close if one remote server is down. Fixes #1357 .
6 years ago
grossmj
e3c8c9d484
Mark VirtualBox support for running the GNS3 VM as deprecated. Ref #1377 .
6 years ago
grossmj
cc52a6a6b5
Change default z value for nodes to 1
6 years ago
grossmj
033f005bde
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/docker/docker_vm.py
# gns3server/version.py
6 years ago
grossmj
d0ed6931d8
Catch exception: ZIP does not support timestamps before 1980. Ref #1360 .
6 years ago
ziajka
ac73c72727
Don't send variables to computes where are empty, Ref: #1340
6 years ago
grossmj
96d5e351f7
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/version.py
# requirements.txt
6 years ago
grossmj
45edc40948
Timeout for stream file.
6 years ago
grossmj
40151cd1fe
Fix switching console type from telnet to VNC throws error. Fixes #2489 .
6 years ago
grossmj
8851a55199
Fix timeout error with "save as" for large projects.
6 years ago
grossmj
62f87de23a
Add API endpoint to return all links attached to a node.
6 years ago
grossmj
fd5df0052a
Fix issue with some SVG symbols that could not be used in GNS3.
...
This was due to the height and width values being percentages.
6 years ago
grossmj
d1ccf3bc84
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/version.py
# requirements.txt
6 years ago
ziajka
c52342907a
Merge pull request #1332 from GNS3/global-vars
...
Docker `ExtraHosts`, global variables for project and supplier support, Fixes : #2482
6 years ago
ziajka
f3c6faed75
Removed unnecessary line
6 years ago
ziajka
7b3d5ae5e3
Create/update project on compute when variables changes
6 years ago
ziajka
0bcc657bf1
Don't clean logo images when applied to the project
6 years ago
ziajka
f2700ed445
Support of supplier and variables in topology
6 years ago
ziajka
e267f8a8b8
Project global variables
6 years ago
grossmj
21a1800edc
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/controller/__init__.py
# gns3server/controller/export_project.py
# gns3server/controller/import_project.py
# gns3server/controller/project.py
# gns3server/version.py
7 years ago
grossmj
305fe2e817
Handle asyncio timeouts. Ref #1307 .
7 years ago
grossmj
3b94484914
Fix bug with export project. Ref #1187 #1307 .
7 years ago
grossmj
50a922f83e
Offload slow file operations to threads for snapshots and project "save as". Ref #1187 #1307 .
7 years ago
grossmj
cfd0216554
Disable TraceNG for version 2.1.5
7 years ago
grossmj
2ea0aa5ded
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/iou/iou_vm.py
# gns3server/compute/virtualbox/virtualbox_vm.py
# gns3server/compute/vmware/vmware_vm.py
7 years ago
grossmj
dd9c18b9f8
Use SO_REUSEADDR before calling bind() where missing. Fixes #1289 .
7 years ago
grossmj
025441f027
Add default destination setting for traceng + some checks.
7 years ago
grossmj
2de182eff4
Grid size support for projects.
7 years ago
grossmj
ee5317948b
Fix tests.
7 years ago
grossmj
7622c10cc9
Returns the ports' adapter types and mac addresses when available.
7 years ago
grossmj
395277d5c5
Support for console auto start.
7 years ago
grossmj
757c103c03
Possibility to customize port names and adapter types for Qemu, VirtualBox, VMware and Docker. Fixes #2361 .
...
MAC addresses can customized for Qemu as well.
7 years ago
grossmj
509b171b06
Allow to have projects with the same name in different locations.
7 years ago
grossmj
ea0009db6c
Save state feature for VirtualBox and VMware. New "On close" setting to
...
select the action to execute when closing/stopping a Qemu/VirtualBox/VMware VM.
7 years ago
grossmj
64949f5d04
Fix bug with 'none' console type for Ethernet switch.
...
Fix some tests related to traceng.
7 years ago
grossmj
669d2ec038
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/schemas/node.py
7 years ago
grossmj
297bbd91ec
Fix traceng tests.
7 years ago
grossmj
898f180310
Fix issue with start all.
7 years ago
grossmj
b7780ba7cc
Check for valid IP address and prevent to run on non-Windows platforms.
7 years ago
grossmj
d08c08617c
Support for source and destination for traceNG.
7 years ago
grossmj
5d704aa478
Fix tests.
7 years ago
grossmj
e52775fa3a
Support for console type "none".
7 years ago
grossmj
8b91894fa4
Improve suspend a link for Qemu and VirtualBox VMs.
...
A suspended link will be unplugged allowing the VMs to be notified
of the change.
7 years ago
grossmj
fb3bcf3b8f
Basic project stats.
7 years ago
grossmj
90ce6093d8
Some spring cleaning.
7 years ago
grossmj
a4626a2b79
Custom icons and small fixes for TraceNG integration.
7 years ago
grossmj
397c1322b4
Base support for TraceNG.
7 years ago
grossmj
658aa4bae9
Merge 2.1 into 2.2 branch
7 years ago
grossmj
38f458db7c
Delete old pcap file when starting a new packet capture.
7 years ago
grossmj
233e41d006
Fix export project test.
7 years ago
grossmj
22db13d2bf
Fix bug preventing to export portable projects with IOU images.
7 years ago
grossmj
d911e82dc4
Merge remote-tracking branch 'origin/2.1' into 2.1
7 years ago
grossmj
c93d0d8d12
Make sure we don't try to read when opening a file in binary more. Fixes #1301 .
7 years ago
ziajka
53a229f8e9
Fix never reached condition
7 years ago
ziajka
05b6be2e42
Compatybility with controller, default_symbol and hover_symbol, Fixes : #2444
7 years ago
ziajka
9be76d98a2
Filter snapshots directory during the snapshot, Fixes : #1297
7 years ago
ziajka
09c7d73ee9
Filter snapshots directory during the snapshot, Fixes : #1297
7 years ago
grossmj
fff593b358
Fix error when appliance template is broken (missing fields). Fixes #1287 .
7 years ago
grossmj
abbe3d3a31
Fix "Change of linked base VM doesn't work with templates migrated from 2.0"
7 years ago
grossmj
519df3ab35
Let a project be opened when a port cannot be found (can happens if a project is corrupted).
7 years ago
grossmj
e5c76750b1
Fix issue when running multiple project containing IOU nodes on the same server. Ref #1239 .
7 years ago
grossmj
008baad86a
Update link state and save project when a link is suspended or filters are added/removed (without node properties set).
7 years ago
ziajka
eeae07e783
Conservative approach to supported versions of Python 3.4 and asyncio.ensure_future, Ref. #1269
7 years ago
ziajka
d9a0ec9ff3
Replace asyncio.async with ensure_future because of deprecation, Fixes : #1269
7 years ago
grossmj
28f8216590
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/version.py
# requirements.txt
7 years ago
grossmj
7ded71142f
Fix same MAC address for duplicated Qemu nodes.
7 years ago
grossmj
c281f55fb2
Fix same base MAC for duplicated IOS routers. Fixes #1264 .
7 years ago
grossmj
e5e2b7a8ac
Fix "Creating multiple IOU nodes at once assigns the same application id". Fixes #1239 .
7 years ago
grossmj
ffc7024b64
Fix error while getting appliance list. Fixes #1258 .
7 years ago
grossmj
88989cc274
Default symbol must be computer.svg
7 years ago
grossmj
ab6fe6da1d
Compatibility for old node templates (those with default_symbol and hover_symbol properties).
7 years ago
grossmj
f9c7c15f95
Fixing race condition when starting the GNS3 VM.
7 years ago
grossmj
5f14f8eb46
Default VPCS name format is now PC-{0}.
7 years ago
ziajka
f48420af58
Increase timeout for creation of image, Ref. #2239
7 years ago
ziajka
a393e7f723
Merge pull request #1205 from GNS3/aiohttp-2.3.1
...
aiohttp 2.3 support.
7 years ago
grossmj
3e3e1df051
Allow users to see an error when the server cannot stream a PCAP file.
7 years ago
grossmj
cfe8e9e85c
Warn users if the GNS3 VM and local server are not in the same subnet. Fixes #1231 .
7 years ago
grossmj
6e2752648a
Implement #1153 into 2.2 branch.
7 years ago
grossmj
e54d574e47
Fix auto idle-pc from preferences.
7 years ago
grossmj
061af38b5a
Make sure connected links are removed when a node is deleted.
7 years ago
ziajka
fe59c937d5
Merge branch '2.1' into improved-export-project
7 years ago
ziajka
b48f5df53f
iExport files from remote server, Fixes: gui/#2271
7 years ago
grossmj
035a078b5e
Show qemu-img stdout in case of an error.
7 years ago
ziajka
009677f019
Fix typo in vcpus on VirtualBoxVM, fixes : #1213
7 years ago
ziajka
255dc7ed9b
Fix GNS3VM vCPUs control on VMware, fixes : #2324
7 years ago
ziajka
a7412d1c87
aiohttp 2.3.1 dependency
7 years ago
Jeremy Grossmann
c7015435c9
Update vmware_gns3_vm.py
7 years ago
ziajka
44efab109e
Set vhv.enable before run for VMWare 14. Fixes #1184
7 years ago
Jeremy Grossmann
4cae6b678a
Merge pull request #1194 from GNS3/direct-file-uploads
...
Endpoint for obtaining direct action on compute
7 years ago
grossmj
4f13c63a52
Do not use builtin name.
7 years ago
grossmj
02ad98664f
Fix creation of an VMware VM failed with invalid JSON. Fixes #2282 .
7 years ago
ziajka
b654d78ea6
Endpoint for obtaining direct action on compute
7 years ago
grossmj
e1c8df170a
Allow projects to be opened even when a node port is already used.
7 years ago
grossmj
4a2dfb0037
Do not prevent a project to be deleted. Fixes #2237 .
7 years ago
grossmj
90e3a8d612
Round-robin nodes across all available compute resources. Fixes #1165 .
7 years ago
grossmj
c22229101f
Try to improve error reporting when streaming a PCAP file. Ref #2235 .
7 years ago
ziajka
b0783eeccc
Load meta of the project on loading time ( Fixes #2225 )
7 years ago
ziajka
e15d1cd350
Fixes loading project when link_id is not set ( #1159 )
7 years ago
ziajka
3fd86f5807
Return platform value on appliances list ( Fixes #2211 )
7 years ago
ziajka
3a1fd892ac
Fixes not known category in Appliances ( Fixes #1156 )
7 years ago
Julien Duponchelle
211f48d981
Catch error when something that is not the GNS3 server answer to virtualbox requests
...
Fix #1155
7 years ago
Julien Duponchelle
3bb8cdafb2
Catch KeyError: <aiohttp.connector._TransportPlaceholder
...
Fix #1152
7 years ago
Julien Duponchelle
6996b7094f
Handle invalid appliances files
...
Fix #1150
7 years ago
Julien Duponchelle
283b08c2a1
Fix naming of node with a number in the name
...
Fix #1149
7 years ago