1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-25 09:48:09 +00:00
Commit Graph

135 Commits

Author SHA1 Message Date
grossmj
4021a13651 Catch exceptions in various locations to fix small issues reported by Sentry. 2018-09-06 09:49:12 +02: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
89f7169589 Add appliance UUID added to the node data. Fixes #1334. 2018-08-09 17:45:33 +07:00
grossmj
cc52a6a6b5 Change default z value for nodes to 1 2018-08-08 14:33:10 +07: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
40151cd1fe Fix switching console type from telnet to VNC throws error. Fixes #2489. 2018-06-09 21:47:36 +07:00
grossmj
62f87de23a Add API endpoint to return all links attached to a node. 2018-06-06 20:46:44 +07:00
grossmj
fd5df0052a Fix issue with some SVG symbols that could not be used in GNS3.
This was due to the height and width values being percentages.
2018-06-06 16:32:51 +07:00
grossmj
395277d5c5 Support for console auto start. 2018-04-04 21:31:35 +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
669d2ec038 Merge branch '2.1' into 2.2
# Conflicts:
#	gns3server/schemas/node.py
2018-03-30 12:14:09 +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
e52775fa3a Support for console type "none". 2018-03-24 18:11:21 +07:00
grossmj
90ce6093d8 Some spring cleaning. 2018-03-15 14:17:39 +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
grossmj
519df3ab35 Let a project be opened when a port cannot be found (can happens if a project is corrupted). 2018-02-02 22:05:51 +08:00
grossmj
88989cc274 Default symbol must be computer.svg 2018-01-12 21:46:48 +07:00
grossmj
ab6fe6da1d Compatibility for old node templates (those with default_symbol and hover_symbol properties). 2018-01-12 17:34:37 +07:00
ziajka
f48420af58 Increase timeout for creation of image, Ref. #2239 2017-12-21 08:46:20 +01:00
Julien Duponchelle
7683a79bb1
Fix OSError when uploading images
Fix #1101
2017-07-27 11:42:10 +02:00
Julien Duponchelle
103be13ba4
Fix an error when a symbol is not available on filesystem
Fix #1102
2017-07-27 11:39:25 +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
ziajka
931018b877 Fix passing tests 2017-06-27 11:11:07 +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
2a159c06c5
Fix forwarding properties
Fix #2005, #2002
2017-05-16 10:22:55 +02:00
Julien Duponchelle
4f1b738ef5
Merge branch '2.0' into 2.1 2017-03-30 10:16:16 +02:00
Julien Duponchelle
55563b9808
Escape special characters from SVG text
Ref https://github.com/GNS3/gns3-server/issues/952
2017-03-20 19:14:07 +01:00
Julien Duponchelle
e892e5dfab
Manage base configuration on server
Fix #786
2017-02-03 13:19:14 +01:00
Julien Duponchelle
1bf54bcaeb
Fix Port labels for docker VMs incorrect 2017-01-11 18:38:28 +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
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
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
477091207d
Better handle compute unavailable errors
Fix #775
2016-11-11 10:38: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
5dee4eb052
Raise clean error when node timeout when stopped 2016-11-04 11:40:55 +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
3df3aa84ff
Try to disable enable remote console for VMware to see if it's the source of timeout errors
Ref https://github.com/GNS3/gns3-gui/issues/1632
2016-11-03 10:40:00 +01: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
43236746f9
Support symbol None (from old versions)
Fix #732
2016-10-20 09:44:24 +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
4aa7a0a9df
Increase creation timeout for docker container 2016-10-03 22:31:34 +02:00
Julien Duponchelle
68725778e8
Return all ports for hub & switch 2016-09-29 14:40:56 +02:00
Julien Duponchelle
8f6d24ae5e
Prevent a dead lock when closing server 2016-09-29 14:40:39 +02:00
Julien Duponchelle
dc798dafd0
Cloud support multiple interfaces 2016-09-23 10:56:37 +02:00
Julien Duponchelle
286112ced4
Fix port name in the cloud
Fix #1534
2016-09-22 17:11:40 +02:00
Julien Duponchelle
37f972dea1
Fix an issue with old symbols paths 2016-09-15 18:21:39 +02:00
Julien Duponchelle
da5e3d0e54
Dissallow serial to ethernet connection
Fix #678
2016-09-15 14:51:40 +02:00
Julien Duponchelle
2f0e2260ab
Move the generation of the list of ports to the server
Ref #676
2016-09-14 15:21:37 +02:00
Julien Duponchelle
947dcf1406
Prevent another deadlock at exit 2016-09-02 10:56:20 +02:00
Julien Duponchelle
238421c415
Drop another dead lock at exit 2016-08-31 11:01:42 +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
8352ff02a1
When you change settings of the GNS3 VM the VM is reloaded and project using it closed
Fix #644
2016-08-26 14:09:18 +02:00
Julien Duponchelle
5de27a95f9
Center label when hostname change
Fix #1404
2016-08-17 17:12:23 +02:00
Julien Duponchelle
f82527e253
Compute node size on server
Fix #620
2016-08-17 11:58:19 +02:00
Julien Duponchelle
c12413e0ce
Fix duplicate name for VM 2016-07-18 19:30:38 +02:00
Julien Duponchelle
bda1812811
Avoid duplicate node name when reloading a project 2016-07-18 19:09:08 +02:00
Julien Duponchelle
7c7662f1b6
Correctly forward the 409 from compute to client 2016-07-12 18:16:50 +02:00
Julien Duponchelle
91ec61b88d
Check topology schema when loading/saving it
Fix #583
2016-07-11 15:36:52 +02:00
Julien Duponchelle
7a4c01e737
When you delete a node all link connected are destroyed
Ref #608
2016-07-05 16:07:05 +02:00
Julien Duponchelle
71d4c0a13a
Store rotation for labels 2016-07-01 15:30:38 +02:00
Julien Duponchelle
818174824b
Breaking change for 2.X topologies! Store width and height for nodes & a
style properties
2016-07-01 14:38:42 +02:00
Julien Duponchelle
fe7bcae6a1
Send node.updated notif only if object changed 2016-06-30 18:29:17 +02:00
Julien Duponchelle
6d36429870
Reload a topology work 2016-06-15 16:26:16 +02:00
Julien Duponchelle
d815d25bdf
Write .gns3 on server
Ref https://github.com/GNS3/gns3-gui/issues/1243
2016-06-14 12:04:23 +02:00
Julien Duponchelle
70431a5fa6
Send update of properties from controller only for controller stuffs
Fix #566
2016-06-13 18:46:30 +02:00
grossmj
2bde02d459 Controller side unique node name allocation. Ref #541. 2016-06-11 17:31:30 -06:00
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
08e482004f
Auto upload missing images 2016-06-07 19:38:01 +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
fa0af7f4a2
Correctly process node.updated event on controller 2016-05-18 16:12:57 +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
1eb77a0b3f
Fix docker support on 2.0
Fix #528
2016-05-16 18:32:29 +02:00
grossmj
7a523990a6 Base for generic switch nodes. Ref #492. 2016-05-15 11:23:14 -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
5a76f81271 Refactoring to use a common node class for all VMs and other (future) objects. 2016-05-11 11:35:36 -06:00