Commit Graph

181 Commits

Author SHA1 Message Date
Julien Duponchelle
1beae95443
Multiple improvements around starting the GNS3 VM
* avoid concurrent start
* proper catching of the TimeOut error

Ref #754
2016-11-21 09:59:25 +01:00
Julien Duponchelle
94ceb2dda0
No connection limit / No keep alive for connection to compute
Fix #779
2016-11-16 15:04:10 +01:00
Julien Duponchelle
0250547479
If server answer not found explain this could be due to the usage of 1.X server 2016-11-15 18:36:04 +01:00
Julien Duponchelle
3bc4e951b8
Fix a None error when creating link 2016-11-11 16:08:52 +01:00
Julien Duponchelle
477091207d
Better handle compute unavailable errors
Fix #775
2016-11-11 10:38:59 +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
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
0d022a4d33
Forward server disconnected errors
Fix #758
2016-11-02 11:06:45 +01:00
Julien Duponchelle
ea1c525181
Fix computes tests 2016-10-27 16:54:05 +02:00
Julien Duponchelle
ae1a9d9a5f
No timeout for listing images
Fix #1617
2016-10-27 15:34:17 +02:00
Julien Duponchelle
eff23eefe9
Handle 408 HTTP status code (request timeout)
Fix #743
2016-10-27 15:32:07 +02:00
Julien Duponchelle
620de3ff25
Move code for exposing VM ip to the VM itself. And display VM starting status
Fix #1621
2016-10-26 18:32:01 +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
048d2c12d0
Catch permission errors when listing images
Fix #1608
2016-10-26 10:53:14 +02:00
Julien Duponchelle
9799dabb98
Improve timeout management
Fix #741
2016-10-25 14:41:33 +02:00
Julien Duponchelle
106915f419
Return md5sum and filesize in the list of images
Ref https://github.com/GNS3/gns3-gui/issues/1590
2016-10-20 17:24:05 +02:00
Julien Duponchelle
a8ffaa9cb5
If listen on all interface do not return localhost as console
Fix https://github.com/GNS3/gns3-gui/issues/1574
2016-10-17 18:20:29 +02:00
Julien Duponchelle
b9b0feed62
Fix IPV6 server support
Fix #717
2016-10-17 14:10:25 +02:00
Julien Duponchelle
04aec4619f
Fix uploads of large images
Fix https://github.com/GNS3/gns3-gui/issues/1552
2016-10-04 10:56:38 +02:00
Julien Duponchelle
5fd04e1f9e
Fix a warning when export 2016-09-19 16:51:15 +02:00
Julien Duponchelle
4b891070d2
Ignore interface without netmask in udp tunnel 2016-09-05 18:02:49 +02:00
Julien Duponchelle
75d5f6507d
Catch more websocket errors 2016-09-05 17:01:39 +02:00
Julien Duponchelle
6e7f6a94ec
Suspend for VPCS == stop
Fix #1465
2016-09-05 16:55:38 +02:00
Julien Duponchelle
0afd7b78b7
Avoid tasks lost during tests creating noisy warnings 2016-09-02 14:09:01 +02:00
Julien Duponchelle
4bbd8938ab
Manage error when GNS3VM failed to start
Fix https://github.com/GNS3/gns3-gui/issues/1446
2016-09-01 15:36:41 +02:00
Julien Duponchelle
662c8788c2
Fix auth for websocket between controller and computes
Fix #660
2016-08-31 15:19:53 +02:00
Julien Duponchelle
ff61f79a88
Catch 401 error when connecting to a compute websocket 2016-08-31 09:59:50 +02:00
Julien Duponchelle
e0c5fdcf1c
Avoid too much ressources usage during tests 2016-08-30 09:58:37 +02:00
Julien Duponchelle
919355abd8
Catch more error to avoid dead lock at project close 2016-08-29 18:59:13 +02:00
Julien Duponchelle
edae834e0e
Monitor status of the compute 2016-08-29 17:36:24 +02:00
Julien Duponchelle
bbc1505274
Return what is supported by a compute node
Ref https://github.com/GNS3/gns3-gui/issues/1448
2016-08-29 15:53:10 +02:00
Julien Duponchelle
134fed8fc5
Smart choice of host for UDP link 2016-08-25 19:14:29 +02:00
Julien Duponchelle
bfabf3ddc8
Fix tests about local compute node 2016-08-23 22:40:26 +02:00
Julien Duponchelle
897455d5e9 Return computer name instead of local. It's more logic when using remote controller 2016-08-22 18:49:25 +02:00
Julien Duponchelle
fa76b89731
Fix websocket error when closing the server
Fix #634
2016-08-19 11:20:56 +02:00
Julien Duponchelle
f0fad5289c
Correclty cleanup packet capture objects when closing server
Fix #592
2016-08-19 11:05:54 +02:00
Julien Duponchelle
7e40eb02e6
API for editing a file on a Node 2016-07-27 18:46:10 +02:00
Julien Duponchelle
9bdc0b78eb
Now import project on VM work 2016-07-22 18:02:11 +02:00
Julien Duponchelle
fec3694710
Import project on the GNS3VM should work 2016-07-22 16:05:22 +02:00
Julien Duponchelle
94a262cd46
When importing a project fix the GNS3 version 2016-07-22 11:52:59 +02:00
Julien Duponchelle
9b499dc51e
Export project with the GNS3VM 2016-07-21 20:17:36 +02:00
Julien Duponchelle
0f85fbd5f2
Avoid leaving unfinished task behind us 2016-07-21 15:10:11 +02:00
Julien Duponchelle
7c4c03cf17
If the connection between the controller and compute is closed reopen it 2016-07-20 12:43:23 +02:00
Julien Duponchelle
9bf4c22a50
Fix HTTP errors not forwarded from compute to client
Fix #615
2016-07-11 09:33:55 +02:00
Julien Duponchelle
543b423e03
Send compute usage via in the compute.updated notification
Ref https://github.com/GNS3/gns3-gui/issues/1261
2016-06-30 09:55:59 +02:00
Julien Duponchelle
aa5988788d
Strip user from compute in topology and return project filename 2016-06-15 18:22:11 +02:00
Julien Duponchelle
6d36429870
Reload a topology work 2016-06-15 16:26:16 +02:00
grossmj
2bde02d459 Controller side unique node name allocation. Ref #541. 2016-06-11 17:31:30 -06:00
Julien Duponchelle
70345abc2a
Try cleaner close of the compute node
Ref #547
2016-06-08 17:18:40 +02:00
Julien Duponchelle
fe98163bd0
Send controller images only for qemu, iou and dynamips 2016-06-08 15:59:54 +02:00
Julien Duponchelle
1b530bde3f
Fix Compute name is lost at save
Fix #562
2016-06-08 14:25:11 +02:00
Julien Duponchelle
add546158f
List images return images on compute and controller
Fix #506
2016-06-08 14:14:03 +02:00
Julien Duponchelle
08e482004f
Auto upload missing images 2016-06-07 19:38:01 +02:00
Julien Duponchelle
972cbd0594
Cleanly forward exception from compute to controller 2016-06-07 16:06:37 +02:00
Julien Duponchelle
dcebaf61b8
Do not timeout forwarded calls 2016-06-07 11:21:47 +02:00
Julien Duponchelle
582e3c72ff
Forward post with large content to compute 2016-06-06 19:51:35 +02:00
Julien Duponchelle
06b54d82dc
Support forwarding POST request to compute nodes 2016-06-06 15:45:32 +02:00
Julien Duponchelle
e05b0a396e
Disallow / in compute_id because it was a stupid idea 2016-06-02 18:38:47 +02:00
Julien Duponchelle
917c1c7f84
Expose /virtualbox/vms /vmwares/vms and /images via controller
Ref #1192, #537
2016-06-02 18:02:48 +02:00
Julien Duponchelle
4afa5994e8
Fix stacktrace when exiting with Ctrl + C
Fix #547
2016-06-02 13:44:52 +02:00
grossmj
f47eb326c7 Revert move "/version" endpoint to "/server/version".
Move "/server/shutdown" endpoint to "/shutdown".
2016-06-01 18:21:07 -06:00
grossmj
cd07a99118 Some cleaning + move "/version" endpoint to "/server/version". 2016-06-01 17:50:31 -06:00
Julien Duponchelle
fbc04e083b
Allow empty password 2016-05-26 13:32:52 +02:00
Julien Duponchelle
84b12fd953
Support null in compute user and password 2016-05-26 10:11:11 +02:00
Julien Duponchelle
314a7cd8fb
Generate an uuid for compute node if None is provided 2016-05-25 14:10:03 +02:00
Julien Duponchelle
6162d7e431
Generated compute name include the username when it's exists 2016-05-25 13:58:29 +02:00
Julien Duponchelle
dbda3fc8fc
Add method to delete and update computes 2016-05-25 11:28:13 +02:00
Julien Duponchelle
0aa81b5fa5
Send event when adding compute node or modify it (for server sumary) 2016-05-23 18:44:20 +02:00
Julien Duponchelle
f6a3899603
Return a compute name it could be different of compute id 2016-05-23 11:27:47 +02:00
Julien Duponchelle
672a617102
Compute IDLE PC via controller
Fix #1234
2016-05-19 16:22:15 +02:00
Julien Duponchelle
fa0af7f4a2
Correctly process node.updated event on controller 2016-05-18 16:12:57 +02:00
Julien Duponchelle
694e1a2e68
Extract the notification part of controller to a dedicated class 2016-05-18 14:56:23 +02:00
grossmj
6cea6c9162 Some more (spring) cleaning. 2016-05-13 18:48:10 -06:00
grossmj
ef7b4ef020 Fixes tests and some PEP8. 2016-05-11 15:19:00 -06:00
Julien Duponchelle
a0344576ba
Show version for debug 2016-05-11 16:31:16 +02:00
Julien Duponchelle
1ce576c020
Stream pcap from compute to controller to client 2016-04-22 16:22:03 +02:00
Julien Duponchelle
ee0f1eb5fb
Forward 503 error 2016-04-20 16:24:30 +02:00
Julien Duponchelle
f5e5cf5059
Save the list of compute node
Fix #494
2016-04-19 15:35:50 +02:00
Julien Duponchelle
d7ed37ce02
Update and delete VM on controller 2016-04-18 17:36:38 +02:00
Julien Duponchelle
58d4a529d4
Rename hypervisor to compute
Fix #487
2016-04-15 17:59:59 +02:00