Commit Graph

1330 Commits

Author SHA1 Message Date
grossmj
033f005bde Merge branch '2.1' into 2.2
# Conflicts:
#	gns3server/compute/docker/docker_vm.py
#	gns3server/version.py
2018-08-07 21:06:42 +07:00
ziajka
dd845eb096 Fix tests on Windows 2018-06-28 09:16:51 +02:00
ziajka
41026c74c1 Use mocked dir for web-ui redirection test 2018-06-26 13:13:19 +02:00
ziajka
7d75b6248d Use mocked dir of web-ui for tests 2018-06-26 12:53:39 +02:00
ziajka
0e1f2e26d0 Serve WebUI handlers and update-bundled-web-ui script, Ref: #1362 2018-06-26 12:09:08 +02:00
ziajka
867e997b74 Support /static/ files serving, Ref: #1362 2018-06-22 15:29:47 +02:00
grossmj
893e9c4749 'caplog.text()' syntax is deprecated, use 'caplog.text' property instead. 2018-06-14 17:15:24 +08:00
grossmj
0f496907a0 Fix API status code for start/stop/suspend/reload a node. Fixes #1353.
Fix issues with test.
Update documentation.
2018-06-14 16:39:32 +08:00
ziajka
f3b4cc0160 Fix tests 2018-06-13 19:16:43 +02:00
ziajka
ac73c72727 Don't send variables to computes where are empty, Ref: #1340 2018-06-13 18:55:47 +02:00
grossmj
96d5e351f7 Merge branch '2.1' into 2.2
# Conflicts:
#	gns3server/version.py
#	requirements.txt
2018-06-10 21:19:55 +07:00
grossmj
45edc40948 Timeout for stream file. 2018-06-10 21:18:16 +07:00
grossmj
1550c7bee7 Fix cloud tests. 2018-06-10 17:56:56 +07:00
grossmj
6caf38206c Fix tests. 2018-06-07 22:37:29 +07:00
grossmj
62f87de23a Add API endpoint to return all links attached to a node. 2018-06-06 20:46:44 +07:00
grossmj
d1ccf3bc84 Merge branch '2.1' into 2.2
# Conflicts:
#	gns3server/version.py
#	requirements.txt
2018-06-04 22:46:52 +07:00
ziajka
c52342907a
Merge pull request #1332 from GNS3/global-vars
Docker `ExtraHosts`, global variables for project and supplier support, Fixes: #2482
2018-05-15 09:23:54 +02:00
ziajka
7b3d5ae5e3 Create/update project on compute when variables changes 2018-05-09 15:29:35 +02:00
ziajka
83445214be Support for nested global variables 2018-05-09 11:25:55 +02:00
ziajka
0bcc657bf1 Don't clean logo images when applied to the project 2018-05-08 16:22:35 +02:00
ziajka
f2700ed445 Support of supplier and variables in topology 2018-05-08 10:07:42 +02:00
ziajka
e4436096c2 Fix tests 2018-05-07 15:18:19 +02:00
ziajka
132c7c8f5b Fix tests 2018-05-07 12:55:32 +02:00
ziajka
e267f8a8b8 Project global variables 2018-05-04 14:34:44 +02:00
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
2018-04-28 19:41:12 +07:00
grossmj
a56d5b453f Fix project export tests. 2018-04-28 16:46:47 +07:00
ziajka
80958e8a6d support based on init.sh, Ref: #2482 2018-04-27 14:33:07 +02:00
ziajka
43081152ef Add support of ExtraHosts for Docker, Ref. gns3-gui#2482 2018-04-25 16:03:01 +02:00
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
2018-04-18 17:08:42 +08:00
grossmj
801547983a Fix tests. 2018-04-13 17:04:19 +08:00
grossmj
adc2f69d5d Fix tests. 2018-04-04 21:51:31 +07:00
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.
2018-04-02 22:27:12 +07:00
grossmj
509b171b06 Allow to have projects with the same name in different locations. 2018-03-30 23:01:37 +07:00
grossmj
64949f5d04 Fix bug with 'none' console type for Ethernet switch.
Fix some tests related to traceng.
2018-03-30 13:00:52 +07:00
grossmj
669d2ec038 Merge branch '2.1' into 2.2
# Conflicts:
#	gns3server/schemas/node.py
2018-03-30 12:14:09 +07:00
grossmj
297bbd91ec Fix traceng tests. 2018-03-30 12:10:57 +07:00
grossmj
d08c08617c Support for source and destination for traceNG. 2018-03-27 16:58:49 +07:00
grossmj
5d704aa478 Fix tests. 2018-03-24 18:25:09 +07:00
grossmj
17bfed52f2 Fix Qemu VM tests. 2018-03-22 14:05:31 +07:00
grossmj
279b4d7b20 Fix link filters/suspend tests. 2018-03-19 18:25:56 +07:00
grossmj
88674455a3 Merge branch '2.1' into 2.2
# Conflicts:
#	gns3server/version.py
#	tests/compute/docker/test_docker_vm.py
2018-03-14 18:40:37 +07:00
grossmj
397c1322b4 Base support for TraceNG. 2018-03-12 17:57:13 +07:00
grossmj
658aa4bae9 Merge 2.1 into 2.2 branch 2018-03-12 13:38:50 +07:00
ziajka
05b6be2e42 Compatybility with controller, default_symbol and hover_symbol, Fixes: #2444 2018-03-02 13:48:27 +01:00
ziajka
9be76d98a2 Filter snapshots directory during the snapshot, Fixes: #1297 2018-02-28 16:38:32 +01:00
ziajka
09c7d73ee9 Filter snapshots directory during the snapshot, Fixes: #1297 2018-02-28 16:33:20 +01:00
ziajka
e79e27a73f Handle docker env with last empty line, Fixes: #2420 2018-02-27 16:33:55 +01:00
grossmj
17422bc461 Fix appliance loading test (missing category). 2018-02-06 16:55:40 +08:00
grossmj
935b8981ea Fix appliance loading test. 2018-02-06 16:15:34 +08:00
grossmj
654aa18d09 Fix get_port test. 2018-02-02 22:14:50 +08:00
grossmj
3802a3d70b Fix more IOU tests. 2018-01-31 16:34:41 +07:00
grossmj
0ee87c9110 Fix IOU tests. 2018-01-31 16:12:55 +07:00
ziajka
bb26e8acdd Calculate MD5 on thread and before json response, Ref. gui#2239 2018-01-29 14:20:48 +01:00
ziajka
dc377165f2 Cancellable md5sum calculation on thread, Ref. gui#2239 2018-01-29 10:18:13 +01:00
ziajka
d9a0ec9ff3 Replace asyncio.async with ensure_future because of deprecation, Fixes: #1269 2018-01-24 11:11:53 +01:00
ziajka
05983f2838 Fix test_open_auto_start test 2018-01-24 10:54:56 +01:00
grossmj
28f8216590 Merge branch '2.1' into 2.2
# Conflicts:
#	gns3server/version.py
#	requirements.txt
2018-01-23 12:47:13 +07:00
grossmj
2e40fb8608 Fix client/server version test. 2018-01-18 16:04:31 +08:00
Dušan Dragić
5d86f06390 Rename ethernet switch arp command to mac, also rename in test 2018-01-14 17:50:21 +01:00
Bernhard Ehlers
8907b3d58a GNS3-API: implement GET for specific drawing and link
Fixes #1249
2018-01-05 13:44:46 +01:00
ziajka
dadf11f69b Fix tests 2017-12-21 09:37:48 +01:00
grossmj
a8177d7afa Fix tests more reliably. Ref #0df997d. 2017-12-18 12:08:14 +01:00
grossmj
0df997d232 Fix tests. 2017-12-17 23:06:19 +01:00
grossmj
0a72e0db87 Fix more GNS3 VM related tests. 2017-12-05 20:38:48 -06:00
grossmj
e3b3427cc6 Fix GNS3 VM start test. 2017-12-05 20:30:28 -06:00
grossmj
dde2003168 Fix tests. 2017-12-05 16:56:50 -06:00
grossmj
6e2752648a Implement #1153 into 2.2 branch. 2017-11-27 15:16:46 +07:00
grossmj
745532bf23 Fix auto idlepc test. 2017-11-23 23:46:22 +07:00
grossmj
851fcf5c71 Fix compute auto idlepc test. 2017-11-23 23:28:52 +07:00
grossmj
efbf7728ea Fix Docker tests. 2017-11-23 11:27:17 +07:00
ziajka
fe59c937d5
Merge branch '2.1' into improved-export-project 2017-11-20 11:15:04 +01:00
ziajka
b48f5df53f iExport files from remote server, Fixes: gui/#2271 2017-11-20 10:47:03 +01:00
grossmj
cf14deb2fa Fix IOU tests. 2017-11-16 17:07:51 +07:00
Jeremy Grossmann
d2a7f724e3 Merge pull request #1198 from GNS3/vmware-config
Set vhv.enable before run for VMware. Fixes #1184
2017-10-18 17:42:56 +07:00
ziajka
44efab109e Set vhv.enable before run for VMWare 14. Fixes #1184 2017-10-18 10:32:56 +02:00
ziajka
bc782b6896 fix passing tests on Windows 2017-10-16 13:02:44 +02:00
ziajka
b654d78ea6 Endpoint for obtaining direct action on compute 2017-10-13 11:03:56 +02:00
ziajka
0c7a92b710 Tests on TravisCI with docker compose 2017-10-12 10:40:49 +02:00
Dominik Ziajka
be35ad6874 Fixes path normalization during file upload on nodes (Fixes: #2276) 2017-10-03 18:13:19 +02:00
ziajka
3d85bba9d4 Don't create directory structure during json dump. Fixes #2270 2017-10-02 10:41:57 +02:00
grossmj
6a8f220ff1 Fix NAT test. 2017-09-11 15:09:32 +07:00
ziajka
fd623a5ad2 Fix test_ubridge_apply_filters 2017-09-05 11:07:10 +02:00
ziajka
e5a7eb74ed Fix project tests 2017-09-05 10:38:17 +02:00
ziajka
b0783eeccc Load meta of the project on loading time (Fixes #2225) 2017-08-22 09:36:52 +02:00
ziajka
7523e9c4bc Fixes NAT node not working on Windows (#1163) 2017-08-21 10:17:56 +02:00
ziajka
3fd86f5807 Return platform value on appliances list (Fixes #2211) 2017-08-08 13:58:43 +02:00
ziajka
3a1fd892ac Fixes not known category in Appliances (Fixes #1156) 2017-08-07 10:00:46 +02:00
Jeremy Grossmann
8a028a6dce Merge pull request #1147 from GNS3/fix_docker_permission
Fix permission on exited container
2017-08-01 00:30:56 +08:00
Julien Duponchelle
6996b7094f
Handle invalid appliances files
Fix #1150
2017-07-28 15:21:35 +02:00
Julien Duponchelle
283b08c2a1
Fix naming of node with a number in the name
Fix #1149
2017-07-27 16:06:52 +02:00
Julien Duponchelle
92c9e48f18
This fix the images always included in portable project
Also add test to avoid regressions on this.

Fix https://github.com/GNS3/gns3-gui/issues/2165
2017-07-26 16:46:29 +02:00
Julien Duponchelle
a93f3b0576
Fix permission on exited container
If a container is exited we quickly start it to fix
the permissions.

Fix https://github.com/GNS3/gns3-gui/issues/2181
2017-07-26 14:52:16 +02:00
Jeremy Grossmann
bb90c0ba52 Merge pull request #1140 from GNS3/duplicate_docker
Support duplicate for Docker
2017-07-25 06:50:00 -07:00
Jeremy Grossmann
a805b3c7c3 Merge pull request #1142 from GNS3/duplicate_iou
Duplicate IOU
2017-07-25 06:46:44 -07:00
Julien Duponchelle
6d4529f445
Duplicate IOU
Ref https://github.com/GNS3/gns3-gui/issues/1065
2017-07-25 11:39:46 +02:00
Julien Duponchelle
16209a2b60
Support duplicate for Docker
Ref https://github.com/GNS3/gns3-gui/issues/1065
2017-07-25 11:32:09 +02:00
Julien Duponchelle
01be1b32c4
Duplicate support for qemu
Ref https://github.com/GNS3/gns3-gui/issues/1065
2017-07-25 10:02:40 +02:00
Julien Duponchelle
0854c04687
API for duplication a Node
Support:
* VPCS
* Dynamips router
* Ethernet switch

Ref #1065
2017-07-24 10:08:22 +02:00
Julien Duponchelle
b33ba5f8ea
Don't allow user to overwrite GNS3 docker environment variables
Fix #1098
2017-07-20 15:37:56 +02:00
Jeremy Grossmann
27f733736e Merge pull request #1133 from GNS3/appliances_dir
Add an appliance templates directory
2017-07-19 22:10:13 -07:00
Julien Duponchelle
5fd842e54d
Suspend link 2017-07-19 17:30:25 +02:00
Julien Duponchelle
bce9c61e41
Cleanup unused code in test_link 2017-07-19 16:02:14 +02:00
Julien Duponchelle
7d123f334f
Add an appliance templates directory
Fix https://github.com/GNS3/gns3-gui/issues/2133
2017-07-19 11:44:05 +02:00
Jeremy Grossmann
c2fbe4f313 Merge pull request #1130 from GNS3/vmware_filters
Filters support for VMware
2017-07-19 14:59:25 +07:00
Jeremy Grossmann
ac10ba370a Merge pull request #1129 from GNS3/filters_virtualbox
Packet filters support for VirtualBox
2017-07-19 13:34:48 +07:00
Julien Duponchelle
fa211a82eb
Filters support for VMware
Fix #1108
2017-07-18 18:04:03 +02:00
Julien Duponchelle
d9b13fb0c5
Add test for the VMware compute API 2017-07-18 16:07:10 +02:00
Julien Duponchelle
54faaf5f6f
Packet filters support for VirtualBox
Fix #1107
2017-07-18 14:59:47 +02:00
Julien Duponchelle
08d4c1a000
Merge branch '2.1' into filters_iou 2017-07-17 17:51:17 +02:00
Julien Duponchelle
536c708c16
Filter implementation for cloud & Nat
Fix #1111
2017-07-17 17:27:07 +02:00
Julien Duponchelle
5b839c22e9
Filters support for IOU
Fix #1113
2017-07-17 11:21:54 +02:00
Julien Duponchelle
23c3d32e06
Filter support for Docker
Fix #1110
2017-07-12 19:44:15 +02:00
Julien Duponchelle
03f8c747cc
Qemu support for packet filtering
Fix #1112
2017-07-12 14:50:33 +02:00
Julien Duponchelle
9e2759a3f2 Merge branch '2.1' into remove_use_ubrige 2017-07-12 12:46:10 +02:00
Julien Duponchelle
86f1201276
Support packet filtering for dynamips
Fix #1109
2017-07-12 12:08:02 +02:00
Jeremy Grossmann
2e592d3199 Merge pull request #1121 from GNS3/bfp_filter
BPF filter support
2017-07-12 16:22:01 +07:00
Jeremy Grossmann
114b137b02 Merge pull request #1120 from GNS3/aiohttp_2.2
Upgrade to last aiohttp version
2017-07-12 15:20:02 +07:00
Julien Duponchelle
fd0770158c
Fix tests with Yarl 0.11 2017-07-12 09:34:40 +02:00
Julien Duponchelle
699ecb7c89
Merge branch 'master' into 2.1 2017-07-11 18:59:50 +02:00
Julien Duponchelle
8a8de1e2df
BPF filter support
Fix https://github.com/GNS3/gns3-gui/issues/765
2017-07-11 17:30:29 +02:00
Julien Duponchelle
d112da400e
Remove use_ubridge flag
Ref #1115
2017-07-11 13:58:59 +02:00
Julien Duponchelle
c6f28afb7c
Fix a broken test 2017-07-10 20:35:02 +02:00
Jeremy Grossmann
339ed8ab57 Merge pull request #1106 from GNS3/idlepc_apicall
Implement an api call for computing the IDLE PC
2017-07-10 11:33:16 +07:00
Jeremy Grossmann
5bdc239064 Merge pull request #1104 from GNS3/filters_api
Support packet filtering for VPCS
2017-07-08 18:50:00 +07:00
Julien Duponchelle
3eadbb9adb
Implement an api call for computing the IDLE PC
Fix https://github.com/GNS3/gns3-gui/pull/2153
2017-07-07 17:50:40 +02:00
ziajka
e0f0adf3c8 Added preferred Docker API version. Fixes #2136 2017-07-06 11:24:55 +02:00
ziajka
8e8b8bc5a5 WebSocket binary mode support for docker 2017-07-06 10:13:00 +02:00
Julien Duponchelle
08423eff96
Support packet filtering for VPCS
https://github.com/GNS3/gns3-gui/issues/765
2017-07-04 15:12:26 +02:00
ziajka
dadbb0ab09 More options for drawing area 2017-07-03 10:01:22 +02:00
Jeremy Grossmann
799a2d376e Merge pull request #1092 from GNS3/fix_vpcs_name
Fix the initial startup for VPCS is not used
2017-06-28 16:09:54 +08:00
Julien Duponchelle
0a6dc55645
Fix appliance properties lost when you create two node from template 2017-06-28 09:37:19 +02:00
Julien Duponchelle
617868402f
Fix the initial startup for VPCS is not used
The default VPCS template didn't provide the base
startup config setting. This prevent the replacement
of the hostname in the configuration file.

Fix https://github.com/GNS3/gns3-gui/issues/2123
2017-06-27 18:44:31 +02:00
ziajka
c1a4bba101 Merge pull request #1091 from GNS3/bugfix-557
Bugfix 557
2017-06-27 11:17:12 +02:00
ziajka
931018b877 Fix passing tests 2017-06-27 11:11:07 +02:00
ziajka
6aa2afcf54 Fix #557 - mac addess collision when running IOU on multiple GNS3 servers 2017-06-27 10:09:21 +02:00
Julien Duponchelle
bcdac6c969
Fix test for ethernet switch show arp 2017-06-23 10:54:05 +02:00
ziajka
7447b3190d spice - added qxl vga support 2017-06-22 12:56:28 +02:00
Jeremy Grossmann
1b6cefd82b Merge pull request #1055 from GNS3/embed_shell
Fake console for simple Ethernet switch
2017-06-22 00:24:14 +02:00
ziajka
bc5ec98cd5
Spice support
* QEMU VNC options tests
* QEMU - SPICE support at build options and schemas
* SPICE console_type for nodes
2017-06-21 15:14:41 +02:00
Julien Duponchelle
a8e8eac0b4
Merge remote-tracking branch 'origin/master' into 2.1 2017-06-21 15:13:04 +02:00
Julien Duponchelle
5a1d313fca Merge pull request #1080 from GNS3/spice-feature
Spice feature
2017-06-21 10:37:04 +02:00
Julien Duponchelle
36dc264a6c Revert "Spice feature" 2017-06-21 10:32:28 +02:00
Julien Duponchelle
efd5d82c88 Merge pull request #1076 from GNS3/spice-feature
Spice feature
2017-06-21 10:28:43 +02:00
ziajka
ea9f0e52c8 Fixes #2108 (gns3-gui): getting project file with leading slashes issue (#1078) 2017-06-21 10:26:36 +02:00
ziajka
2e6366a766 Fix tests on windows 2017-06-20 13:46:03 +02:00
Julien Duponchelle
e5bc7c7a66
Merge branch '2.1' into embed_shell 2017-06-19 11:10:24 +02:00
Julien Duponchelle
e1c20e6a22
Fix merge 2.0 error 2017-06-19 10:50:45 +02:00
Julien Duponchelle
bb8097a052
Merge remote-tracking branch 'origin/master' into 2.1 2017-06-19 10:44:52 +02:00
Julien Duponchelle
8973cc6fee
Merge branch '2.1' into embed_shell 2017-06-19 09:11:08 +02:00
Julien Duponchelle
c8c991af78 Fix the error about appliance ID not found (#1075)
* Fix the error about appliance ID not found

* Copy appliance data before editing it
2017-06-19 08:47:50 +02:00
ziajka
88c2353e2e QEMU - SPICE support at build options and schemas 2017-06-16 10:17:26 +02:00
ziajka
c91a001729 QEMU VNC options tests 2017-06-16 10:03:33 +02:00
ziajka
64a852f38f Fixes #1068 - handle zipfile encoding issues at project duplication 2017-06-09 15:32:25 +02:00
ziajka
5c0d955156 Fix: #1066 - Catching parsing errors at linked vbox file 2017-06-09 10:41:34 +02:00
Julien Duponchelle
c1c3a9ed80
Drop debug 2017-06-09 09:31:18 +02:00
ziajka
7235a312ab Escaping VPCS name in regex #1067 2017-06-09 09:14:25 +02:00
Julien Duponchelle
ae328e5c50
Merge branch '2.1' into embed_shell 2017-06-07 18:21:41 +02:00
ziajka
b9e2b7945a Removed gc collection at testing 2017-06-07 14:39:47 +02:00
ziajka
eb6068c3d3 Fix Qemu disk creation with unicode characters not supported by local filesystem #1058 (#1063) 2017-06-07 12:35:41 +02:00
Julien Duponchelle
c538ec5937
Fix tests on case sensitive file system 2017-06-07 11:20:55 +02:00
ziajka
e0b519eced Fix when config file doesn't have computes section (#1062) 2017-06-07 10:50:40 +02:00
Julien Duponchelle
cdcdba7411
Fix installation issue with Python 3.4 and aiohttp cors 2017-06-06 17:41:36 +02:00
Julien Duponchelle
2fe589b1a8
Fix invalid test for 1.3 topology conversion to GNS3 2.1 2017-06-06 16:07:27 +02:00
Julien Duponchelle
93adef91d8
Merge branch '2.0' into 2.1 2017-05-31 16:58:31 +02:00
Julien Duponchelle
5616ab0e9a
Fake console for simple Ethernet switch
Fix #454
2017-05-31 15:13:29 +02:00
Julien Duponchelle
5a86277a9f
Test that import erase the auto_open and auto_start setting
Ref #1041
2017-05-23 16:08:30 +02:00
Julien Duponchelle
59488e8064 Fix tests on python 3.4 (#1046) 2017-05-23 12:15:04 +02:00
Julien Duponchelle
54e80d68f8
Fix test failed on Python 3.4
Fix #1045
2017-05-23 11:11:13 +02:00
Julien Duponchelle
1e598d1890
Test for support of docker commit images
Ref #1039
2017-05-23 10:23:12 +02:00
Julien Duponchelle
7d30da5d4e
Do not wait auto start to finish in order to complete project opening
Fix https://github.com/GNS3/gns3-gui/issues/2074
2017-05-22 20:18:07 +02:00
Julien Duponchelle
bdcadcc335
Fix support from some old topologies
Fix #1038
2017-05-19 17:49:39 +02:00
Julien Duponchelle
189ad994c8
Symbols are returned with a content length 2017-05-18 16:37:44 +02:00
Julien Duponchelle
a4245fcf44
Aiohttp 2.0
Ref #1000
2017-05-17 18:42:17 +02:00
Julien Duponchelle
e9fef928b0
Fix dynamips node creation error 2017-05-16 10:49:45 +02:00
Julien Duponchelle
aff5554528
Rename old properties from gui linked_base to linked_clone
Fix #1034
2017-05-16 10:33:37 +02:00
Julien Duponchelle
2a159c06c5
Fix forwarding properties
Fix #2005, #2002
2017-05-16 10:22:55 +02:00
Julien Duponchelle
cd17ef6b12
Merge branch '2.0' into 2.1 2017-05-15 15:46:50 +02:00
Julien Duponchelle
851d6e1db8
When importing portable project NAT node is loaded on GNS3 VM
Fix #1030
2017-05-15 10:21:37 +02:00
Julien Duponchelle
5721dd3f30
Fix port numbering for Wic slot 1 & 2 2017-05-12 14:12:24 +02:00
Julien Duponchelle
19a6157f64
Fix wic numbering
Fix #1011
2017-05-12 09:48:05 +02:00
Julien Duponchelle
bfee08459d
Test image sorting
Ref https://github.com/GNS3/gns3-gui/issues/2030
2017-05-05 20:09:51 +02:00
Bernhard Ehlers
ecba758c58
Docker aux console is a VT100 terminal
Without that program like nano can't work.

Signed-off-by: Julien Duponchelle <julien@gns3.net>
2017-05-03 10:30:43 +02:00
Julien Duponchelle
b0f45035a9
NAT node can use the VMware NAT
On Windows and Mac OS this allow the NAT node to use the
VMware nat (it's always vmnet8). On Linux we still use the
libvirt NAT
2017-04-27 15:26:58 +02:00
Julien Duponchelle
273a711459
Merge branch '2.0' into 2.1 2017-04-26 17:22:14 +02:00
Julien Duponchelle
2da581139c
Lower docker requirements in tests also 2017-04-24 18:49:47 +02:00
Julien Duponchelle
effbe59414
Lock docker API to 1.27
Fix https://github.com/GNS3/gns3-gui/issues/1994
2017-04-24 17:51:55 +02:00
Julien Duponchelle
37e21f2a3d
Skip a test for qemu not supported on windows 2017-04-18 16:35:36 +02:00
Julien Duponchelle
c72ae1bfe7
Fix IOU test run on Windows 2017-04-18 16:21:45 +02:00
Julien Duponchelle
54014ccd39
Fix one more windows test 2017-04-18 16:01:07 +02:00
Julien Duponchelle
b4434b5134
Add tests for checking if path are correctly cleaned 2017-04-18 15:50:11 +02:00
Julien Duponchelle
691c2dfd8e
Drop a test about OVA no longer use 2017-04-18 14:27:44 +02:00
Julien Duponchelle
36de30e25e
Fix various tests for windows 2017-04-18 14:23:29 +02:00
Julien Duponchelle
51ef5d8c90
Fix a broken test on windows machines 2017-04-18 14:04:50 +02:00
Julien Duponchelle
d2d5f003f8
Fix a merge error 2017-04-14 09:09:43 +02:00
Julien Duponchelle
540ffdf5f3
Merge remote-tracking branch 'origin/master' into 2.0 2017-04-14 08:55:37 +02:00
Julien Duponchelle
85136bc2e4
Fix VPCS tests for recent version 2017-04-13 15:56:12 +02:00
Julien Duponchelle
57ba7ab801
Fix crash in some tests 2017-04-13 14:24:26 +02:00
Julien Duponchelle
9dc6f0f486 Embed the appliances in the server. (#927)
This add a /appliances call
2017-04-12 14:35:49 +02:00
Julien Duponchelle
18835974fb
Fix required field in schema not use
Fix #972
2017-04-11 10:57:01 +02:00
Julien Duponchelle
4f1b738ef5
Merge branch '2.0' into 2.1 2017-03-30 10:16:16 +02:00
Julien Duponchelle
132bc87081
Dissallow parallel pull of docker images
Fix #962
2017-03-27 20:46:25 +02:00
Julien Duponchelle
cc6f4c0510
Add a modification uuid to settings returned by the server
Ref #1949
2017-03-21 13:35:02 +01:00
Julien Duponchelle
34f5a6f82c
Fix Session is closed when listing docker images
Fix #955
2017-03-20 23:50:31 +01:00
Julien Duponchelle
78c154e376
Cleanup docker source code 2017-03-20 20:30:59 +01:00
Julien Duponchelle
a571b1a2f8
Use aiohttp session for docker queries 2017-03-20 19:46:50 +01:00
Julien Duponchelle
a62b791c68
Fix TypeError: http_query() got an unexpected keyword argument 'timeout'
Fix #947
2017-03-20 17:06:00 +01:00
Julien Duponchelle
08bafc2dcc
Catch a timeout error in docker
Fix #936
2017-03-16 10:39:08 +01:00
Julien Duponchelle
99ee40df3d
Do not return broken appliances like ASA 8 2017-03-09 15:44:48 +01:00
Julien Duponchelle
5036079deb
Merge branch '2.0' into 2.1 2017-03-07 16:48:31 +01:00
Julien Duponchelle
7b642552dd
Fix GNS3VM settings are lost at startup
Fix #926
2017-03-07 15:36:35 +01:00
Julien Duponchelle
6017ebbd97
Merge branch '2.0' into 2.1 2017-03-07 11:16:05 +01:00
Julien Duponchelle
54131bc9bb
Update the documentation 2017-03-06 14:35:39 +01:00
Julien Duponchelle
8b7035b185
Enable show in file manager for cloud
Fix https://github.com/GNS3/gns3-gui/issues/1900
2017-03-06 14:25:53 +01:00
Julien Duponchelle
5e7f97b175
Fix when qemu exit by itself clean other processes
Fix https://github.com/GNS3/gns3-gui/issues/1898
2017-03-03 18:40:26 +01:00
Julien Duponchelle
5a399b90fe
Merge branch '2.1' into embed_appliances 2017-02-28 14:55:33 +01:00
Julien Duponchelle
1ab9ca2333
Merge branch '2.0' into 2.1 2017-02-28 14:25:38 +01:00
Julien Duponchelle
41d7570b24
Load local server before anything else 2017-02-28 12:08:47 +01:00
Julien Duponchelle
70e2b87ff0
Patch hostname in configuration file even if name is unsync
Ref https://github.com/GNS3/gns3-gui/issues/1889
2017-02-27 12:48:05 +01:00
Julien Duponchelle
53dd1bd6e1
Ensure we dump a .gns3 before exporting it
Fix #915
2017-02-27 11:10:08 +01:00
Julien Duponchelle
961c209ab1
Fix an issue when getting size from some SVG file
Fix https://github.com/GNS3/gns3-gui/issues/1866
2017-02-20 17:25:26 +01:00
Julien Duponchelle
7407ab88b3
Fix a failing test on Python 3.6 2017-02-20 10:56:48 +01:00
Julien Duponchelle
7fea6f0e2e
Fix conversion issue for old IOU projects
Fix https://github.com/GNS3/gns3-gui/issues/1868
2017-02-20 10:48:03 +01:00
Jeremy Grossmann
5672b4b748 Merge pull request #890 from GNS3/base_config_server_side
Manage base configuration on server
2017-02-19 22:59:06 -08:00
Jeremy Grossmann
aee7208f7b Merge pull request #895 from GNS3/qemu_more_adapters
Allow up to 275 adapters for qemu
2017-02-17 01:40:41 -08:00
Julien Duponchelle
99f817392d
Raise an error if you use Qemu < 2.4 and try to use large number of adapters 2017-02-17 09:55:50 +01:00
Julien Duponchelle
e04eb44a15
Disallow export of project with VirtualBox linked clone
Fix https://github.com/GNS3/gns3-gui/issues/1824
2017-02-14 16:41:31 +01:00
Julien Duponchelle
a191029c4f
Fix linked_clone property lost during topology convert 2017-02-14 14:45:48 +01:00
Julien Duponchelle
2a840da462
Create an ApplianceTemplate class 2017-02-08 15:40:56 +01:00
Julien Duponchelle
8d86d959de
"/appliances" => "/appliances/templates" 2017-02-08 14:51:00 +01:00
Julien Duponchelle
b0567772f7
Allow up to 275 adapters for qemu
See #889 for more details
2017-02-07 17:04:29 +01:00
Julien Duponchelle
e892e5dfab
Manage base configuration on server
Fix #786
2017-02-03 13:19:14 +01:00
Julien Duponchelle
dc6756d5ae
Embed the appliances in the server.
This add a /appliances call
2017-02-01 11:30:14 +01:00
Julien Duponchelle
f0ff035c0b
Prevent corruption of VM in VirtualBox when using linked clone
Fix https://github.com/GNS3/gns3-gui/issues/1821
2017-01-31 18:58:43 +01:00
Julien Duponchelle
580693b1ec
Prevent renaming of a running VirtualBox linked VM
Fix https://github.com/GNS3/gns3-gui/issues/1816
2017-01-30 15:19:46 +01:00
Julien Duponchelle
b9bd6aa501
Do not try to start the GNS3 VM if the name is none
Fix #881
2017-01-27 10:41:39 +01:00
Julien Duponchelle
dc40b0296e
Correct link are not connected to the correct ethernet switch port after conversion
Fix https://github.com/GNS3/gns3-gui/issues/1797
2017-01-23 13:34:11 +01:00
Julien Duponchelle
d74769c824
Fix duplicate node names
Fix https://github.com/GNS3/gns3-gui/issues/1796
2017-01-18 18:28:50 +01:00
Julien Duponchelle
e5dba5e66a
Fix bug with other directory of Qemu images
Fix https://github.com/GNS3/gns3-gui/issues/1790
2017-01-18 12:39:10 +01:00
Julien Duponchelle
28cbae546d
Fix tests broken by recent pytest upgrades 2017-01-17 18:56:06 +01:00
Julien Duponchelle
6938e400d1
Fix VPCS test suite 2017-01-17 16:02:56 +01:00
Julien Duponchelle
e06be6729a
Fix streaming test 2017-01-17 09:05:05 +01:00
Julien Duponchelle
2de284ea30
Fix some tests on travis 2017-01-16 10:13:13 +01:00
Jeremy Grossmann
ec0181a5ad Merge pull request #856 from GNS3/dynamips_directory_layout
Change directory layout for dynamips.
2017-01-12 20:30:10 -08:00
Julien Duponchelle
b1ae884bf0
Drop NAT port from cloud from old topologies
It was almost not used (only one occurrence in the whole
beta test).

Fix #844
2017-01-11 19:20:12 +01:00
Julien Duponchelle
1bf54bcaeb
Fix Port labels for docker VMs incorrect 2017-01-11 18:38:28 +01:00
Julien Duponchelle
82c99418b4
Fix If cloud interface is down the project doesn't open
Fix https://github.com/GNS3/gns3-gui/issues/1751
2017-01-11 17:23:36 +01:00
Julien Duponchelle
afd46ec010
Fix random error in the dynamips test suite after previous commit 2017-01-10 12:41:14 +01:00
Julien Duponchelle
6150929a5b
Support conversion to dynamips new directory layout on remote
Ref https://github.com/GNS3/gns3-gui/issues/1761
2017-01-10 12:15:31 +01:00
Julien Duponchelle
58287b3638
Fix wrong short label for ethernet switch, hub & VPCS
Fix https://github.com/GNS3/gns3-gui/issues/1764
2017-01-09 16:48:42 +01:00
Julien Duponchelle
a2fdc92fcb
Change directory layout for dynamips.
This create a directory by node to allow feature like save as
to work when running on multiple compute. Benefits now dynamips work
like other nodes. Old topologies are migrated.

Ref https://github.com/GNS3/gns3-gui/issues/1761
2017-01-06 17:43:47 +01:00
Julien Duponchelle
955a466be5
Ensure we can't connect to occupy port
Ref https://github.com/GNS3/gns3-gui/issues/1759
2017-01-06 10:29:56 +01:00
Julien Duponchelle
d4be588973
Cleanup tests around port name 2017-01-05 17:49:36 +01:00
Julien Duponchelle
c06d2e3118
Fix short label diplay instead of custom interface labels
Fix https://github.com/GNS3/gns3-gui/issues/1742, https://github.com/GNS3/gns3-gui/issues/1752
2017-01-05 16:55:31 +01:00
Julien Duponchelle
2011aca43a
Fix an issue with Docker and IOU packet capture
Fix https://github.com/GNS3/gns3-gui/issues/1727
2016-12-19 12:26:34 +01:00
Julien Duponchelle
7ba7c89594
Support UDP cloud from 1.5
Fix #822
2016-12-19 09:46:34 +01:00
Julien Duponchelle
3259ec1220
Close project if one one the compute of the project is down
Fix #836
2016-12-15 21:57:59 +01:00
Julien Duponchelle
74a7e630d3
Fix export of projects with docker with a / in the image name
Fix #834
2016-12-14 18:57:59 +01:00
Julien Duponchelle
46b6e7c5ee
Fix hot link issues in Docker
Fix #817
2016-12-14 16:53:20 +01:00
Julien Duponchelle
d0f65aebff
Fix Can't delete link between docker VM after they were in use
Fix #818
2016-12-14 12:01:34 +01:00
Julien Duponchelle
81a9b63dbc
Trust user for host binding of link adress 2016-12-13 17:34:41 +01:00
Bernhard Ehlers
a3495304ad
Code cleanup for docker interface creation
Fix #819

Signed-off-by: Julien Duponchelle <julien@gns3.net>
2016-12-13 16:07:59 +01:00
Julien Duponchelle
846041a59c
Fix configuration lost during save as on remote server
Fix https://github.com/GNS3/gns3-gui/issues/1704, https://github.com/GNS3/gns3-gui/issues/1705
2016-12-08 16:55:16 +01:00
Julien Duponchelle
5ba5c62670
Add support for bios images
Ref https://github.com/GNS3/gns3-gui/issues/1700
2016-12-08 16:18:30 +01:00
Julien Duponchelle
49315adf79
Do not recurse scan for images in standard image directory
Fix https://github.com/GNS3/gns3-gui/issues/1680
2016-11-28 19:49:50 +01:00
Julien Duponchelle
794dac31f5
UDP tunnel debuging
Fix #1562
2016-11-25 15:11:31 +01:00
Julien Duponchelle
875051d05e
Prevent capture on non running node
Fix https://github.com/GNS3/gns3-gui/issues/1656
2016-11-22 16:05:57 +01:00
Julien Duponchelle
a853e87fa5
IOURC is a text box instead of a file path
Fix https://github.com/GNS3/gns3-gui/issues/1662
2016-11-21 18:16:50 +01:00
Julien Duponchelle
8ad5670eeb
For security reason debug informations can only be exported from local server
Ref #1562
2016-11-18 16:38:27 +01:00
Julien Duponchelle
434f6a70dd
Fix tests on Python 3.5 >= 2016-11-18 12:08:29 +01:00
Julien Duponchelle
a14ad2fc99
Fix tests 2016-11-17 14:08:00 +01:00
Julien Duponchelle
57e2fd9943
If we can found a common subnet we return the host binding for link
creation

Fix #773
2016-11-10 22:39:16 +01:00
Julien Duponchelle
ca6f014207
Do not connect GNS3 to remote server via 169.254.X.X 2016-11-10 14:46:25 +01:00
Julien Duponchelle
bddf9ec2ac
Qemu telnet support multiple client connected
Fix #770
2016-11-09 09:47:48 +01:00
Julien Duponchelle
db8296f548
Support multiple client connected to the same VPCS console
Ref #770
2016-11-08 19:44:12 +01:00
Julien Duponchelle
3754a49cc0
Drop IOUCON
Fix #747
2016-11-08 10:21:20 +01:00
Julien Duponchelle
15d190d911
Increase timeout for link creation 2016-11-08 09:54:59 +01:00
Julien Duponchelle
3c5cbebfb4
Fix timeout issues when starting VMware or VBox
Fix https://github.com/GNS3/gns3-gui/issues/1632
2016-11-07 17:34:51 +01:00
Julien Duponchelle
4fe2b746d0
Fix IOU tests 2016-11-06 21:22:48 +01:00
Julien Duponchelle
7255754fef
Bridge support in cloud is more robust
Fix #761
2016-11-04 17:40:44 +01:00
Julien Duponchelle
cf723962af
Support bridge in cloud
Nat take advantage of that and the code is more simple.

Fix #761
2016-11-04 17:32:16 +01:00
Julien Duponchelle
1b3e47ce83
Add a test of cloud raw ethernet interface
Before touching it for the bridge support a test to prevent regressions.

Ref #761
2016-11-04 16:52:29 +01:00
Julien Duponchelle
74695efe90
Fix tests checking the local flag 2016-11-04 15:42:29 +01:00
Julien Duponchelle
4e15f89604
Drop console_type serial, and enable_remote_console for Vbox and VMware
Ref #748
2016-11-03 18:17:50 +01:00
Julien Duponchelle
382d8887d5
Fix a test failure when test run and gns3server is running 2016-11-03 14:27:03 +01:00
Julien Duponchelle
1e73962e33
Do not dump iourc_content to .gns3 file
Fix #759
2016-11-03 13:35:44 +01:00
Julien Duponchelle
7c1a079ee8
Add a test for unicode characters in /images
Ref #756
2016-11-02 10:08:49 +01:00
Julien Duponchelle
6be5b6ffad
Fix uuid of VirtualBox VM after a save as
Fix #1185
2016-10-28 16:00:26 +02:00
Julien Duponchelle
4a5066c2a5
Fix Error while creating link: Port 0 is not allocated. when you have an invalid interface
Fix #744
2016-10-27 19:09:27 +02:00
Julien Duponchelle
ea1c525181
Fix computes tests 2016-10-27 16:54:05 +02:00
Julien Duponchelle
eabe4eb97e
Improve remote server console host support when binding to 0.0.0.0
Fix https://github.com/GNS3/gns3-gui/issues/1574
2016-10-26 14:43:47 +02:00
Julien Duponchelle
afb7eca27a
Fix port naming for atm switch
Fix #735
2016-10-26 12:03:54 +02:00
Julien Duponchelle
cf3ed5a329
Fix port naming for FrameRelay switch
Fix #735
2016-10-26 11:59:16 +02:00
Julien Duponchelle
1f44e08cdd
Fix naming of IOU serial interfaces
Fix #737
2016-10-25 15:26:36 +02:00
Julien Duponchelle
9799dabb98
Improve timeout management
Fix #741
2016-10-25 14:41:33 +02:00
Julien Duponchelle
f8cba8cd50
Fix crash in tests 2016-10-25 12:13:42 +02:00
Julien Duponchelle
4fe293f1d5
Fix tests crash on travis 2016-10-25 12:00:17 +02:00
Julien Duponchelle
4815904737
/debug for exporting debug informations
Ref #740, https://github.com/GNS3/gns3-gui/issues/1562
2016-10-25 11:40:57 +02:00
Julien Duponchelle
ae1e027031
Raise error if using a non linked clone VM twice
Fix https://github.com/GNS3/gns3-gui/issues/1593
2016-10-24 21:39:35 +02:00
Julien Duponchelle
ac1eef256f
Use tap adapter instead of veth for docker (allow usage of vlan)
Ref #716
2016-10-24 12:35:50 +02:00
Julien Duponchelle
00fc2fa007
Avoid crash during tests if VNC server run on host PC 2016-10-24 12:21:57 +02:00