grossmj
271cb527d4
Explicit utf-8 decoding.
2015-04-26 21:19:39 -06:00
grossmj
017997e0a3
Fixes c7200 NPE setting.
2015-04-26 18:35:12 -06:00
grossmj
683a512917
Fixes #150 .
2015-04-25 15:20:15 -06:00
grossmj
80a0e0ebf7
Explicit utf-8 encoding where necessary to avoid Unicode errors on Windows (we require/set an utf-8 locale on other systems).
2015-04-25 11:58:34 -06:00
grossmj
aab4a7243b
Merge remote-tracking branch 'origin/master'
2015-04-14 18:21:42 -06:00
Julien Duponchelle
aa2472fb30
Rewrote image search
...
This code is more generic and support all cases. Previously
we had bug where the user lost his image path if the image
was not located in image directory.
2015-04-14 18:46:55 +02:00
grossmj
443842e9b8
Allocate random names for Dynamips NIOs.
2015-04-12 18:14:45 -06:00
grossmj
78bc6e29a8
Explicitly delete Dynamips NIOs and unmap VCs for ATM and Frame-Relay switches.
2015-04-12 18:09:53 -06:00
grossmj
7d7972afb3
Some spring cleaning.
2015-04-08 11:17:34 -06:00
Julien Duponchelle
1acc9398d5
Fix encoding error when saving dynamips configuration
...
Fix #134
2015-04-03 12:13:07 +02:00
Julien Duponchelle
990f243f15
Do not crash if dynamips config contain non ascii chars
...
But I don't know why user can want to do that.
Fix #123
2015-04-01 19:55:11 +02:00
Julien Duponchelle
90d55fcb8a
Raise a DynamipsError if we can't access to VM status
...
Fix #129
2015-04-01 17:39:37 +02:00
grossmj
ee8362d89a
Fixes issue when asyncio read is cancelled and data is still sent by Dynamips hypervisor. Fixes #113 .
2015-03-28 19:23:01 -06:00
grossmj
056ff14437
Fixes unicode decode error when saving IOS router configs. Fixes #115 .
2015-03-28 18:09:53 -06:00
Julien Duponchelle
3c917c59fb
Fix error when missing adapter
...
Fix #112
2015-03-27 16:20:31 +01:00
Julien Duponchelle
533ce78b90
Fix crash if we call stop on dynamips on non started process
...
Fix #111
2015-03-27 10:08:03 +01:00
grossmj
153914bf97
Make sure used ports in a project are cleaned up when closing it.
2015-03-21 17:19:12 -06:00
grossmj
2d6d153262
Save configs when project is committed.
2015-03-21 14:52:17 -06:00
grossmj
628dfef0d3
Initialize chassis when creating an IOS router. Fixes #107 .
2015-03-21 13:58:52 -06:00
Jeremy
17d5b3a7bc
Remove unnecessary locks.
2015-03-20 19:19:49 -06:00
Julien Duponchelle
01bcbe2fd9
Lock the dynamips reader an writer
...
Fix #103
2015-03-20 10:21:40 +01:00
Jeremy
8415117d2d
Save IOS router configs when saving the project (done right this time).
2015-03-18 15:34:31 -06:00
Jeremy
163d1e375d
Save IOS configs when a project is committed.
2015-03-17 18:53:24 -06:00
Jeremy
93a5f4be79
Temporarily deactivate IOS router saveconfigs.
2015-03-16 17:36:23 -06:00
Jeremy
46fe973a96
Save IOS router configs when the user saves a project.
2015-03-16 16:33:37 -06:00
grossmj
21587fda5a
Removes confreg setting for IOS routers.
2015-03-14 16:31:15 -06:00
Jeremy
aebcd9f08b
Relative path support of IOU, IOS and Qemu images.
2015-03-11 15:04:11 -06:00
Jeremy
223f3ee705
Should fix ProcessLookupError exceptions.
2015-03-11 10:53:09 -06:00
grossmj
5910b4b0be
Have the server look in the right place for relative image paths.
2015-03-09 21:57:21 -06:00
grossmj
b1eccc0ace
Properly restore configs for Dynamips routers.
2015-03-08 14:13:19 -06:00
grossmj
0d379f428e
Makes absolute path checks work on Windows.
2015-03-07 18:16:46 -07:00
Jeremy
2bae814eb1
Remove redundant code for Dynamips hypervisor connections.
2015-03-05 18:00:17 -07:00
Julien Duponchelle
a9afaa028c
Garbage collect VM when closing a project
2015-03-02 17:17:28 +01:00
grossmj
c48ca212bd
Stop Dynamips hypervisors used by devices before the project is closed.
...
This is to avoid locked files by hypervisors preventing temporary project working directories to be deleted.
2015-03-01 19:20:33 -07:00
grossmj
3ef529fb0e
Temporally fixes Dynamips console listening issues.
2015-03-01 18:53:03 -07:00
grossmj
518b037d54
Fixes connect call failed for Dynamips hypervisor #78 .
2015-03-01 14:25:09 -07:00
grossmj
7223005acd
Restore device IDs and fixes race condition when converting an old project.
2015-03-01 13:05:51 -07:00
grossmj
5ae8728ee6
Fixes ATM switch.
2015-03-01 10:41:27 -07:00
grossmj
0f10d25c0b
Optional AUX console port allocation for Dynamips VMs.
2015-02-28 16:20:27 -07:00
grossmj
7fe2d6c367
Support to deactivate sparsemem or mmap globally for Dynamips VMs.
2015-02-28 15:53:21 -07:00
grossmj
d762c43314
Include the images directory when converting an old project.
2015-02-28 15:00:00 -07:00
grossmj
708f66b608
Fixes asyncio Lock instantiation issues on Windows.
...
Because the event loop is essentially a global variable, asyncio Lock objects that get instantiated early could grab a reference to the wrong loop (Selector instead of Proactor).
2015-02-27 22:12:43 -07:00
grossmj
666064f1ae
Revert commit: Remove lock for Ghost IOS (problem on Windows).
2015-02-27 22:01:37 -07:00
Jeremy
70d5dea256
Remove lock for Ghost IOS (problem on Windows).
2015-02-27 19:36:45 -07:00
Jeremy
ba95567886
Some info message and fixes ghost IOS activation/deactivation.
2015-02-27 19:35:31 -07:00
Jeremy
84870bf736
Some changes with config files on Windows.
2015-02-27 18:08:34 -07:00
Jeremy
0e8b8fa66f
Update hypervisors working dir when the project is moved.
2015-02-27 16:51:17 -07:00
Jeremy
58d92f1584
Fixes Dynamips console/aux ports restoration when loading a project.
2015-02-26 16:15:44 -07:00
Jeremy
0eaad579c2
IOU + VirtualBox conversion of old projects.
2015-02-25 18:55:35 -07:00
Jeremy
85518a3cd6
Fixes race condition when generating an ghost IOS file.
2015-02-25 17:38:55 -07:00