Commit Graph

878 Commits (master)

Author SHA1 Message Date
grossmj b0df7ecabf Merge branch '2.2' into import-export-refactoring
5 years ago
grossmj 3f679bd106 Locked state should not be used when duplicating a node.
5 years ago
grossmj 724eda1f35 Handle locking/unlocking items independently from the layer position.
5 years ago
grossmj 80eb06f67c Merge 2.1 into 2.2
5 years ago
grossmj 8cc8269842 Use aiozipstream for snapshots.
5 years ago
grossmj 52bfa636c1 Project duplication support.
5 years ago
grossmj 7aae682f0a Fix issue when setting cpuid.corespersocket for the GNS3 VM. Fixes https://github.com/GNS3/gns3-gui/issues/2723
5 years ago
grossmj a8990c9e89 Non blocking project exportation.
5 years ago
grossmj 135d56371d Fix tests for project notifications.
5 years ago
grossmj 7fe8f7e716 Fix long-polling request for project notifications.
5 years ago
grossmj 2fb5e47c8d Allow cloud nodes to be exported. Fixes #1519
5 years ago
grossmj 5754747a90 Merging 2.1 into 2.2
5 years ago
grossmj a13d063aa1 Fix topology images (Pictures) disappearing from projects. Fixes #1514.
5 years ago
grossmj 1ef1872f8e Reset MAC addresses when duplicating a project. Fixes #1522
5 years ago
grossmj ae3515434c Do not export/import symlinks for projects. Fixes #2699
5 years ago
grossmj 4ecd3b2015 Configure coresPerSocket value in VMX file for the GNS3 VM. Fixes https://github.com/GNS3/gns3-gui/issues/2688
5 years ago
grossmj 84ee3263ba Count logical CPUs to detect if the number of vCPUs is too high when configuring the GNS3 VM. Fixes #2688.
5 years ago
grossmj 5f932fee9f Tune how to get the size of SVG images. Ref https://github.com/GNS3/gns3-gui/issues/2674.
5 years ago
grossmj e3757a8955 Tune how to get the size of SVG images. Ref https://github.com/GNS3/gns3-gui/issues/2674.
5 years ago
grossmj 456ef1348b Fix DeprecationWarning: invalid escape sequence. Fixes https://github.com/GNS3/gns3-gui/issues/2670
5 years ago
grossmj 474025175e Remove "deprecated" node for VirtualBox based GNS3 VM support. Ref #1377
5 years ago
grossmj 191036e266 Fix wrong controller method call.
5 years ago
grossmj 8360ae98b1 Move appliance and template management code in their own classes.
5 years ago
grossmj a896346c77 Fix issue with notification queue that prevented to properly close projects. Fix #1493
5 years ago
grossmj f76b329cba Fix ConnectionResetError issues and switch to aiohttp version 3.4.4. Fixes #1474.
6 years ago
grossmj 0fd54536d2 Fix issue when there is no gns3_controller.conf. Fixes https://github.com/GNS3/gns3-gui/issues/2644
6 years ago
grossmj 9fbdb25da8 Back to classic symbol theme. Ref https://github.com/GNS3/gns3-gui/issues/2644
6 years ago
grossmj d7c2e16c21 Use "template" to name what we use to create new nodes.
6 years ago
grossmj a17fa821bd Make sure nothing is named "compute server".
6 years ago
Jeremy Grossmann b4a2bc5b47
Merge pull request #1467 from GNS3/symbol-themes
6 years ago
grossmj dd14101eec Merge branch '2.2-grid-new-project' of git://github.com/kazkansouh/gns3-server into kazkansouh-2.2-grid-new-project
6 years ago
Jeremy Grossmann 1067f71952
Allow appliances to be loaded from file without the appliance id.
6 years ago
Karim 8eb20525e8 Update schema to allow for drawing grid size to be part of project.
6 years ago
grossmj 219c346187 Remove useless warning.
6 years ago
grossmj e0813bfbe8 Normalize symbol ID on Windows.
6 years ago
grossmj 9f7f26700e Debugging for Windows.
6 years ago
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.
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.
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.
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
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
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.
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
6 years ago
grossmj b7f9b865c8 Optimize appliance templates update from GitHub repository by only downloading when the repository
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
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 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
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
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.
6 years ago
grossmj d1ccf3bc84 Merge branch '2.1' into 2.2
6 years ago
ziajka c52342907a
Merge pull request #1332 from GNS3/global-vars
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
6 years ago
grossmj 305fe2e817 Handle asyncio timeouts. Ref #1307.
6 years ago
grossmj 3b94484914 Fix bug with export project. Ref #1187 #1307.
6 years ago
grossmj 50a922f83e Offload slow file operations to threads for snapshots and project "save as". Ref #1187 #1307.
6 years ago
grossmj cfd0216554 Disable TraceNG for version 2.1.5
6 years ago
grossmj 2ea0aa5ded Merge branch '2.1' into 2.2
6 years ago
grossmj dd9c18b9f8 Use SO_REUSEADDR before calling bind() where missing. Fixes #1289.
6 years ago
grossmj 025441f027 Add default destination setting for traceng + some checks.
6 years ago
grossmj 2de182eff4 Grid size support for projects.
6 years ago
grossmj ee5317948b Fix tests.
6 years ago
grossmj 7622c10cc9 Returns the ports' adapter types and mac addresses when available.
6 years ago
grossmj 395277d5c5 Support for console auto start.
6 years ago
grossmj 757c103c03 Possibility to customize port names and adapter types for Qemu, VirtualBox, VMware and Docker. Fixes #2361.
6 years ago
grossmj 509b171b06 Allow to have projects with the same name in different locations.
6 years ago
grossmj ea0009db6c Save state feature for VirtualBox and VMware. New "On close" setting to
6 years ago
grossmj 64949f5d04 Fix bug with 'none' console type for Ethernet switch.
6 years ago
grossmj 669d2ec038 Merge branch '2.1' into 2.2
6 years ago
grossmj 297bbd91ec Fix traceng tests.
6 years ago
grossmj 898f180310 Fix issue with start all.
6 years ago
grossmj b7780ba7cc Check for valid IP address and prevent to run on non-Windows platforms.
6 years ago
grossmj d08c08617c Support for source and destination for traceNG.
6 years ago
grossmj 5d704aa478 Fix tests.
6 years ago
grossmj e52775fa3a Support for console type "none".
6 years ago
grossmj 8b91894fa4 Improve suspend a link for Qemu and VirtualBox VMs.
6 years ago
grossmj fb3bcf3b8f Basic project stats.
6 years ago
grossmj 90ce6093d8 Some spring cleaning.
6 years ago
grossmj a4626a2b79 Custom icons and small fixes for TraceNG integration.
6 years ago
grossmj 397c1322b4 Base support for TraceNG.
6 years ago
grossmj 658aa4bae9 Merge 2.1 into 2.2 branch
6 years ago
grossmj 38f458db7c Delete old pcap file when starting a new packet capture.
6 years ago
grossmj 233e41d006 Fix export project test.
6 years ago
grossmj 22db13d2bf Fix bug preventing to export portable projects with IOU images.
6 years ago
grossmj d911e82dc4 Merge remote-tracking branch 'origin/2.1' into 2.1
6 years ago
grossmj c93d0d8d12 Make sure we don't try to read when opening a file in binary more. Fixes #1301.
6 years ago
ziajka 53a229f8e9 Fix never reached condition
6 years ago
ziajka 05b6be2e42 Compatybility with controller, default_symbol and hover_symbol, Fixes: #2444
6 years ago
ziajka 9be76d98a2 Filter snapshots directory during the snapshot, Fixes: #1297
6 years ago
ziajka 09c7d73ee9 Filter snapshots directory during the snapshot, Fixes: #1297
6 years ago
grossmj fff593b358 Fix error when appliance template is broken (missing fields). Fixes #1287.
6 years ago
grossmj abbe3d3a31 Fix "Change of linked base VM doesn't work with templates migrated from 2.0"
6 years ago
grossmj 519df3ab35 Let a project be opened when a port cannot be found (can happens if a project is corrupted).
6 years ago
grossmj e5c76750b1 Fix issue when running multiple project containing IOU nodes on the same server. Ref #1239.
6 years ago
grossmj 008baad86a Update link state and save project when a link is suspended or filters are added/removed (without node properties set).
6 years ago
ziajka eeae07e783 Conservative approach to supported versions of Python 3.4 and asyncio.ensure_future, Ref. #1269
6 years ago
ziajka d9a0ec9ff3 Replace asyncio.async with ensure_future because of deprecation, Fixes: #1269
6 years ago
grossmj 28f8216590 Merge branch '2.1' into 2.2
6 years ago
grossmj 7ded71142f Fix same MAC address for duplicated Qemu nodes.
6 years ago
grossmj c281f55fb2 Fix same base MAC for duplicated IOS routers. Fixes #1264.
6 years ago
grossmj e5e2b7a8ac Fix "Creating multiple IOU nodes at once assigns the same application id". Fixes #1239.
6 years ago
grossmj ffc7024b64 Fix error while getting appliance list. Fixes #1258.
6 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
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
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
7 years ago
Julien Duponchelle 3bb8cdafb2
Catch KeyError: <aiohttp.connector._TransportPlaceholder
7 years ago
Julien Duponchelle 6996b7094f
Handle invalid appliances files
7 years ago
Julien Duponchelle 283b08c2a1
Fix naming of node with a number in the name
7 years ago
Julien Duponchelle 7683a79bb1
Fix OSError when uploading images
7 years ago
Julien Duponchelle 103be13ba4
Fix an error when a symbol is not available on filesystem
7 years ago
Julien Duponchelle cc89099ea5
Fix ServerDisconnectedError for stop_all
7 years ago
Julien Duponchelle 27582bb68c
Fix IOU image upload
7 years ago
grossmj 47e8392ceb Use uuid4() for temporary node name while duplicating a node.
7 years ago
Julien Duponchelle 0854c04687
API for duplication a Node
7 years ago
Julien Duponchelle b37a282475
Raise a NotImplementedError for IPV6 support in old UDP cloud
7 years ago
Julien Duponchelle c96694105c
Handle broken appliance files
7 years ago
Julien Duponchelle 46e5e8ac68
Log error if you invalid character in auth login
7 years ago
Julien Duponchelle 8354beaa86
Return computer symbol if an appliance don't have symbol
7 years ago
Jeremy Grossmann 27f733736e Merge pull request #1133 from GNS3/appliances_dir
7 years ago
grossmj ca3f6fb4b8 Update some sentences related to suspending a link.
7 years ago
Julien Duponchelle 5fd842e54d
Suspend link
7 years ago
Julien Duponchelle 7d123f334f
Add an appliance templates directory
7 years ago