grossmj
3497deaa31
Allow virtual machines to use files in project directory as disk images.
6 years ago
grossmj
2764828f38
Refactor how clients access PCAP capture files. Fixes https://github.com/GNS3/gns3-gui/issues/2438 .
...
* The PCAP file is directly accessed if controller and client are on the same host.
* The PCAP file is streamed from the compute server to the client with the controller as a proxy when the controller is remote for the client.
6 years ago
grossmj
76af98404a
Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
6 years ago
grossmj
9de13c570c
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/builtin/nodes/cloud.py
# gns3server/compute/docker/docker_vm.py
# gns3server/compute/dynamips/nodes/ethernet_switch.py
# gns3server/compute/iou/iou_vm.py
# gns3server/compute/qemu/qemu_vm.py
# gns3server/compute/virtualbox/virtualbox_vm.py
# gns3server/compute/vmware/vmware_vm.py
# gns3server/controller/__init__.py
# gns3server/version.py
# gns3server/web/web_server.py
6 years ago
grossmj
4a6202fa84
Update setup.py and fix minor issues.
6 years ago
grossmj
33e8710495
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/docker/docker_vm.py
# gns3server/controller/compute.py
# gns3server/controller/gns3vm/__init__.py
# gns3server/controller/link.py
# gns3server/controller/project.py
# gns3server/handlers/api/controller/project_handler.py
# gns3server/handlers/api/controller/server_handler.py
# gns3server/utils/asyncio/__init__.py
# gns3server/utils/asyncio/telnet_server.py
# gns3server/version.py
# gns3server/web/web_server.py
# tests/compute/qemu/test_qemu_vm.py
6 years ago
grossmj
3560cda06c
Use asyncio.ensure_future() instead of asyncio.async() with conservative approach to support Python < 3.4.4. Fixes https://github.com/GNS3/gns3-gui/issues/2566
6 years ago
grossmj
033f005bde
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/docker/docker_vm.py
# gns3server/version.py
6 years ago
grossmj
12e71a2917
Set lower process priority when computing idle-pc value on Windows. Ref #2522 .
6 years ago
grossmj
2ea0aa5ded
Merge branch '2.1' into 2.2
...
# Conflicts:
# gns3server/compute/iou/iou_vm.py
# gns3server/compute/virtualbox/virtualbox_vm.py
# gns3server/compute/vmware/vmware_vm.py
7 years ago
grossmj
5c4f6dd3dc
Do not fail a Dynamips project conversion if a file being used.
7 years ago
grossmj
a12c5a95b0
Catch exceptions when using AsyncioTelnetServer. Fixes #1321 .
7 years ago
grossmj
e52775fa3a
Support for console type "none".
7 years ago
grossmj
a40fdb3641
Fix bug and add optimizations when connecting and sending commands to QEMU monitor after starting a VM. Fixes #2336 .
7 years ago
grossmj
85dcb985eb
Fix packet filters for Dynamips.
7 years ago
grossmj
8b91894fa4
Improve suspend a link for Qemu and VirtualBox VMs.
...
A suspended link will be unplugged allowing the VMs to be notified
of the change.
7 years ago
grossmj
90ce6093d8
Some spring cleaning.
7 years ago
grossmj
658aa4bae9
Merge 2.1 into 2.2 branch
7 years ago
grossmj
7c14e21f4a
Different approach to handle no data returned by Dynamips or uBridge hypervisors. Fixes #1289 .
7 years ago
grossmj
a3a0657502
Do not raise exception if Dynamips or uBridge hypervisor don't return data and are still running. Fixes #1289
7 years ago
grossmj
3ca4f72b99
Fix Dynamips private config not loaded into nvram when starting a router. Fixes #1313 .
7 years ago
grossmj
c93d0d8d12
Make sure we don't try to read when opening a file in binary more. Fixes #1301 .
7 years ago
ziajka
eeae07e783
Conservative approach to supported versions of Python 3.4 and asyncio.ensure_future, Ref. #1269
7 years ago
ziajka
d9a0ec9ff3
Replace asyncio.async with ensure_future because of deprecation, Fixes : #1269
7 years ago
Dušan Dragić
6789989cb9
Rename ethernet switch arp command to mac
7 years ago
grossmj
f48549a997
Validate idle-pc values for auto idle-pc feature.
7 years ago
ziajka
860ca3b35d
Remotely close telnet console. Ref #2330
7 years ago
ziajka
96a0b52cf8
EthernetSwitch closing connections, Ref: gui/#2330
7 years ago
grossmj
47e8392ceb
Use uuid4() for temporary node name while duplicating a node.
7 years ago
Julien Duponchelle
0854c04687
API for duplication a Node
...
Support:
* VPCS
* Dynamips router
* Ethernet switch
Ref #1065
7 years ago
Julien Duponchelle
86f1201276
Support packet filtering for dynamips
...
Fix #1109
7 years ago
Julien Duponchelle
cf17176bfc
Fix recreate a link with dynamips
...
Fix #1122
7 years ago
grossmj
5112f6fe56
Small changes for Dynamips NIO UDP.
7 years ago
Julien Duponchelle
557924e91a
Use ubridge for dynamips routers
...
Ref #1109
7 years ago
Julien Duponchelle
7f4eeb56fa
Remove unusued code
7 years ago
Julien Duponchelle
bcdac6c969
Fix test for ethernet switch show arp
7 years ago
grossmj
ad850f3857
Add port number in arp command output for Ethernet switch.
7 years ago
Julien Duponchelle
5616ab0e9a
Fake console for simple Ethernet switch
...
Fix #454
7 years ago
Julien Duponchelle
cd17ef6b12
Merge branch '2.0' into 2.1
7 years ago
grossmj
942cc09eda
Fixes issue with connections when loading an ATM switch.
7 years ago
grossmj
18cfcaa081
Fixes ATM mapping.
7 years ago
grossmj
87d42f4eb9
Fixes Frame-relay VC mapping.
7 years ago
Julien Duponchelle
3070a68273
Fix unicode error when reading ios configuration
...
Fix #1013
8 years ago
Julien Duponchelle
bda36081a9
Fix AttributeError: 'NoneType' object has no attribute 'send'
...
Fix #1014
8 years ago
Julien Duponchelle
04220846b3
Fix an error with ethernetswitch when ethertype is null
...
Fix #1007
8 years ago
Julien Duponchelle
694a4e8068
Raise an error if we can't create the dynamips configuration directory
...
Fix #992
8 years ago
Julien Duponchelle
4f1b738ef5
Merge branch '2.0' into 2.1
8 years ago
Julien Duponchelle
935ca17d7a
Allow to change some properties of an already connected ethernet switch
...
Fix https://github.com/GNS3/gns3-gui/issues/1970
8 years ago
Julien Duponchelle
42f409d5f9
Fix race conditions in creation of Frame Relay Switch
8 years ago
Julien Duponchelle
1ab9ca2333
Merge branch '2.0' into 2.1
8 years ago
Julien Duponchelle
70e2b87ff0
Patch hostname in configuration file even if name is unsync
...
Ref https://github.com/GNS3/gns3-gui/issues/1889
8 years ago
Julien Duponchelle
366c567864
Fix restoration of private config when using dynamips
...
Fix #906
8 years ago
Julien Duponchelle
2884a40769
Fix error when the startup config file is missing
...
Fix https://github.com/GNS3/gns3-gui/issues/1877
8 years ago
Julien Duponchelle
132a7bfeb7
Catch an error in etherswitch when ubridge die
...
Fix #907
8 years ago
Julien Duponchelle
e892e5dfab
Manage base configuration on server
...
Fix #786
8 years ago
Jeremy Grossmann
ec0181a5ad
Merge pull request #856 from GNS3/dynamips_directory_layout
...
Change directory layout for dynamips.
8 years ago
Julien Duponchelle
6150929a5b
Support conversion to dynamips new directory layout on remote
...
Ref https://github.com/GNS3/gns3-gui/issues/1761
8 years ago
Julien Duponchelle
b63273ec97
Fix resume of dynamips routers
...
Fix #1754
8 years ago
Julien Duponchelle
a2fdc92fcb
Change directory layout for dynamips.
...
This create a directory by node to allow feature like save as
to work when running on multiple compute. Benefits now dynamips work
like other nodes. Old topologies are migrated.
Ref https://github.com/GNS3/gns3-gui/issues/1761
8 years ago
Julien Duponchelle
6778b29fc0
Prevent a crash when you close a dynamips node and create a link at the same time
...
Fix #853
8 years ago
Julien Duponchelle
30f29d00c4
Fix hardware virtualization detection when an ethernet switch is running
...
Fix https://github.com/GNS3/gns3-gui/issues/1722
8 years ago
Julien Duponchelle
8f42122702
Fix 'EthernetSwitch' object has no attribute 'hw_virtualization'
...
Fix #828
8 years ago
Julien Duponchelle
d2f0cddbd7
Fix trouble with builtin devices when we free ports
...
Fix #825
8 years ago
Julien Duponchelle
9872fc09b7
When a dynamips command failed display the full command to the user
...
Ref #825
8 years ago
Julien Duponchelle
35c2e2fcc4
Fix a wrong error message
8 years ago
Julien Duponchelle
49315adf79
Do not recurse scan for images in standard image directory
...
Fix https://github.com/GNS3/gns3-gui/issues/1680
8 years ago
Julien Duponchelle
106915f419
Return md5sum and filesize in the list of images
...
Ref https://github.com/GNS3/gns3-gui/issues/1590
8 years ago
Julien Duponchelle
19be2d85b7
Fix Snapshot restore does not work with IOS routers
...
Fix https://github.com/GNS3/gns3-gui/issues/1583
8 years ago
Julien Duponchelle
241c9b0c11
Fix Error when converting some dynamips topologies from 1.3 => 2.0
...
Fix #718
8 years ago
Julien Duponchelle
2b9c190bcf
Handle errors when startup config path is wrong
...
Fix #715
8 years ago
Julien Duponchelle
f6b34e2434
Bug fixes on Hub
8 years ago
Julien Duponchelle
2b1fab6742
Conversion issue for switch & hub from 1.5 to 2.0
...
Fix #694
8 years ago
Julien Duponchelle
056ae41d56
Fix invalid content in the dynamips export
...
Fix #1527
8 years ago
Julien Duponchelle
2f0e2260ab
Move the generation of the list of ports to the server
...
Ref #676
8 years ago
Julien Duponchelle
f06c00fdb8
Fix Can't remove a slot from dynamips device
...
Fix https://github.com/GNS3/gns3-gui/issues/1510
8 years ago
Julien Duponchelle
bbc1505274
Return what is supported by a compute node
...
Ref https://github.com/GNS3/gns3-gui/issues/1448
8 years ago
Julien Duponchelle
72fe5d3489
Merge branch 'master' into 2.0
8 years ago
Julien Duponchelle
3ca4edef93
Update project API
8 years ago
Julien Duponchelle
6949976d12
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle
67c04a7855
Watch for dynamips rom & nvram change
...
This monitor for change the file from dynamips by computing a
hash of the watched file.
The way dynamips work prevent the update of the modification time.
We can improve that by using native system for watching file but:
* it's require dependencies specific for each OS
* dependencies use C extensions
* this is only a backup if your router is cleanly shutdown we export
stuff
8 years ago
Julien Duponchelle
08e482004f
Auto upload missing images
8 years ago
Julien Duponchelle
d8bdd16e13
Raise an error if image is missing on compute
8 years ago
Julien Duponchelle
da6cb13338
Merge branch '1.5' into 2.0
8 years ago
grossmj
6d5085910c
Frame Relay and ATM switches migrated to the new API.
8 years ago
grossmj
57fd72c35c
Ethernet hub and Ethernet switch almost fully migrated to the new API.
8 years ago
Julien Duponchelle
672a617102
Compute IDLE PC via controller
...
Fix #1234
8 years ago
Julien Duponchelle
d5895c3a47
Merge branch '1.5' into 2.0
8 years ago
grossmj
7ebbdcd47c
Functional Ethernet hub with new API. Uses Dynamips backend by default for now.
8 years ago
Julien Duponchelle
f052299eb1
Return status in all cases
8 years ago
Julien Duponchelle
5c8b3f3f4c
Avoid crash at capture startup with dynamips
8 years ago
grossmj
7a523990a6
Base for generic switch nodes. Ref #492 .
8 years ago
grossmj
5b604da33a
Make sure nodes send the right notification when started, stopped or suspended.
9 years ago
Julien Duponchelle
5280644327
Return command_line and node_directory via the controller
9 years ago
grossmj
5a76f81271
Refactoring to use a common node class for all VMs and other (future) objects.
9 years ago
Julien Duponchelle
9dca7dfe4a
Merge branch '1.5' into 2.0
9 years ago
Julien Duponchelle
58d4a529d4
Rename hypervisor to compute
...
Fix #487
9 years ago