Commit Graph

97 Commits

Author SHA1 Message Date
Julien Duponchelle
dee9d423a3
Support for x,y,z,symbols,label in node object on controller
https://github.com/GNS3/gns3-gui/issues/1297
2016-06-09 16:47:58 +02: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
grossmj
65bfb4b907 Remove debug print. 2016-06-02 21:32:46 -06: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
df654b40ff
Add a test 2016-05-26 13:43:35 +02: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
a797038aeb
Drop code for temporary projects
Fix https://github.com/GNS3/gns3-gui/issues/982
2016-05-24 17:57:04 +02:00
Julien Duponchelle
df73f80bf5
Auto create the local compute node 2016-05-24 15:45:06 +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
grossmj
57fd72c35c Ethernet hub and Ethernet switch almost fully migrated to the new API. 2016-05-19 22:45:04 -06:00
Julien Duponchelle
672a617102
Compute IDLE PC via controller
Fix #1234
2016-05-19 16:22:15 +02:00
Julien Duponchelle
b00a09efaa
Test link.updated event 2016-05-18 21:28:37 +02:00
Julien Duponchelle
54747ee618
Support for link event, fix link not correctly deleted 2016-05-18 18:37:18 +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
Julien Duponchelle
d86cefaaeb
Support node without console
Fix #532
2016-05-18 11:59:25 +02:00
grossmj
7ebbdcd47c Functional Ethernet hub with new API. Uses Dynamips backend by default for now. 2016-05-17 21:22:18 -06:00
Julien Duponchelle
ce0d715895
Fix Deleted node are still return by the API
Fix #529
2016-05-17 13:11:43 +02:00
Julien Duponchelle
da81b49fdc
Delete the project on all node where the project is created 2016-05-16 21:59:40 +02:00
Julien Duponchelle
a496aaab9e
Send node.updated event and tests are green
Fix #524
2016-05-16 21:12:32 +02:00
Julien Duponchelle
1eb77a0b3f
Fix docker support on 2.0
Fix #528
2016-05-16 18:32:29 +02:00
Julien Duponchelle
a9b95eb242
If the compute node is remote do not send project path 2016-05-16 18:17:24 +02:00
grossmj
c88c67e8ef Updates Ethernet hub schema. 2016-05-15 21:01:33 -06:00
grossmj
7a523990a6 Base for generic switch nodes. Ref #492. 2016-05-15 11:23:14 -06:00
grossmj
6cea6c9162 Some more (spring) cleaning. 2016-05-13 18:48:10 -06:00
grossmj
f81d35cc29 Handlers: cleanup and fixes. 2016-05-13 18:00:07 -06:00
grossmj
be1efe8327 Schemas review. 2016-05-12 19:07:25 -06:00
Julien Duponchelle
2857d9a070
Send a field status in the node object 2016-05-12 19:15:46 +02:00
Julien Duponchelle
5280644327
Return command_line and node_directory via the controller 2016-05-12 10:39:50 +02:00
grossmj
ef7b4ef020 Fixes tests and some PEP8. 2016-05-11 15:19:00 -06:00
grossmj
483431438a Merge remote-tracking branch 'origin/2.0' into 2.0
Conflicts:
	gns3server/controller/project.py
	tests/compute/test_project.py
	tests/controller/test_project.py
2016-05-11 11:41:45 -06:00
grossmj
5a76f81271 Refactoring to use a common node class for all VMs and other (future) objects. 2016-05-11 11:35:36 -06:00
Julien Duponchelle
9ccb55206d
Cleanup code for getting the default project directory 2016-05-11 18:42:55 +02:00