Commit Graph

572 Commits (6626bf37a6bab697f7995b4af9bfb6536eda3403)

Author SHA1 Message Date
grossmj 658aa4bae9 Merge 2.1 into 2.2 branch
6 years ago
grossmj 0fde1cf54a Ignore invalid BPF filters. Ref #1290.
6 years ago
grossmj 7c14e21f4a Different approach to handle no data returned by Dynamips or uBridge hypervisors. Fixes #1289.
6 years ago
grossmj a3a0657502 Do not raise exception if Dynamips or uBridge hypervisor don't return data and are still running. Fixes #1289
6 years ago
grossmj 3ca4f72b99 Fix Dynamips private config not loaded into nvram when starting a router. Fixes #1313.
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 e79e27a73f Handle docker env with last empty line, Fixes: #2420
6 years ago
grossmj 52b690b683 Fix "Unable to override non-custom VMware adapter".
7 years ago
grossmj 4ba523a0d7 Add an error message when Docker container is not ready to be started. Ref #1281.
7 years ago
grossmj 07d2d7b340 Update documentation.
7 years ago
grossmj e5c76750b1 Fix issue when running multiple project containing IOU nodes on the same server. Ref #1239.
7 years ago
grossmj 1045364adc Set first byte to 52 when generating a random MAC address for a Qemu VM. Ref #1267.
7 years ago
ziajka bb26e8acdd Calculate MD5 on thread and before json response, Ref. gui#2239
7 years ago
ziajka 1582ac3195 Merge branch '2.2' into async-md5-calcs
7 years ago
ziajka eeae07e783 Conservative approach to supported versions of Python 3.4 and asyncio.ensure_future, Ref. #1269
7 years ago
ziajka dc377165f2 Cancellable md5sum calculation on thread, Ref. gui#2239
7 years ago
ziajka 6868e20a70 Compute md5sum on thread and don't block main server, Ref. gui#2239
7 years ago
ziajka d9a0ec9ff3 Replace asyncio.async with ensure_future because of deprecation, Fixes: #1269
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
Dušan Dragić 6789989cb9 Rename ethernet switch arp command to mac
7 years ago
grossmj ed275e4ec5 Fix UnboundLocalError: local variable 'node' referenced before assignment. Fixes #1256.
7 years ago
grossmj 8b1c68a0b7 Fix problem when searching for VBoxManage. Fixes #1261.
7 years ago
grossmj 97cfb892a6 Improve the search for VBoxManage.
7 years ago
grossmj 5f14f8eb46 Default VPCS name format is now PC-{0}.
7 years ago
grossmj e8353e68bb Merge remote-tracking branch 'origin/2.1' into 2.1
7 years ago
grossmj 23c63bbd4d Protect variable replacement for Qemu options. Escape double quotes.
7 years ago
ziajka 3efe753eee Add proper exception when cannot find tunnel on QEMU, Fixes: #1241
7 years ago
grossmj 79bca29b93 Protect variable replacement for Qemu options.
7 years ago
grossmj 630afc5469 Do not overwrites persistent Docker volumes. Fixes #2358.
7 years ago
grossmj 3a1ba8f42d Fix issue with Qemu + SPICE when IPv4 is not enabled.
7 years ago
grossmj 061af38b5a Make sure connected links are removed when a node is deleted.
7 years ago
grossmj f48549a997 Validate idle-pc values for auto idle-pc feature.
7 years ago
grossmj 958ab2294c Merge remote-tracking branch 'origin/2.1' into 2.1
7 years ago
grossmj dd89b09f84 Fix error when updating packet filter on stopped Docker link. Fixes #1229.
7 years ago
ziajka 860ca3b35d Remotely close telnet console. Ref #2330
7 years ago
ziajka 96a0b52cf8 EthernetSwitch closing connections, Ref: gui/#2330
7 years ago
grossmj 3e2e8e61f7 New option: require KVM. If false, Qemu VMs will not be prevented to run without KVM.
7 years ago
grossmj 068077c594 Remove forgotten debug.
7 years ago
grossmj e08aebf1f0 Implement variable replacement for Qemu VM options.
7 years ago
grossmj cfbcc1194d Avoid duplicate "-nographic" option.
7 years ago
grossmj 035a078b5e Show qemu-img stdout in case of an error.
7 years ago
grossmj e1fe34ca07 Use the correct NVRAM amount when pushing private config to IOU.
7 years ago
grossmj 4477cd4dfd Merge remote-tracking branch 'origin/2.1'
7 years ago
grossmj 967798a7de Check and fix corrupt Qemu disk images. Fixes #2301.
7 years ago
grossmj 8c11b649e5 Update warning messages when connecting to non custom adapter for VMware VMs.
7 years ago
grossmj b14e2e73ed Fix "Can't use VirtualBox VM when an interface is managed by VirtualBox". Fixes #2335.
7 years ago
grossmj 9afe756462 Add low disk space warning when creating a new project.
7 years ago
grossmj 8fcfed53ed Add warning when using IOU with a hostname length above 15 characters.
7 years ago
grossmj df468bf2af Improve VMware VMs discovery process. Ref #1201.
7 years ago
grossmj 8930b4c6e5 Improve error message when IOU VM process is unexpectedly stopped.
7 years ago
grossmj b4307e6035 Improved error message when the number of network adapters is above the maximum for VirtualBox VMs.
7 years ago
grossmj 98b201e9e5 Tweak how VMware VMs are found with fallback to search in the default location for VMs.
7 years ago
Dušan Dragić 44bb912139 QEMU: fix logging of base mac address when creating a new node
7 years ago
grossmj 1524493c33 Fix IOU detection of layer 1 keepalive support. Fixes #1183.
7 years ago
Jeremy Grossmann 897f7656da Merge pull request #1185 from GNS3/fix-delete-project
7 years ago
ziajka 3d85bba9d4 Don't create directory structure during json dump. Fixes #2270
7 years ago
grossmj 7269285b0f Add more information when qemu-img fails.
7 years ago
grossmj a567b394f3 Restore file permissions fails for volumes with soft links. Fixes #1180.
7 years ago
grossmj d76bcf7078 Use RAW sockets by default on Linux.
7 years ago
grossmj 9e4cfaf787 Fix NAT node not working on Windows. Fixes #1163.
7 years ago
ziajka 7523e9c4bc Fixes NAT node not working on Windows (#1163)
7 years ago
Julien Duponchelle a93f3b0576
Fix permission on exited container
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 253e113168
Raise an error if the licence check setting is not a boolean
7 years ago
Bernhard Ehlers ec4e69b0d8
Ensure, that the docker mount directory exists
7 years ago
Julien Duponchelle b33ba5f8ea
Don't allow user to overwrite GNS3 docker environment variables
7 years ago
grossmj a7d2391608 Use the libpcap on Linux when blocking host originating packets on vmnet interfaces. Ref #1131.
7 years ago
Jeremy Grossmann c2fbe4f313 Merge pull request #1130 from GNS3/vmware_filters
7 years ago
Julien Duponchelle fa211a82eb
Filters support for VMware
7 years ago
Julien Duponchelle 54faaf5f6f
Packet filters support for VirtualBox
7 years ago
Julien Duponchelle 08d4c1a000
Merge branch '2.1' into filters_iou
7 years ago
Julien Duponchelle 536c708c16
Filter implementation for cloud & Nat
7 years ago
Julien Duponchelle 5b839c22e9
Filters support for IOU
7 years ago
Julien Duponchelle 23c3d32e06
Filter support for Docker
7 years ago
Julien Duponchelle f557ec4bda
Fix regression in docker introduce by 2.0 merge
7 years ago
Julien Duponchelle 03f8c747cc
Qemu support for packet filtering
7 years ago
Julien Duponchelle 9e2759a3f2 Merge branch '2.1' into remove_use_ubrige
7 years ago
Julien Duponchelle 86f1201276
Support packet filtering for dynamips
7 years ago
Julien Duponchelle 4a55a367e3
Missing file in previous commit
7 years ago
Julien Duponchelle cf17176bfc
Fix recreate a link with dynamips
7 years ago
Jeremy Grossmann 2e592d3199 Merge pull request #1121 from GNS3/bfp_filter
7 years ago
Julien Duponchelle 4a05a4f7c5
Fix virtualbox links
7 years ago
Julien Duponchelle 66d5d34877
Fix qemu hotlink
7 years ago
Julien Duponchelle 04303ca00c
Fix VPCS ubridge usage
7 years ago
Julien Duponchelle 699ecb7c89
Merge branch 'master' into 2.1
7 years ago
Julien Duponchelle 8a8de1e2df
BPF filter support
7 years ago
Julien Duponchelle d112da400e
Remove use_ubridge flag
7 years ago
grossmj 5112f6fe56 Small changes for Dynamips NIO UDP.
7 years ago
Julien Duponchelle 557924e91a
Use ubridge for dynamips routers
7 years ago
Julien Duponchelle 7f4eeb56fa
Remove unusued code
7 years ago
ziajka e0f0adf3c8 Added preferred Docker API version. Fixes #2136
7 years ago
ziajka 8e8b8bc5a5 WebSocket binary mode support for docker
7 years ago
Julien Duponchelle 4097bab565
Apply feedback from @grossmj
7 years ago
ziajka c6f9ec3758 More information on Docker WebSocket error
7 years ago
Julien Duponchelle 08423eff96
Support packet filtering for VPCS
7 years ago
ziajka c1a4bba101 Merge pull request #1091 from GNS3/bugfix-557
7 years ago
ziajka 931018b877 Fix passing tests
7 years ago
ziajka 6aa2afcf54 Fix #557 - mac addess collision when running IOU on multiple GNS3 servers
7 years ago
grossmj 1e37101641 Allow IOU 64-bit images.
7 years ago
Julien Duponchelle bcdac6c969
Fix test for ethernet switch show arp
7 years ago
ziajka 7447b3190d spice - added qxl vga support
7 years ago
Jeremy Grossmann 1b6cefd82b Merge pull request #1055 from GNS3/embed_shell
7 years ago
grossmj ad850f3857 Add port number in arp command output for Ethernet switch.
7 years ago
ziajka bc5ec98cd5
Spice support
7 years ago
Julien Duponchelle a8e8eac0b4
Merge remote-tracking branch 'origin/master' into 2.1
7 years ago
Julien Duponchelle 5a1d313fca Merge pull request #1080 from GNS3/spice-feature
7 years ago
Julien Duponchelle 36dc264a6c Revert "Spice feature"
7 years ago
Julien Duponchelle e5bc7c7a66
Merge branch '2.1' into embed_shell
7 years ago
Julien Duponchelle bb8097a052
Merge remote-tracking branch 'origin/master' into 2.1
7 years ago
ziajka 88c2353e2e QEMU - SPICE support at build options and schemas
7 years ago
ziajka 5c0d955156 Fix: #1066 - Catching parsing errors at linked vbox file
7 years ago
ziajka 7235a312ab Escaping VPCS name in regex #1067
7 years ago
Julien Duponchelle ae328e5c50
Merge branch '2.1' into embed_shell
7 years ago
ziajka eb6068c3d3 Fix Qemu disk creation with unicode characters not supported by local filesystem #1058 (#1063)
7 years ago
Julien Duponchelle 6a0345897d
Connector is no longer supported in ws_connect by aiohttp 2.0
7 years ago
Julien Duponchelle 7dfb634376
Fix for websocket usage with aiohttp 2.0
7 years ago
Julien Duponchelle 93adef91d8
Merge branch '2.0' into 2.1
7 years ago
Julien Duponchelle 5616ab0e9a
Fake console for simple Ethernet switch
7 years ago
Julien Duponchelle b8ee8d69c8
Fix unexpected keyword argument 'conn_timeout'
7 years ago
Julien Duponchelle 5bb6c51698
Fix an error when logging Docker container fail to start
7 years ago
Julien Duponchelle 2a8911d19e
Keep DOCKER_MINIMUM_API_VERSION and DOCKER_MINIMUM_VERSION consistent
7 years ago
Bernhard Ehlers 8b7209ea78
Use docker version in error message of outdated docker installation
7 years ago
Bernhard Ehlers 7d48eba01b
Use versioned docker API
7 years ago
Bernhard Ehlers 2191c487b6
Support images created by "docker commit". Fixes #1039
7 years ago
Jeremy Grossmann 82f1ab2be2 Merge pull request #1036 from GNS3/aiohttp_2.0
7 years ago
Julien Duponchelle a4245fcf44
Aiohttp 2.0
7 years ago
grossmj f338158654 Use 127.0.0.1 for local UDP tunnels to uBridge for Qemu. Ref #664.
7 years ago
Julien Duponchelle cd17ef6b12
Merge branch '2.0' into 2.1
7 years ago
grossmj bf38a8515e Fix typo.
7 years ago
grossmj 942cc09eda Fixes issue with connections when loading an ATM switch.
7 years ago
grossmj 18cfcaa081 Fixes ATM mapping.
7 years ago
grossmj 87d42f4eb9 Fixes Frame-relay VC mapping.
7 years ago
Julien Duponchelle f31e46e8ed
Fix a race condition in logging when ubridge exit fast
7 years ago
Jeremy Grossmann 633cdef0bc Merge pull request #987 from GNS3/nat_vmware
7 years ago
grossmj 48dae085aa Catch missing function listxattr on some Linux host.
7 years ago
Julien Duponchelle 3070a68273
Fix unicode error when reading ios configuration
7 years ago
Julien Duponchelle bda36081a9
Fix AttributeError: 'NoneType' object has no attribute 'send'
7 years ago
Julien Duponchelle 04220846b3
Fix an error with ethernetswitch when ethertype is null
7 years ago
Julien Duponchelle 694a4e8068
Raise an error if we can't create the dynamips configuration directory
7 years ago
Julien Duponchelle 31d1696215
Catch a race condition in VirtualBox when editing and linking
7 years ago
Julien Duponchelle 078a6d8d34
Fix a race condition when editing a qemu vm and connecting it
7 years ago
Bernhard Ehlers ecba758c58
Docker aux console is a VT100 terminal
7 years ago
Bernhard Ehlers 56d91b648c
Fix connection to websocket with last docker release
7 years ago
Bernhard Ehlers 1b0f5c63b8
Fix connection to websocket with last docker release
7 years ago
Julien Duponchelle b0f45035a9
NAT node can use the VMware NAT
7 years ago
Julien Duponchelle 273a711459
Merge branch '2.0' into 2.1
7 years ago
Julien Duponchelle 1a90305baa
Docker minimum api is 1.25
7 years ago
Julien Duponchelle effbe59414
Lock docker API to 1.27
7 years ago
Julien Duponchelle 8b9f22c30c
Handling server disconnect error when docker daemon die
7 years ago
Julien Duponchelle 7302f65ffe
Catch timeout error on docker
7 years ago
Julien Duponchelle 62cd5e4aa3
Fix ghost vmware vms
7 years ago
Julien Duponchelle fdd1084714
Fix bridge 'bridge0' already exist when we have trouble with a container
7 years ago
grossmj 5edb631b00 Fixes Qemu sata option. Ref #875.
7 years ago
Julien Duponchelle 4f1b738ef5
Merge branch '2.0' into 2.1
7 years ago
Julien Duponchelle 935ca17d7a
Allow to change some properties of an already connected ethernet switch
7 years ago
Julien Duponchelle 644616b69c
Ensure we start only one ubridge
7 years ago
Julien Duponchelle 84da9b4c23
Remove unused module import
7 years ago
Julien Duponchelle 2564740665
Fix limit of 20 docker containers
7 years ago
Julien Duponchelle 42f409d5f9
Fix race conditions in creation of Frame Relay Switch
7 years ago
Julien Duponchelle 132bc87081
Dissallow parallel pull of docker images
7 years ago
Julien Duponchelle 80e361ff2e
Improve vmrun timeout message
7 years ago
Julien Duponchelle cb78eb4ee3
Fix Bug when delete fake-running VMBox
7 years ago
Julien Duponchelle 34f5a6f82c
Fix Session is closed when listing docker images
7 years ago
Julien Duponchelle 78c154e376
Cleanup docker source code
7 years ago
Julien Duponchelle a571b1a2f8
Use aiohttp session for docker queries
7 years ago
Julien Duponchelle a62b791c68
Fix TypeError: http_query() got an unexpected keyword argument 'timeout'
7 years ago
Julien Duponchelle c8b46bdcab
Fix return code check for SIGSEGV of IOU images
7 years ago
Julien Duponchelle 08bafc2dcc
Catch a timeout error in docker
7 years ago
Julien Duponchelle 9ef334331e
Fix crash when handling an error in project creation
7 years ago
Julien Duponchelle 6017ebbd97
Merge branch '2.0' into 2.1
7 years ago
Julien Duponchelle 8b7035b185
Enable show in file manager for cloud
7 years ago
Julien Duponchelle 5e7f97b175
Fix when qemu exit by itself clean other processes
7 years ago
Julien Duponchelle 1ab9ca2333
Merge branch '2.0' into 2.1
7 years ago
Julien Duponchelle 70e2b87ff0
Patch hostname in configuration file even if name is unsync
7 years ago
Julien Duponchelle 2e0f012952
Improve ACPI shutdown for virtualbox
7 years ago
Julien Duponchelle 65b75a9212
Fix an issue with serial capture for IOU
7 years ago
Julien Duponchelle 366c567864
Fix restoration of private config when using dynamips
7 years ago
Julien Duponchelle 2884a40769
Fix error when the startup config file is missing
7 years ago
Julien Duponchelle 132a7bfeb7
Catch an error in etherswitch when ubridge die
7 years ago
Julien Duponchelle 7407ab88b3
Fix a failing test on Python 3.6
7 years ago
Jeremy Grossmann 5672b4b748 Merge pull request #890 from GNS3/base_config_server_side
7 years ago
Jeremy Grossmann aee7208f7b Merge pull request #895 from GNS3/qemu_more_adapters
7 years ago
Jeremy Grossmann 635e163954 Update qemu_vm.py
7 years ago
Julien Duponchelle 99f817392d
Raise an error if you use Qemu < 2.4 and try to use large number of adapters
7 years ago
Julien Duponchelle 0dbd92db11
Fix disk lost when save as a project using linked clone VirtualBox
7 years ago
Julien Duponchelle b0567772f7
Allow up to 275 adapters for qemu
8 years ago
Julien Duponchelle e892e5dfab
Manage base configuration on server
8 years ago
Julien Duponchelle f0ff035c0b
Prevent corruption of VM in VirtualBox when using linked clone
8 years ago
Julien Duponchelle 580693b1ec
Prevent renaming of a running VirtualBox linked VM
8 years ago
Julien Duponchelle 1ed88eda85
Fix version check for VPCS
8 years ago
Julien Duponchelle a24490930f
Fix pcap for PPP link with IOU
8 years ago
Julien Duponchelle e5dba5e66a
Fix bug with other directory of Qemu images
8 years ago
Julien Duponchelle c9f3ea4489
Fix some race condition in project deletion
8 years ago
Julien Duponchelle 82da073dd7
If qemu status change internally we mirror it
8 years ago
Julien Duponchelle 2de284ea30
Fix some tests on travis
8 years ago
Julien Duponchelle 7a0783d050
Drop a useless debug information
8 years ago
Julien Duponchelle 7241063ddf
Fix sometimes VirtualBox VM are not loading
8 years ago
Julien Duponchelle 1527a1a4e1 Fix cloud on Linux
8 years ago