grossmj
85ea1cf7a9
Remove import zipstream from tests.
2019-02-28 17:50:09 +07:00
grossmj
8cc8269842
Use aiozipstream for snapshots.
...
Fix tests.
2019-02-28 17:25:05 +07:00
grossmj
135d56371d
Fix tests for project notifications.
2019-02-23 23:20:11 +07:00
grossmj
10702f87bc
Fix export test.
2019-02-23 11:13:50 +07:00
grossmj
4487e578bc
Fix create a node from a template test.
2019-02-22 18:44:12 +07:00
grossmj
5754747a90
Merging 2.1 into 2.2
2019-02-22 18:04:49 +07:00
grossmj
657698a961
Fix create a node from an appliance test.
2019-02-20 11:21:29 +07:00
grossmj
174624121d
Fix Qemu VM tests. Ref #1516
2019-02-17 19:53:46 +08:00
grossmj
8360ae98b1
Move appliance and template management code in their own classes.
2019-01-14 16:09:06 +07:00
grossmj
c736051dda
Fix tests.
2018-12-30 21:50:47 +07:00
grossmj
58b2ee152d
Fix Docker console test.
2018-11-30 18:59:02 +08:00
grossmj
56412b35e0
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/docker/docker_vm.py
# gns3server/utils/asyncio/telnet_server.py
2018-11-30 12:38:02 +08:00
grossmj
d7c2e16c21
Use "template" to name what we use to create new nodes.
2018-11-28 16:12:58 +07:00
Jeremy Grossmann
b4a2bc5b47
Merge pull request #1467 from GNS3/symbol-themes
...
Support symbol themes. Ref #1466
2018-11-27 17:19:52 +07:00
Karim
8eb20525e8
Update schema to allow for drawing grid size to be part of project.
2018-11-26 15:31:28 +00:00
grossmj
17d070dca7
Early support for symbol themes.
2018-11-23 17:27:10 +07:00
grossmj
4e2b8bfe7c
Add more information about appliances to the API documentation.
2018-11-20 16:21:33 +07:00
grossmj
bc5eda8259
Restore previously removed test.
2018-11-20 14:36:18 +07:00
grossmj
3fae6ada95
Only require privileged access for uBridge when connecting a cloud to an Ethernet/TAP interface. Fixes #1461 .
2018-11-19 17:33:17 +07:00
grossmj
3727487730
Fix test on Windows.
2018-11-19 16:09:39 +07:00
grossmj
3497deaa31
Allow virtual machines to use files in project directory as disk images.
2018-11-19 15:53:43 +07:00
grossmj
bd657c0167
Support to duplicate an appliance.
2018-11-18 17:05:16 +07:00
grossmj
a33b8eac3a
Support "L1 keepalives" in IOU appliance schema.
2018-11-18 16:04:08 +07:00
grossmj
c7b8c347d7
Remove problematic test when run on Travis.
2018-11-18 00:08:40 +07:00
grossmj
53f3821d41
Change test that randomly fails on Travis.
2018-11-17 23:23:28 +07:00
grossmj
74e1463015
Fix bug with custom adapters and categories for Docker VM. Fixes https://github.com/GNS3/gns3-gui/issues/2613
2018-11-17 21:50:00 +07:00
grossmj
aa4593c993
Handle custom adapters in schemas.
2018-11-17 20:09:34 +07:00
grossmj
499ab9844a
Reorganize how appliance creation is validated against JSON schemas.
...
This allows for clearer error messages when validation fails.
2018-11-17 18:12:46 +07:00
grossmj
71fcf855b4
Add tests for all appliance types.
2018-11-17 15:37:20 +07:00
grossmj
1184f29b90
Add appliance API tests. Ref #1427 .
2018-11-15 21:34:36 +07:00
grossmj
98f04365b7
Remove generic controller settings API endpoint.
2018-11-14 16:24:30 +08:00
grossmj
cebb56387a
Fix tests.
2018-11-13 15:40:18 +08:00
grossmj
e7b8309a80
Fix Docker VNC tests. Ref #1438
2018-11-11 23:25:23 +08:00
grossmj
d45d52f15c
Support Xtigervnc restart.
2018-11-11 23:23:30 +08:00
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.
2018-10-27 14:47:17 +07:00
grossmj
df36d8377d
Fix more tests.
2018-10-17 17:40:25 +07:00
grossmj
ab8dc52ece
Fix tests to work with new version of aiohttp (>= 3.0)
2018-10-17 17:32:10 +07:00
grossmj
76af98404a
Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
2018-10-15 17:05:49 +07:00
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
2018-08-29 15:57:54 +07:00
grossmj
f5dc635baa
Fix test to support Python 3.7 Ref https://github.com/GNS3/gns3-gui/issues/2566
2018-08-25 15:50:08 +07:00
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
2018-08-25 14:10:47 +07:00
grossmj
a3d1e865a8
Replace asyncio.async() by asyncio.ensure_future() in tests. Ref #2566 .
2018-08-24 18:52:15 +07:00
grossmj
089d25c79d
Forbid controller and compute servers to be different versions.
...
Report last compute server error to clients and display in the server summary.
2018-08-22 16:54:43 +07:00
grossmj
651d8280a7
Fix appliance template tests.
2018-08-19 19:35:45 +07:00
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.)
2018-08-16 21:31:57 +07:00
grossmj
dac3ba19b7
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/controller/ports/port_factory.py
2018-08-13 22:06:44 +07:00
grossmj
23e83b730b
Fix some more problems with interface short names. Fixes https://github.com/GNS3/gns3-gui/issues/2562
2018-08-13 15:45:24 +07:00
grossmj
652d5788c3
Fix tests.
2018-08-09 18:14:38 +07:00
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