Commit Graph

101 Commits

Author SHA1 Message Date
grossmj
09d8212225 Fixes symbol for VM template gone after restart. Fixes #538. 2015-07-12 16:51:43 -06:00
grossmj
39adbbdb27 Use os.path.abspath() for path returned by shutil.which(). 2015-07-09 10:30:14 -06:00
Jeremy
7007f3ea44 Make sure a path is set before checking if it exists in preferences. 2015-07-05 20:13:11 -06:00
Julien Duponchelle
563c762756 Add the frozen path to the binary lookup path.
This avoid issue when the current working directory is different.
And avoid special case in the code for searching the binary.

Fix #479
2015-07-01 15:55:54 +02:00
Julien Duponchelle
d59be759bd Support relative path for Default IDLE PC
I also move the code to the Dynamips module and add test for it.

Fix #471
2015-06-26 16:00:06 +02:00
grossmj
8d7e161662 Rename symbols: *.normal.svg to *.svg 2015-06-22 17:30:23 -06:00
grossmj
332b04d640 Remove "hover symbol" references. 2015-06-22 16:23:18 -06:00
grossmj
e0a47b050a Avoid reload config loops. 2015-06-21 12:19:07 -06:00
grossmj
55bd9bbc7e RAM usage based load balancing. #419. 2015-06-21 11:49:49 -06:00
Julien Duponchelle
6be425de4d Avoid configuration reload loops
This avoid false detection of configuration file
changed.

And avoid to write partial settings to the configuration
file.

Fix #406
2015-06-20 23:08:19 +02:00
grossmj
c67cf56dc5 Prepare the GNS3 VM to be used in projects. 2015-06-14 16:01:34 -06:00
Jeremy
b57bf29247 Removes settings types (was used for QSettings). 2015-06-10 15:11:19 -06:00
Julien Duponchelle
6a9873dbaa Fix an issue with partial config written 2015-06-07 22:31:06 +02:00
grossmj
bbb79bba0f Option to drop nvram & disk files for IOS routers in order to save disk space. 2015-06-05 14:54:22 -06:00
Julien Duponchelle
81e4a402f2 Merge branch 'master' into unstable 2015-06-03 18:45:17 +02:00
Julien Duponchelle
ca975e4f94 Fix: _findDynamips() takes 0 positional arguments but 1 was given
Fix #382
2015-06-03 18:35:22 +02:00
Julien Duponchelle
266df9bf71 Fix: _findDynamips() takes 0 positional arguments but 1 was given
Fix #382
2015-06-02 16:08:20 +02:00
Jeremy
5751a5c7e5 Bump version to 1.3.4.dev2 2015-06-01 16:29:49 -06:00
Jeremy
f9550e93d3 Check if an IOS image is set in the IOS router template. 2015-06-01 16:00:48 -06:00
Julien Duponchelle
4b9d03fb59 Detect config file change and reload the nodes
You can edit the list of devices in the config file
and the file will be reloaded. Usefull also if you run
two gns3-gui.
2015-05-28 16:54:39 +02:00
Julien Duponchelle
72d60e1227 Merge branch 'master' into unstable 2015-05-28 12:01:01 +02:00
grossmj
7b05d26d7e Removes legacy QSettings system because it can cause issues (1.3.x was the transition). 2015-05-27 19:54:45 -06:00
Jeremy
b49a850297 Fixes bug when editing c7200 templates. 2015-05-26 19:06:26 -06:00
Julien Duponchelle
7778790bae SSH 2015-05-26 09:44:57 +02:00
Jeremy
427b38912f Reactivate auto idle-pc in device contextual menu + save a chosen idle-pc value in template. 2015-05-15 13:37:04 +02:00
Jeremy
abc6ae2dca Reactivate auto idle-pc in device contextual menu + save a chosen idle-pc value in template. 2015-05-13 17:58:24 -06:00
Julien Duponchelle
763f65cbbe Upload images from gui 2015-05-10 20:46:45 +02:00
Julien Duponchelle
7500b602dc Merge branch 'master' into unstable 2015-05-05 14:21:34 +02:00
grossmj
df95c2c85d Fixes issue when console setting present in IOS router templates. 2015-05-04 20:32:00 -06:00
Jeremy
df322ceacf Do not send empty settings when creating VMs. 2015-05-04 19:03:35 -06:00
Jeremy
a4a242d58b Makes sure all IOS router settings are saved in the project file & simplify loading from a project. 2015-05-04 14:09:09 -06:00
Julien Duponchelle
ae7c98ce78 Merge branch 'master' into unstable
Conflicts:
	gns3/version.py
2015-04-29 14:27:55 +02:00
grossmj
740041a844 Fixes bug when IOS configs are not in VM settings. 2015-04-28 12:49:01 -06:00
Julien Duponchelle
6ab00e46b2 Migration to QT5
I drop some related cloud support, we will restore it when we will be ready.
* Switch to Python3 super style
* Drop old object inheritance
* Fixed old super call
2015-04-23 12:24:26 +02:00
grossmj
d5f432d07c Remove path settings for IOS router templates (redundant with image setting). Fixes #239. 2015-03-29 18:59:33 -06:00
grossmj
257eed01df Save configs when project is committed. 2015-03-21 14:52:17 -06:00
Jeremy
0921d51262 Save IOS router configs when saving the project (done right this time). 2015-03-18 15:34:31 -06:00
grossmj
a55d0e3b04 Fixes some more path initialization issues. 2015-03-02 23:34:21 -07:00
grossmj
5dc5f31d07 Check local server path is valid and fixes issues when starting on a clean system. 2015-03-02 22:54:53 -07:00
grossmj
cf334b1ea4 Check if executable path is set before os.path.exists() 2015-03-02 09:42:37 -07:00
grossmj
eb5a723991 Fixes executable path bugs (when shutil.which returns None). 2015-03-02 09:40:07 -07:00
grossmj
3f4dd04461 Check executable paths are valid when launching the GUI and find them if necessary. 2015-03-01 17:31:53 -07:00
grossmj
73186a771e Optional AUX console port allocation for Dynamips VMs. 2015-02-28 16:20:27 -07:00
Jeremy
37a87dbdee Sync Dynamips config file. 2015-02-27 19:36:21 -07:00
Jeremy
dafb36e3e9 Normalize paths in the local server config file on Windows. 2015-02-27 13:27:40 -07:00
Jeremy
9ce152bc42 Reactivates built-in module + some cleaning. 2015-02-26 16:38:02 -07:00
Julien Duponchelle
d38536ff75 PEP8 2015-02-23 18:24:14 +01:00
Jeremy
73b5652b5c Default NVRAM and Idle-PC for some IOS images. 2015-02-21 17:24:40 -07:00
Jeremy
e4cdecf653 Save IOU devices using LocalConfig instead of QSettings. 2015-02-16 18:36:46 -07:00
Jeremy
3fe6f27c57 Save Dynamips routers using LocalConfig instead of QSettings. 2015-02-16 17:59:40 -07:00