Jeremy
be85d95ff7
Checks if IOS image exist at startup and not during node creation. Fixes #240 .
2015-06-29 16:30:57 -06:00
Julien Duponchelle
6e3ebb714d
Return vm_directory for VirtualBox and VMware
...
Fix #246
2015-06-26 17:09:19 +02:00
Julien Duponchelle
feefb075d4
Make the qemu event crash more future proof
2015-06-26 15:10:41 +02:00
Julien Duponchelle
90b0dfebbd
Merge branch 'master' into unstable
2015-06-26 14:42:43 +02:00
Julien Duponchelle
e8805d3fdc
When a qemu VM crash send the log to the client.
...
Fix #243
2015-06-26 14:41:58 +02:00
Julien Duponchelle
2ccb30eeb5
Fix Incorrect vboxmanage sudo command
...
Fix #247
2015-06-26 10:47:52 +02:00
Julien Duponchelle
ccd3224490
Add a vm_directory field to Dynamips / VPCS / IOU
...
Fix #246
2015-06-25 11:17:32 +02:00
Julien Duponchelle
2b36746d52
Return the working directory of a Qemu VM
2015-06-25 09:53:16 +02:00
grossmj
d9745644cd
Check for /dev/kvm. Fixes #245 .
2015-06-24 23:03:04 -06:00
grossmj
ed95bcee97
Moves KVM setting to Qemu server preferences. Fixes #244 .
2015-06-24 22:47:30 -06:00
grossmj
f20ee06181
VNC console support for Qemu VMs.
2015-06-24 19:09:17 -06:00
Julien Duponchelle
4aadfa3b67
Test all IOU requirements at VM startup
...
This allow user to create the node and upload the image after
2015-06-19 16:35:19 +02:00
Jeremy
f398d15025
Completes #239 (Makes VMX keys reading case insensitive).
2015-06-18 17:53:08 -06:00
Jeremy Grossmann
797b45b1f9
Merge pull request #239 from GNS3/vmx_case_insensitive
...
Makes VMX keys reading case insensitive.
2015-06-18 14:08:40 -07:00
Jeremy
11e96e6521
ACPI shutdown support for VMware VMs. Fixes #436 .
2015-06-18 15:02:31 -06:00
Julien Duponchelle
a577fe9fdb
Make VMX reading case insensitive
...
Fix #237
2015-06-18 16:28:13 +02:00
Jeremy
6d1f060791
Reloads ubridge when connecting or disconnecting VMware VM links.
2015-06-17 17:36:52 -06:00
Jeremy
d779392d7f
Find vmrun on Windows.
2015-06-17 17:05:58 -06:00
Julien Duponchelle
f041697311
Compute a md5sum of images for futur purpose
...
Fix #234
2015-06-17 17:11:25 +02:00
Julien Duponchelle
04aac2f3dc
Convert old -enable-kvm to kvm settings for Qemu
...
Fix #233
2015-06-12 09:40:38 +02:00
Julien Duponchelle
75267f9d53
Merge branch 'master' into unstable
2015-06-10 16:30:30 +02:00
Julien Duponchelle
2da0b36ee7
Support a platform parameter for Qemu
...
I'm sure we will discover a distribution with a different
naming conventions...
Fix #220
2015-06-10 15:49:24 +02:00
grossmj
d518ac45f5
Enable KVM acceleration option.
2015-06-08 14:51:06 -06:00
grossmj
c7ea8517a1
Do not stop saving IOS router or IOU configs when there is an exception while a project is committed.
2015-06-08 11:32:00 -06:00
grossmj
5a32d8a779
Merge remote-tracking branch 'origin/master'
2015-06-08 11:28:58 -06:00
grossmj
9f1705a4f1
Do not stop saving IOS router configs when there is an exception while a project is committed.
2015-06-08 11:28:48 -06:00
grossmj
815b7d226c
Sync with IOU tools (nvram import/export).
2015-06-08 10:07:54 -06:00
grossmj
65e7f61f96
Fixes issues when setting MAC address for a Qemu VM or IOS router.
2015-06-07 22:18:41 -06:00
grossmj
042472f02c
Check interface is up before connecting a NIO (Linux only). Fixes #277 .
2015-06-07 13:51:33 -06:00
grossmj
81d417a2b3
Fixes too many arguments to socket.getaddrinfo()
2015-06-07 09:25:54 -06:00
grossmj
81e56e035b
IPv6 support.
2015-06-06 21:37:34 -06:00
grossmj
ca331ae2a5
Import/Export support for IOU nvrams.
2015-06-06 15:15:03 -06:00
grossmj
e63b9ff0e6
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
02650fa490
Create a private config file if expected
...
Fix #217
2015-06-05 16:23:52 +02:00
Julien Duponchelle
d9de1718b7
Fix crash if a private config exist in IOS but no private config file
...
Fix #217
2015-06-05 15:30:30 +02:00
grossmj
37ddff9f07
Support for base MAC address for Qemu VMs.
2015-06-03 14:52:49 -06:00
Julien Duponchelle
d8fb33dba2
Fix merge conflict
2015-06-03 18:58:17 +02:00
Julien Duponchelle
a1204dca0a
Merge branch 'master' into unstable
2015-06-03 18:34:46 +02:00
Julien Duponchelle
b344def887
Fix crash when virtualbox list of VMS return an empty line
...
Fix #206
2015-06-03 11:59:53 +02:00
grossmj
743f1392b5
ACPI shutdown support for Qemu VMs.
2015-06-02 22:33:38 -06:00
grossmj
933bc5a7b0
ACPI shutdown support for VirtualBox VMs.
2015-06-02 16:30:35 -06:00
grossmj
a0fe9bb498
Control vm command has to be used instead of modify vm. Fixes #205 .
2015-06-02 09:00:37 -06:00
Julien Duponchelle
57f9d875ca
Fix AttributeError: 'NIONAT' object has no attribute 'lport' for
...
VirtualBox
Fix #205
2015-06-02 16:27:48 +02:00
Julien Duponchelle
a2e51ac090
Avoid duplicate paths in qemu binary list
...
Fix #204
2015-06-02 15:35:14 +02:00
grossmj
edff447483
Catch exception in snapshot dialog.
2015-06-01 21:54:08 -06:00
Jeremy
9df290f192
Check if port or adapter is connected before starting/stopping a packet capture. Fixes #196 .
2015-06-01 15:42:17 -06:00
Julien Duponchelle
05aafb9538
Revert "Start virtualbox VM one by one" because it doesn't fix the issue
...
This reverts commit da72a9501a
.
2015-06-01 16:16:34 +02:00
Julien Duponchelle
da72a9501a
Start virtualbox VM one by one
...
Related to #190
2015-06-01 11:40:42 +02:00
grossmj
a60389427b
Support for VMware linked clones.
2015-05-30 20:26:38 -06:00
Julien Duponchelle
9442042d7a
Merge branch 'master' into unstable
2015-05-28 12:04:01 +02:00
grossmj
98e01ff21d
Serial console implementation for VMware VMs.
2015-05-27 21:06:18 -06:00
Vasil Rangelov
9ef4628cbc
Added a method for getting qemu-img binaries, and moved the qemu folder into a separate method.
2015-05-28 00:11:36 +03:00
grossmj
0476f2932e
Prevent users to add links to running Qemu VMs and start a capture on running VirtualBox VMs.
2015-05-27 13:56:27 -06:00
grossmj
91c0f05a4e
Fixes bug: couldn't set PCMCIA disk1 size for IOS routers.
2015-05-27 10:17:46 -06:00
Julien Duponchelle
a86bac4214
Catch VPCS kill errors
...
Fix #199
2015-05-27 17:21:15 +02:00
Julien Duponchelle
7cad25eb1a
Raise a VirtualBox error if adapter doesn't exists
...
Fix #195
2015-05-27 16:38:57 +02:00
Julien Duponchelle
ecf4e91e55
Ignore VirtualBox VM Name with a carriage return in name
...
Add tests for get_list of VirtualBox
Fix #200
2015-05-27 16:21:18 +02:00
Julien Duponchelle
c98bcedd39
Cleanup the temporary project after modules have been notified of the
...
path change
2015-05-26 15:20:14 +02:00
Julien Duponchelle
528bb7a7c6
Do not return error if we can't remove the old project directory
2015-05-26 13:27:12 +02:00
Julien Duponchelle
f1ab682be9
Do not crash if module ioucon is loaded by tests on Windows
2015-05-26 11:55:30 +02:00
Julien Duponchelle
289b68e5c1
Use setter for the qemu_path (allow to pass only the binary name)
2015-05-26 10:06:10 +02:00
grossmj
a7dd0d3c51
Fixes TAP connection when using VPCS.
2015-05-26 10:06:10 +02:00
Julien Duponchelle
29ec07d166
Fix crash launching qemu on OSX from another location.
...
It's append only when frozen an you launch the server by hand.
Fix #194
2015-05-26 10:05:53 +02:00
Julien Duponchelle
6f9f004ebb
API for list & download files of a project
2015-05-26 09:49:12 +02:00
Julien Duponchelle
8636d3e337
Use setter for the qemu_path (allow to pass only the binary name)
2015-05-26 09:48:36 +02:00
grossmj
c43b26d787
Merge remote-tracking branch 'origin/master'
2015-05-25 19:07:23 -06:00
grossmj
08f82e02a0
Fixes TAP connection when using VPCS.
2015-05-25 19:07:12 -06:00
grossmj
3c4a60cd0a
Check for VMware lock file.
2015-05-25 15:49:28 -06:00
grossmj
3729a10783
VMware vmnets management almost complete.
2015-05-21 21:48:59 -06:00
Jeremy
0287b4607d
Base for supporting VMnet adapters.
2015-05-20 19:05:26 -06:00
Julien Duponchelle
9fa873751d
Fix crash launching qemu on OSX from another location.
...
It's append only when frozen an you launch the server by hand.
Fix #194
2015-05-18 11:58:56 +02:00
Jeremy
cb7b9e8190
Adapters for VMware VMs.
2015-05-15 19:09:48 -06:00
grossmj
0ac27c40da
Merge remote-tracking branch 'origin/unstable' into unstable
2015-05-14 20:12:08 -06:00
grossmj
a386c5382c
Starting VMware VM networking support.
2015-05-14 20:11:57 -06:00
Julien Duponchelle
743187bb2e
Merge branch 'master' into unstable
2015-05-14 19:29:30 +02:00
Jeremy
b2457e0b3b
Check for empty iourc path.
2015-05-13 16:05:54 -06:00
Jeremy
2531a05adc
Merge remote-tracking branch 'origin/master'
2015-05-13 15:54:03 -06:00
Jeremy
dd9f62158f
Fixes bugs with IOS router configs. Fixes #354 .
2015-05-13 15:53:58 -06:00
Jeremy
25a6616cd0
Some wording changes.
2015-05-13 13:53:42 -06:00
Julien Duponchelle
1e38b11f34
Catch crash error in IOU in case of permission denied
...
Fix #186
2015-05-13 10:16:24 +02:00
grossmj
8e168dfbe0
Completes VMware VMs searching process.
2015-05-10 17:21:31 -06:00
Julien Duponchelle
bb4ebbfe64
Upload images API
...
Conflicts:
requirements.txt
setup.py
2015-05-10 21:06:31 +02:00
Jeremy Grossmann
61fb641215
Merge pull request #168 from GNS3/listen
...
A notification stream with process monitoring.
2015-05-09 17:15:58 -06:00
grossmj
13eb461dfe
Update default VMware VM location path for OSX.
2015-05-08 18:30:41 -06:00
Julien Duponchelle
00fa1cc370
Merge branch 'master' into unstable
2015-05-08 14:45:07 +02:00
Jeremy
c197b39a68
Find VMware VMs using the inventory and alternatively using the default vm location (for VMware player).
2015-05-07 16:50:37 -06:00
Jeremy
d21469a916
Return an error if an adapter slot doesn't exist on an IOS router.
2015-05-06 17:22:07 -06:00
Jeremy
b57a023394
NIO NAT support for VirtualBox VMs.
2015-05-06 15:21:39 -06:00
grossmj
a929dfea38
Merge remote-tracking branch 'origin/master'
2015-05-06 14:59:35 -06:00
grossmj
fcff2d0813
NIO NAT support for QEMU VMs (user mode back-end is used).
2015-05-06 14:59:01 -06:00
Julien Duponchelle
ed39afbf3d
Throw an error if user put an invalid port range in config file
...
Fix #117
2015-05-06 10:40:51 +02:00
Julien Duponchelle
18c4154376
Catch error when you can't mark a project as no longer temporary
...
Fix #172
2015-05-05 10:51:51 +02:00
grossmj
9eeb8910fb
Match how IOU initial-config is set for VPCS VM.
2015-05-04 21:54:56 -06:00
Jeremy
71e2586e17
Refactors how startup-config and private-config are handled for IOS routers.
2015-05-04 18:42:32 -06:00
Julien Duponchelle
d2d91ebdea
Fix temporary project not cleanup with save as
2015-05-04 14:04:57 +02:00
Julien Duponchelle
0dea63c9ea
If image is not found in VM directory look in images folder
2015-05-04 10:57:08 +02:00
grossmj
3467b42ab5
Ordered MAC addresses for QEMU based VMs.
2015-05-03 13:18:18 -06:00
grossmj
f6bc823b58
Fixes #171 .
2015-05-03 11:40:55 -06:00
grossmj
a260377f0e
List all available VMware VMs.
2015-05-01 18:47:46 -06:00
Julien Duponchelle
e9ec5c8a37
A notification stream with process monitoring
2015-05-01 13:20:30 +02:00
Jeremy
ab60d7929b
Basic VMware support (start & stop a VM).
2015-04-30 19:05:37 -06:00
Julien Duponchelle
359abb0286
Revert "Merge branch 'unstable'"
...
This reverts commit 929c337e8b
, reversing
changes made to b9bc73fd01
.
2015-04-30 16:43:30 +02:00
grossmj
d18293ae7c
Fixes list images in VirtualBox.
2015-04-29 22:17:17 -06:00
Jeremy
929c337e8b
Merge branch 'unstable'
...
Conflicts:
gns3server/modules/virtualbox/__init__.py
gns3server/version.py
tests/modules/test_manager.py
2015-04-29 16:29:45 -06:00
Julien Duponchelle
f8f6f5dc5d
Merge branch 'master' into unstable
...
Conflicts:
gns3server/modules/virtualbox/__init__.py
gns3server/version.py
2015-04-29 14:25:44 +02:00
Julien Duponchelle
b9bc73fd01
Do not crash when closing a project if VirtualBox is not accessible
...
Fix #164
2015-04-29 14:24:27 +02:00
grossmj
0311a0086e
Fixes typo.
2015-04-28 22:16:15 -06:00
grossmj
cc03017739
Cleanup the VirtualBox Media Manager after closing a project. Fixes #145 .
2015-04-28 12:02:21 -06:00
Julien Duponchelle
5f6d1bfdd6
Merge branch 'master' into unstable
...
Conflicts:
tests/modules/test_manager.py
2015-04-28 10:46:59 +02:00
grossmj
a884af983f
Avoid Cygwin warning with VPCS on Windows.
2015-04-27 22:23:27 -06:00
Jeremy Grossmann
4f021054e0
Merge pull request #158 from GNS3/keep_iou_config
...
Do not erase the IOU initial-config if there is one when creating the IOU VM.
2015-04-27 18:37:17 -06:00
Jeremy
8503472c77
Close VirtualBox VM linked clone disks after the VM is unregistered. Fixes #145 .
2015-04-27 17:10:32 -06:00
Julien Duponchelle
77f54848e3
Fix some tests on Windows
2015-04-27 23:12:13 +02:00
Jeremy
f208b472a1
TAP interface support for QEMU VMs. Fixes #153 .
2015-04-27 14:38:15 -06:00
Julien Duponchelle
324a4f73d0
Do not erase the IOU config
2015-04-27 18:22:54 +02:00
Julien Duponchelle
4df95efdec
Skip IOU test on Windows
...
Fix #159
2015-04-27 15:09:42 +02:00
grossmj
271cb527d4
Explicit utf-8 decoding.
2015-04-26 21:19:39 -06:00
grossmj
6edf1e3649
Check NIO exists when stopping an IOU capture.
2015-04-26 21:15:15 -06:00
grossmj
017997e0a3
Fixes c7200 NPE setting.
2015-04-26 18:35:12 -06:00
grossmj
3e6996903f
Fixes VPCS process termination.
2015-04-26 12:57:06 -06:00
grossmj
da2b895c99
Catch FileNotFoundError exception in os.getcwd()
2015-04-26 12:49:29 -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
d68bf1c263
Removes unnecessary sleep in VirtualBox VM.
2015-04-25 09:36:28 -06:00
Jeremy
fa544ef888
Fixes #270 . Relative paths management with empty ones.
2015-04-24 17:27:32 -06:00
Jeremy
40ce22222e
Merge branch 'unstable' into api_list_images
...
Conflicts:
gns3server/handlers/api/iou_handler.py
2015-04-23 17:19:37 -06:00
grossmj
30f6263146
Don't assume the PATH environment variable exists.
2015-04-22 21:42:36 -06:00
grossmj
161adb781b
Use UUIDs instead of the VM names for VirtualBox pipe paths.
2015-04-22 20:29:52 -06:00
Julien Duponchelle
531e95463c
Add qemu-kvm to the list of binary
2015-04-20 10:12:17 +02:00
grossmj
c6dbf296cf
Merge remote-tracking branch 'origin/master'
2015-04-16 13:24:48 -06:00
Julien Duponchelle
bca90bc563
API in order to get the list of IOU, Dynamips, Qemu images
2015-04-16 18:32:12 +02:00
Julien Duponchelle
b5e01f7560
Fix IOU licence check flag
2015-04-16 09:51:02 +02:00
grossmj
aeab9780d8
Fixes initial-configs that were not restored when opening a project containing IOU VMs.
2015-04-15 19:49:40 -06:00
Julien Duponchelle
26a7f83db2
Remove the workaround for dynamips OSX
2015-04-15 15:58:31 +02:00
Julien Duponchelle
def453c116
Restore "iourc_path" until I speak with jeremy about it
2015-04-15 15:50:34 +02:00
Julien Duponchelle
997f7cbd6f
Fix noise in logs
2015-04-15 15:40:07 +02: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
Julien Duponchelle
e51a129216
Prevent parallel execution of VBox commands
...
In theory it should not be a problem.
But It's create issues like this one:
Fix: https://github.com/GNS3/gns3-gui/issues/261
2015-04-14 15:00:45 +02:00
Julien Duponchelle
55fed02299
Fix a crash when in some cases you can't access to VBOX state
...
Fix #137
2015-04-14 14:35:48 +02:00
Julien Duponchelle
45ca995dea
Fix crash if VirtualBox doesn't return API version
...
Fix #136
2015-04-14 14:32:44 +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
de5e8f852d
Cleaner and generic way to set Qemu & IOU VM settings.
2015-04-12 15:09:37 -06:00
Julien Duponchelle
2d507fd17a
Fix crash if IOU initial config is emtpy
...
Fix #147
2015-04-09 10:27:50 +02:00
grossmj
7e8b0a48ab
Merge remote-tracking branch 'origin/master'
2015-04-08 11:17:49 -06:00
grossmj
7d7972afb3
Some spring cleaning.
2015-04-08 11:17:34 -06:00
Julien Duponchelle
3b4a060ae9
Fix missing IOU documentation
...
Fix #143
2015-04-07 16:09:27 +02:00
Julien Duponchelle
1c4a059982
Look in old IOU images location in order to smooth transition
...
Fix #141
2015-04-07 15:25:53 +02:00
Julien Duponchelle
7efb7c2978
Do not overwrite initial-config IOU if client send an empty
...
Fix #140
2015-04-06 21:30:57 +02:00
grossmj
1c4202187a
Fixes TAP interface use with VPCS.
2015-04-03 19:11:28 -06:00
grossmj
631d7a1e25
Avoid disconnecting valid VirtualBox VM adapter backends.
2015-04-03 19:08:29 -06:00
Jeremy Grossmann
19c5fdb1fd
Merge pull request #135 from GNS3/fix_virtualbox_adapters
...
Fixes missing adapters in VBox Virtual Machines.
2015-04-04 00:13:58 +00:00
Julien Duponchelle
b46e2cf013
Fix issues with macos X dynamips not freeing UDP port
...
Fix #133
2015-04-03 13:32:07 +02:00
Julien Duponchelle
1acc9398d5
Fix encoding error when saving dynamips configuration
...
Fix #134
2015-04-03 12:13:07 +02:00
Julien Duponchelle
8fc256da6d
Fix missing adapters in VBox Virtual Machines
...
If you have 4 network adapter and attach only ethernet 1 and 4.
You will see eth0, eth1, eth2 and eth3 with eth0 and eth3 attached.
https://github.com/GNS3/gns3-gui/issues/255
2015-04-03 12:08:18 +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
a3c8201bcc
Do not crash if no console port is available for VBox
...
I don't know how user manage to fall in this situation.
Fix #127
2015-04-01 17:59:58 +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
Julien Duponchelle
4cd5ec5613
Check name of the VBoxManage executable
...
Fix #118
2015-04-01 17:36:22 +02:00
Julien Duponchelle
026fe3df9b
Catch error when qemu additional options are invalid
...
Fix #119
2015-03-31 22:14:08 +02:00
Julien Duponchelle
93344e9427
Fix crash when NIO doesn't exist
...
Fix #122
2015-03-31 22:00:05 +02:00
Julien Duponchelle
36f5fd2865
Fix crash when IOU script file is incorrect
...
Fix #125
2015-03-31 21:50:47 +02:00
Julien Duponchelle
420a1c2da2
Fix rare crash in tests for travis and fix coverage
2015-03-30 17:03:49 +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
Jeremy
81ce86a8a7
Fixes use_default_iou_values param was not set.
2015-03-26 16:47:55 -06:00
Jeremy
1df8f61035
Merge remote-tracking branch 'origin/master'
2015-03-26 15:11:41 -06:00
Jeremy
c7034c25ef
Fixes issue when IOURC environment variable is set to None.
2015-03-26 15:11:36 -06:00
Julien Duponchelle
2e72bc2d3a
Fix tests
2015-03-26 17:43:00 +01:00
Julien Duponchelle
64152c1af8
Fix a crash in CI, making log impossible to read
2015-03-26 15:49:51 +01:00
Jeremy
ec6a761e04
Fixes check if VPCS process is running.
2015-03-25 14:43:51 -06:00
grossmj
07067d6765
Fixes how to test if iou and iouyap are running.
2015-03-24 22:04:48 -06:00
grossmj
980e63e667
Allocate a random port for Qemu monitor. Fixes issue with pre 1.3 projects.
2015-03-23 22:52:02 -06:00
Jeremy
b5aabd4cc5
Fixes initial-config not loading for IOU L2.
2015-03-23 12:30:27 -06:00
grossmj
f451ed144e
Prevent error when suspend/resume is not supported in QEMU VM.
2015-03-22 20:40:19 -06: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
Julien Duponchelle
ddb8a9f06e
Fix an issue in IOU relative path looking
2015-03-19 15:36:06 +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
f6b122cdfa
Look in legacy IOU images dir when looking for relative IOU image path.
2015-03-17 19:28:43 -06:00
Jeremy
fb0490d8e3
Merge remote-tracking branch 'origin/asyncio' into asyncio
2015-03-17 18:53:36 -06:00
Jeremy
163d1e375d
Save IOS configs when a project is committed.
2015-03-17 18:53:24 -06:00
Julien Duponchelle
6330e99ff1
More robust IOUVM support
2015-03-17 22:18:55 +01:00
Julien Duponchelle
386b311755
Fix iou key verification for large hostid
2015-03-17 20:15:01 +01:00
Julien Duponchelle
4a9f578784
Support IOURC update
2015-03-17 19:00:14 +01:00
Julien Duponchelle
8ca9c2121a
Do not crash if iourc file is missing
2015-03-17 18:34:23 +01:00
Julien Duponchelle
66cdf39ea2
Support uploading iourc
2015-03-17 16:31:45 +01:00
Julien Duponchelle
bb7eda63af
Support more all QEMU status
...
Fix #98
2015-03-17 11:02:14 +01: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
Jeremy
cc9b575b77
Bind UDP tunnels to the correct source address. Fixes #96 .
2015-03-16 12:45:21 -06:00
Julien Duponchelle
cf247a9301
Fix iou tests and add tests
2015-03-16 11:52:22 +01:00
grossmj
21587fda5a
Removes confreg setting for IOS routers.
2015-03-14 16:31:15 -06:00
grossmj
6d56da03e5
Fixes tests.
2015-03-14 13:16:27 -06:00
Jeremy
cf92bfe81e
Alternative local server shutdown (mostly intended for Windows).
2015-03-13 18:57:27 -06:00
Jeremy
4ccca5dc99
Support RAM setting for VirtualBox VMs.
2015-03-13 17:13:36 -06:00
Jeremy
f7d3af4a59
Fixes hostid retrieval.
2015-03-13 11:45:38 -06:00
Jeremy
6d901e8295
Fixes issue when VBoxManage returns an error.
2015-03-12 16:53:22 -06:00
grossmj
4f7b896a6a
Fixes tests.
2015-03-11 23:09:01 -06:00
Jeremy
54c2d34185
Optional IOU license key check.
2015-03-11 18:59:57 -06:00
Jeremy
aebcd9f08b
Relative path support of IOU, IOS and Qemu images.
2015-03-11 15:04:11 -06:00
Jeremy
c41bec0516
Do not give attachment warning for generic attachments in VirtualBox.
2015-03-11 12:05:22 -06:00
Jeremy
223f3ee705
Should fix ProcessLookupError exceptions.
2015-03-11 10:53:09 -06:00
grossmj
1610067eee
Support for HDC and HDD disk images in Qemu.
2015-03-10 11:50:30 -06:00
grossmj
062e5a5986
Fixes bug when starting a packet capture in VirtualBox with the project path containing spaces.
2015-03-10 11:05:52 -06:00
grossmj
03dfd177f9
Use TCP instead of Telnet to communicate with Qemu monitor.
2015-03-10 00:34:57 -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
ad5548f70b
Convert more that IOU pre 1.3 projects but also other modules on remote servers.
2015-03-09 21:46:23 -06:00
grossmj
5ca65093e4
Fixes bugs when checking if this is a local project.
2015-03-09 12:45:02 -06:00
grossmj
95766fa30d
Let the server know about the project name and convert old IOU projects on remote servers.
2015-03-08 19:13:01 -06:00
grossmj
2934232afb
Convert legacy IOU directories on remote servers.
2015-03-08 17:45:29 -06:00
grossmj
b1eccc0ace
Properly restore configs for Dynamips routers.
2015-03-08 14:13:19 -06:00
grossmj
c3014632a4
Fixes rename bug for linked clones in VirtualBox.
2015-03-08 12:32:36 -06:00
grossmj
0d379f428e
Makes absolute path checks work on Windows.
2015-03-07 18:16:46 -07:00
Julien Duponchelle
ed2e4e43f2
Support the options use_default_iou_values
...
Fix #92
2015-03-07 14:27:09 +01:00
Julien Duponchelle
1b68a54234
Look for qemu images in ~/GNS3/images
2015-03-07 11:56:51 +01:00
Jeremy
ee578d3c12
Fixes Qemu networking.
2015-03-06 20:08:00 -07:00
Jeremy
d87ebb3ed2
Fixes suspend and resume for Qemu.
2015-03-06 15:16:19 -07:00
Julien Duponchelle
e37392c482
Correctly recover id when closing VMS
...
Fixes #91
2015-03-06 15:48:16 +01:00
grossmj
18f3859e87
Fixes Telnet server initialization issue in VirtualBox. Fixes #88 .
2015-03-05 21:20:02 -07:00
Jeremy
a64dfdd694
Disconnect network cable if adapter is not attached in VirtualBox vNIC.
2015-03-05 19:11:33 -07:00
Jeremy
2bae814eb1
Remove redundant code for Dynamips hypervisor connections.
2015-03-05 18:00:17 -07:00
Julien Duponchelle
3407ba802e
Rename vlan dat file for IOU
2015-03-05 17:00:25 +01:00
Julien Duponchelle
80fd857658
Fix tests
2015-03-03 14:37:34 +01:00
Jeremy
6208cb997d
Fixes Qemu adapters support.
2015-03-02 19:59:44 -07:00
Jeremy
3472f19519
Use console_host from the PortManager.
2015-03-02 18:19:11 -07:00
Jeremy
a6869379c3
Fixes console restoration when loading a VirtualBox project.
2015-03-02 17:28:28 -07:00
Jeremy
b673b898a8
Fixes problem when trying to convert VirtualBox projects without cloned VMs.
2015-03-02 13:04:30 -07:00
Julien Duponchelle
a9afaa028c
Garbage collect VM when closing a project
2015-03-02 17:17:28 +01:00
Julien Duponchelle
66860655b9
If a VM is already loaded, we return a VM instead of creating it twice
...
Partial fix for #81
2015-03-02 15:35:36 +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
dfce18a48f
Fixes migration issues for pre-1.3 projects.
2015-02-28 18:55:53 -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
Julien Duponchelle
ae7bf828cd
Fix tests on MacOS
2015-02-27 18:30:22 +01:00
Julien Duponchelle
ebb865d973
Export vpcs config path
2015-02-27 13:38:57 +01:00
Jeremy
985c23a40e
Explicitly import handlers so freezing application can find and include the right modules.
...
Do not import IOU on Windows to avoid importing unknown modules like fcntl on that platform.
2015-02-26 19:31:18 -07:00
Jeremy
58d92f1584
Fixes Dynamips console/aux ports restoration when loading a project.
2015-02-26 16:15:44 -07:00
Julien Duponchelle
62afef06af
After an iou reload you can write on the console
2015-02-26 15:47:47 +01:00
Julien Duponchelle
5e59145948
If you type reload inside iou you are no longer disconnected
2015-02-26 15:09:15 +01:00
Julien Duponchelle
29e8d91745
Do not output debug for ioucon standard telnet commands
2015-02-26 13:07:26 +01:00
Julien Duponchelle
5a58f6efc8
Fix a crash with Python 3.4 when you stop IOU
...
http://bugs.python.org/issue23140
2015-02-26 11:29:57 +01:00
Julien Duponchelle
c07b8c746e
Drop poll from Qemu
2015-02-26 10:18:52 +01: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
Jeremy
9dc713f31d
Fixes race condition when deleting empty legacy project files dir.
2015-02-25 17:38:36 -07:00
Jeremy
473eb0280e
Support for relative path in Dynamips.
2015-02-25 17:19:37 -07:00
Jeremy
de1be0961f
Do not return an error when creating the same project multiple times (for now).
2015-02-25 17:19:12 -07:00
Jeremy
54fc873be5
Prevent multiple projects with the same ID to be created.
2015-02-25 16:05:57 -07:00
Jeremy
349d9d4540
Fixes small issues when deleting Dynamips devices.
2015-02-25 11:52:52 -07:00
Julien Duponchelle
f12d3f07f7
Drop the old -files in the project
2015-02-25 18:23:41 +01:00
Julien Duponchelle
8434a286b6
Fix IOU old project import
...
Fixes #69
2015-02-25 16:35:13 +01:00
Julien Duponchelle
818676ce5e
Support relative path in iou
2015-02-25 16:26:17 +01:00
Julien Duponchelle
47f8ac00c0
Remove debug
2015-02-25 16:04:18 +01:00
Julien Duponchelle
4ea25739e5
Correctly check if qemu is running
...
Fixes #71
Related to #70
2015-02-25 15:46:05 +01:00
grossmj
3528efb1e0
Fixes packet capture for devices when spaces are present in the output file.
2015-02-24 23:12:09 -07:00
Jeremy Grossmann
e910167a85
Quick change warning -> debug
2015-02-23 22:19:03 -07:00
Jeremy
49f3c9295f
Some debug messages to help with port allocation debugging.
2015-02-23 19:59:19 -07:00
Jeremy
42c07cee1a
Properly release UDP ports when closing a project or deleting a link.
2015-02-23 19:00:34 -07:00
Jeremy
3d3300e83a
Rename console methods in port manager to use the generic tcp term in the name.
...
Fixes bug when a console port is allocated to a Ghost VM instance and not released.
Warnings at exit when TCP/UDP ports are still allocated.
2015-02-23 17:42:55 -07:00
Jeremy
182d2e465e
Use projects_path & images_path.
2015-02-23 17:08:34 -07:00
Julien Duponchelle
4d1f08c96e
Turn off Qemu graphics if no display is available
...
Fixes #66
2015-02-23 20:21:00 +01:00
Julien Duponchelle
c9314ec509
autopep8 et upload files
2015-02-23 17:21:39 +01:00
Jeremy
210aa6f12a
Bit of cleaning.
2015-02-22 19:56:52 -07:00
Jeremy
565a7b35a6
Default NVRAM and Idle-PC for some IOS images.
2015-02-21 17:24:39 -07:00
Jeremy
9a745ed3f4
Merge remote-tracking branch 'origin/asyncio' into asyncio
2015-02-20 16:53:57 -07:00
Jeremy
af700e9bcb
Idle-PC and auto idle-pc for Dynamips.
2015-02-20 16:53:51 -07:00
Julien Duponchelle
cecf2f5014
Async qemu monitor reading
2015-02-21 00:15:56 +01:00
Julien Duponchelle
47be57dca7
Fix qemu close
2015-02-20 17:31:02 +01:00
Julien Duponchelle
8aa5514890
Qemu binary list
2015-02-20 14:39:13 +01:00
Jeremy
90f71e7581
Idle-PC proposals for Dynamips.
2015-02-19 19:14:30 -07:00
Jeremy
b393948b67
Fixes iouyap shutdown.
2015-02-19 16:58:44 -07:00
Jeremy
8d02f464c5
Dynamips import/export configs.
2015-02-19 16:04:15 -07:00
Julien Duponchelle
48f5c7c8b3
All params for qemu
2015-02-19 20:22:30 +01:00
Julien Duponchelle
d0244824bf
Get a working Qemu handler. Next step add all parameters
2015-02-19 19:43:45 +01:00
Julien Duponchelle
b03b9226ff
So we have running code for a qemu module
...
Now the handlers. The telnet code is not yet async
2015-02-19 16:46:57 +01:00
Julien Duponchelle
25bcbfb073
Allocation of console port in base vm
2015-02-19 11:45:43 +01:00
Jeremy
4a3e6632c1
Merge remote-tracking branch 'origin/asyncio' into asyncio
2015-02-18 18:40:16 -07:00
Jeremy
380c4d8211
Fixes capture directory path.
2015-02-18 18:40:01 -07:00
grossmj
3d1363150e
Fixes ghost file path.
2015-02-18 18:24:35 -07:00
grossmj
610dee957d
Use HTTP error 409 instead of 500 for VMError.
2015-02-18 17:48:02 -07:00
Julien Duponchelle
d65617657c
Fix old project directories renames
2015-02-18 16:13:09 +01:00
Julien Duponchelle
03b6563864
Initial config path for IOU
2015-02-17 18:12:43 +01:00