Commit Graph

199 Commits

Author SHA1 Message Date
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
273a711459
Merge branch '2.0' into 2.1 2017-04-26 17:22:14 +02:00
Julien Duponchelle
2962649dc8
Fix a race condition when handling error at project opening
Fix #983
2017-04-19 09:17:32 +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
bc0e4c1174
Generate a node uuid if the uuid is missing in the .gns3
Fix #950
2017-03-20 16:21:09 +01:00
Julien Duponchelle
0997998064
Ensure to dump project before exporting it
Fix #951
2017-03-20 14:57:20 +01:00
Julien Duponchelle
31ed2a4c96
Fix ComputeError: Can't connect to Main server
Fix #942
2017-03-16 12:05:30 +01:00
Julien Duponchelle
e828c9068a
Fix an issue with some node name format
Fix #922
2017-02-28 18:03:10 +01:00
Julien Duponchelle
8e9c480d8d
Catch some invalid node name formatting
Fix #917
2017-02-27 11:24:06 +01:00
Julien Duponchelle
defcf82610
Fix a rare error when closing a project
Fix #897
2017-02-13 15:18:00 +01:00
Julien Duponchelle
6ded234681
Fix an error with Python 3.4 2017-02-06 17:19:02 +01:00
Julien Duponchelle
bcc71b5455
Fix a crash with Python 3.4
Fix https://github.com/GNS3/gns3-server/issues/876
2017-02-06 16:52:13 +01:00
Julien Duponchelle
9c7d2e9915
Raise an error if you put an invalid key in node name
Fix https://github.com/GNS3/gns3-gui/issues/1833
2017-02-06 15:05:29 +01:00
Julien Duponchelle
0d7157c295
Improve a lot project loading speed
Fix #893
2017-02-06 11:57:56 +01:00
Julien Duponchelle
fbe26d11cf
Fix a potential crash 2017-02-06 11:07:35 +01:00
Julien Duponchelle
959c08449e
Do not crash if you pass {name} in name 2017-02-03 14:56:55 +01:00
Julien Duponchelle
267a5ae3a8
Do not crash when you broke permission on your file system during
execution

Fix #878
2017-01-27 10:52:17 +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
e0071f5b59
Catch error when a file is deleted during the compression of project
Fix #860
2017-01-10 10:16:45 +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
89537204df
Fix delete project on remote compute server
Fix https://github.com/GNS3/gns3-gui/issues/1714
2016-12-12 22:41:43 +01:00
Julien Duponchelle
40af2a35e0
Wait for the end of project loading before making new change
Fix #790
2016-11-18 17:35:28 +01:00
Julien Duponchelle
5ab85e5c9e
Avoid crash due to persmission error on the .backup file 2016-11-18 17:17:14 +01:00
Julien Duponchelle
477091207d
Better handle compute unavailable errors
Fix #775
2016-11-11 10:38:59 +01:00
Julien Duponchelle
2a4b68d3b7
/duplicate support non opened projects
Ref https://github.com/GNS3/gns3-gui/issues/1585
2016-10-18 16:50:41 +02:00
Julien Duponchelle
19be2d85b7
Fix Snapshot restore does not work with IOS routers
Fix https://github.com/GNS3/gns3-gui/issues/1583
2016-10-18 16:19:14 +02:00
Julien Duponchelle
dd849f7945
Strip space from all nodes names
Fix #727
2016-10-18 11:11:45 +02:00
Julien Duponchelle
6fa8c52482
Fix a bug when selecting a topology and deleting multiple linked device
Fix https://github.com/GNS3/gns3-gui/issues/1554
2016-10-03 16:36:16 +02:00
Julien Duponchelle
4d6d0e96c6
Fix crash if you manually delete the project directory and use the delete button in interface
Fix #697
2016-09-30 10:47:37 +02:00
Julien Duponchelle
36175f7c26
Catch timeout error when closing project
Fix #698
2016-09-30 10:40:10 +02:00
Julien Duponchelle
74dd212def
One less exit deadlock 2016-09-29 15:07:17 +02:00
Julien Duponchelle
8f6d24ae5e
Prevent a dead lock when closing server 2016-09-29 14:40:39 +02:00
Julien Duponchelle
c91999c532
Disallow running IOU on multiple server
Fix #690
2016-09-26 15:35:58 +02:00
Julien Duponchelle
87e2326363
Fix cannot recreate a deleted project
Fix #1539
2016-09-23 10:22:33 +02:00
Julien Duponchelle
64139387c4
Return size of the scene of the project
Ref #683
2016-09-20 12:46:39 +02:00
Julien Duponchelle
cf10f02a8d
Fix utf8 errors
Fix #681
2016-09-18 22:23:52 +02:00
Julien Duponchelle
ee50790ab5
Dissallow export when node are running and are not always running
Fix #677
2016-09-15 18:48:14 +02:00
Julien Duponchelle
5ae456d6e2
Avoid to corrupt project in case of error during loading
Fix #651
2016-09-05 17:40:35 +02:00
Julien Duponchelle
43afce740d
Fix Error when cleaning image behind us #665 2016-09-02 11:46:08 +02:00
Julien Duponchelle
483370b756
Do not ignore error when closing a project 2016-08-31 17:24:19 +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
a4023c0298
By default project auto close when you exit client 2016-08-16 19:16:05 +02:00
Julien Duponchelle
12735ff36e
Bring back the auto_start
Fix #582
2016-08-16 15:45:06 +02:00
Julien Duponchelle
017202d151
Allow to delete a non opened project 2016-08-16 13:30:10 +02:00
Julien Duponchelle
0613efa297
Support for auto open project 2016-08-15 20:51:59 +02:00
Julien Duponchelle
3ca4edef93
Update project API 2016-08-15 16:44:09 +02:00
Julien Duponchelle
431bd789cb
Do not send project closed event when it's a snapshot restore
Ref #602
2016-08-15 13:30:02 +02:00
Julien Duponchelle
16c2305b33
Send a project closed event when project close
Ref #602
2016-08-15 12:06:26 +02:00
Julien Duponchelle
68eca6c111
Replace snapshots by import / export
Fix #1042
2016-07-26 19:52:58 +02:00
Julien Duponchelle
f357879186
API for duplicate a project
Ref https://github.com/GNS3/gns3-gui/issues/995
2016-07-25 16:26:33 +02:00
Julien Duponchelle
9b499dc51e
Export project with the GNS3VM 2016-07-21 20:17:36 +02:00
Julien Duponchelle
3300e9ec48
Reorganize export project code in order to move it to his own file 2016-07-21 18:15:35 +02:00
Julien Duponchelle
14f6bd60fb
Disallow export of running topologies 2016-07-21 09:47:09 +02:00
Julien Duponchelle
f68c1f0bde
When exporting project raise error if export is not possible 2016-07-20 16:58:58 +02:00
Julien Duponchelle
08c35f5558
Export non remote server work 2016-07-20 14:50:15 +02:00
Julien Duponchelle
3b70b4f217
Raise an error if you overwrite an existing project 2016-07-18 21:30:30 +02:00
Julien Duponchelle
c12413e0ce
Fix duplicate name for VM 2016-07-18 19:30:38 +02:00
Julien Duponchelle
8be1e77a2e
Optimize storage of drawing
If the drawing contain an image we extract it

Fix #591
2016-07-13 16:18:22 +02:00
Julien Duponchelle
ee533943c8
Start of support for topologies before 2.X
Missing part:
* GNS3 VM
* Cloud
* Image

Ref #564

Early support of conversion from 1.5
2016-07-12 17:14:35 +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
9d2f4168ff
Correctly restore label position for link 2016-07-01 21:33:39 +02:00
Julien Duponchelle
852d8e411e
Shape => Drawing 2016-06-23 11:17:23 +02:00
Julien Duponchelle
116135b9dc
Item => Shape 2016-06-21 09:49:16 +02:00
Julien Duponchelle
85ebac7eb3
API for rectangle & co
Ref #498
2016-06-20 18:45:31 +02:00
Julien Duponchelle
3132d51694
Do not reload a project if project is already opened
Ref https://github.com/GNS3/gns3-gui/issues/1251
2016-06-17 17:50:06 +02:00
Julien Duponchelle
49eb7d8ce7
Atomic save of the .gns3
Fix #579
2016-06-17 17:13:36 +02:00
Julien Duponchelle
c66ef9d218
Support filename for project in the controller 2016-06-16 16:57:54 +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
Julien Duponchelle
524f8991bc
Project status (opened / closed) 2016-06-15 16:26:16 +02:00
Julien Duponchelle
0569480953
Create link when loading topology on controller 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
3255be0ae2
Drop the commit system
Ref https://github.com/GNS3/gns3-gui/issues/1243
2016-06-14 10:16:33 +02:00
grossmj
2bde02d459 Controller side unique node name allocation. Ref #541. 2016-06-11 17:31:30 -06:00
Julien Duponchelle
df654b40ff
Add a test 2016-05-26 13:43:35 +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
54747ee618
Support for link event, fix link not correctly deleted 2016-05-18 18:37:18 +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
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
a9b95eb242
If the compute node is remote do not send project path 2016-05-16 18:17:24 +02:00
grossmj
6cea6c9162 Some more (spring) cleaning. 2016-05-13 18:48:10 -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
Julien Duponchelle
c2da568543
Protect controller and compute about path outside project directory
Fix #503
2016-05-11 15:59:32 +02:00
Julien Duponchelle
cd836f146e
Create the project on compute only when needed 2016-05-11 10:56:43 +02:00
Julien Duponchelle
9a1eeb57e9
Controll of the project directory in the controller 2016-04-26 14:34:49 +02:00
Julien Duponchelle
58d4a529d4
Rename hypervisor to compute
Fix #487
2016-04-15 17:59:59 +02:00
Julien Duponchelle
de61ed316c
The controller has a streaming API
Now we need to link the hypervisor to the controller.
2016-03-17 17:32:37 +01:00
Julien Duponchelle
c0e452133d
Web interface for debbuging controller 2016-03-15 11:32:10 +01:00
Julien Duponchelle
9771b33b68
Create link using UDP work 2016-03-14 16:51:47 +01:00
Julien Duponchelle
65099b9364
Link API should work now need to implement the client 2016-03-11 20:13:52 +01:00
Julien Duponchelle
abdda4d3b3
Link API (do nothing for the moment) 2016-03-11 16:51:35 +01:00
Julien Duponchelle
4326d412f9
API for creating a VM 2016-03-10 21:51:29 +01:00
Julien Duponchelle
58f1abff35
Close, commit and delete supported for projects in controller 2016-03-10 10:32:07 +01:00