Commit Graph

1873 Commits (fb3b6b62f57f2b6baad63bd6708f2040a64db92a)

Author SHA1 Message Date
Julien Duponchelle d3436756b2
Fix permissions and ownership when stopping container
8 years ago
Julien Duponchelle 6f7b06e66f
Fix a crash when docker start command is None
8 years ago
Julien Duponchelle 009ffcb4ef
Ubridge 0.9.4 is require
8 years ago
grossmj f0e0988d6a Includes uBridge stdout in case of error.
8 years ago
grossmj 3f61fbeb0e Generate a MAC address using the project + node UUID. Ref #522.
8 years ago
Julien Duponchelle e65648398b
Catch extra args in windows signal handler
8 years ago
Julien Duponchelle 6c1d7bad81
Catch extra args in windows signal handler
8 years ago
Julien Duponchelle 4c291f5051
Remove /config/reload
8 years ago
Julien Duponchelle 29127895b9
Fix the watch local server configuration file
8 years ago
grossmj c1aad550fa Merge branch '1.5' into 2.0
8 years ago
grossmj 59f22cd346 Functional cloud. Fixes #402.
8 years ago
grossmj 39a3f2fae2 Cloud schema and remove use_ubridge for VMware VM.
8 years ago
grossmj ea7754f1c8 Allow to block network traffic originating from the host OS for vmnet interfaces (Windows only).
8 years ago
grossmj 914fe7e750 Randomize the 4th and 5th bytes when provided with a base mac address. Fixes #522.
8 years ago
Julien Duponchelle 8e3e3c08f8
Fix an import error when you have no GNS3 VM
8 years ago
Julien Duponchelle e497e98ca1 Warn if you can not export a file due to permission issue
8 years ago
Julien Duponchelle df654b40ff
Add a test
8 years ago
Julien Duponchelle fbc04e083b
Allow empty password
8 years ago
Julien Duponchelle 84b12fd953
Support null in compute user and password
8 years ago
Julien Duponchelle 314a7cd8fb
Generate an uuid for compute node if None is provided
8 years ago
Julien Duponchelle 6162d7e431
Generated compute name include the username when it's exists
8 years ago
Julien Duponchelle d469a2060d
Update a computes require only changed arguments
8 years ago
Julien Duponchelle 0063fb4615
Add 127.0.0.1:8080 in allowed CORS
8 years ago
Julien Duponchelle dbda3fc8fc
Add method to delete and update computes
8 years ago
Julien Duponchelle a797038aeb
Drop code for temporary projects
8 years ago
Julien Duponchelle df73f80bf5
Auto create the local compute node
8 years ago
Julien Duponchelle b126c396c9
Start all, with a controlled concurrency
8 years ago
Julien Duponchelle da6cb13338
Merge branch '1.5' into 2.0
8 years ago
grossmj 3fd0a6d638 Do not delete adapters when stopping a VMware VM. Ref #1066.
8 years ago
grossmj 851ba074e7 Set default VMware VM adapter type to e1000.
8 years ago
Julien Duponchelle 0aa81b5fa5
Send event when adding compute node or modify it (for server sumary)
8 years ago
Julien Duponchelle cdd54b951a
1.5.0 dev 4
8 years ago
Julien Duponchelle 1ddb16eca0
1.5.0b1
8 years ago
Julien Duponchelle f6a3899603
Return a compute name it could be different of compute id
8 years ago
grossmj 7d055968e5 First step towards the cloud node re-factoring.
8 years ago
grossmj 7bc0570735 Allow an IOS router to stop even the Dynamips hypervisor command fail to be sent. Ref #488.
8 years ago
grossmj 1ae17b74df Extract private-config only when necessary (content is different than the default). Fixes #520.
8 years ago
grossmj cb6df28f59 Fixes disabling the VPCS relay feature. Fixes #521.
8 years ago
grossmj 3e89543ab9 Fixes wrong exception in Docker VM implementation.
8 years ago
grossmj a2ebbaa322 Force Npcap DLL to be used first for Dynamips and uBridge (instead of the one from Winpcap if installed).
8 years ago
grossmj 67e346ba92 Fixed startup-config is lost if you change any IOS router settings. Fixes #1233.
8 years ago
grossmj acdc1e5ebb Fixes check for NPF service and add check for NPCAP service on Windows.
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
8 years ago
Julien Duponchelle 00f80f54e8
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle 2bb062c61e
Fix ProcessLookupError X11VNC
8 years ago
Julien Duponchelle a741662636
Force tag latest for docker image if no tag is specified
8 years ago
Julien Duponchelle b00a09efaa
Test link.updated event
8 years ago
Julien Duponchelle 54747ee618
Support for link event, fix link not correctly deleted
8 years ago
Julien Duponchelle fa0af7f4a2
Correctly process node.updated event on controller
8 years ago
Julien Duponchelle 694e1a2e68
Extract the notification part of controller to a dedicated class
8 years ago
Julien Duponchelle d86cefaaeb
Support node without console
8 years ago
Julien Duponchelle d5895c3a47
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle 871fea33e0
Cleanup unbreakable space
8 years ago
Julien Duponchelle 82f82f8cf9
Send updated event when you update the node
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 c4ebdc0e37
Allow cors from Github pages demo site
8 years ago
Julien Duponchelle b07dcf552c
Add an endpoint for listing the links of a project
8 years ago
Julien Duponchelle ce0d715895
Fix Deleted node are still return by the API
8 years ago
Julien Duponchelle 342bcdb5b6
CORS support
8 years ago
Julien Duponchelle b44c2ea713
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle 8cb5cedb5d
Do not raise error if vmrun.exe is named vmrun.EXE
8 years ago
Julien Duponchelle da81b49fdc
Delete the project on all node where the project is created
8 years ago
Julien Duponchelle a496aaab9e
Send node.updated event and tests are green
8 years ago
Julien Duponchelle 5c8b3f3f4c
Avoid crash at capture startup with dynamips
8 years ago
Julien Duponchelle 1eb77a0b3f
Fix docker support on 2.0
8 years ago
Julien Duponchelle a9b95eb242
If the compute node is remote do not send project path
8 years ago
Julien Duponchelle d97325b113
Fix you can not update Dynamips and IOU node
8 years ago
Julien Duponchelle f76f417e52
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle bc33683e47
Load docker api only for Linux
8 years ago
Julien Duponchelle ac24922300
Node deleted event
8 years ago
grossmj c88c67e8ef Updates Ethernet hub schema.
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.
8 years ago
grossmj 51738e19c3 Some spring cleanup for Docker VM.
8 years ago
grossmj f1bc2f22c3 Start, stop, suspend and reload endpoints for all nodes belonging to a project. Fixes #1212.
8 years ago
grossmj 6cea6c9162 Some more (spring) cleaning.
8 years ago
grossmj f81d35cc29 Handlers: cleanup and fixes.
8 years ago
Julien Duponchelle 885d93be02
Delete a node work
8 years ago
grossmj be1efe8327 Schemas review.
8 years ago
Julien Duponchelle 2857d9a070
Send a field status in the node object
8 years ago
Julien Duponchelle d43e78a1d7
Support all characters for compute ID
8 years ago
Julien Duponchelle b46a0ff4ae
Endpoint for getting information about a compute node
8 years ago
Julien Duponchelle 5280644327
Return command_line and node_directory via the controller
8 years ago
grossmj 801b94a964 Fixes VirtualBox VMs list images.
8 years ago
grossmj ef7b4ef020 Fixes tests and some PEP8.
8 years ago
grossmj 483431438a Merge remote-tracking branch 'origin/2.0' into 2.0
8 years ago
grossmj 5a76f81271 Refactoring to use a common node class for all VMs and other (future) objects.
8 years ago
Julien Duponchelle 9ccb55206d
Cleanup code for getting the default project directory
8 years ago
Julien Duponchelle a0344576ba
Show version for debug
8 years ago
Julien Duponchelle 95d2bd0065
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle fa140e991c
Merge branch 'master' into 1.5
8 years ago
Julien Duponchelle f4b79af45f
Move tools for creating self signed certificate to clean repo
8 years ago
Julien Duponchelle c2da568543
Protect controller and compute about path outside project directory
8 years ago
Julien Duponchelle 390401000f
A client could not erase the local compute node config in the controller
8 years ago
Julien Duponchelle cd836f146e
Create the project on compute only when needed
8 years ago
Julien Duponchelle f414ce459a
1.5.0dev3
8 years ago
Julien Duponchelle 366e9620dc
Prepare 1.5.0 alpha 2
8 years ago
Julien Duponchelle e108a9e136
Prepare alpha 1
8 years ago
Julien Duponchelle 9dca7dfe4a
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle 9e2043bfa8
Ensure that the connection to docker is closed when leaving server
8 years ago
Julien Duponchelle 28f7c2a1cd
Ensure in all cases the docker console is closed before restart
8 years ago
Jeremy Grossmann c7d58eb3b3 Merge pull request #518 from GNS3/detect_eth
8 years ago
Jeremy Grossmann 41f02dad54 Merge pull request #516 from GNS3/improve_parse_version
8 years ago
grossmj 76cc1d2750 Fixes call to export project.
8 years ago
Julien Duponchelle 2cdfd6c0d7
Wait for all interfaces available in container
8 years ago
Julien Duponchelle 57cf57b408
Improve parse_version
8 years ago
grossmj 16b5bb8810 Workaround for exception when using gns3server.utils.parse_version. Fixes #513.
8 years ago
Julien Duponchelle 56c153af79
Make HTTP support more reliable with home made HTTP server
8 years ago
Julien Duponchelle 9beca700a5
PEP8
8 years ago
Julien Duponchelle 8e429ee4c1
Ban port dissalowed by chrome and firefox
8 years ago
Julien Duponchelle f3095d94c1
Replace port in HTTP flow for docker
8 years ago
Julien Duponchelle 5fd385159c
HTTP support for docker
8 years ago
Julien Duponchelle dcbaa62df8
Better aux console for docker
8 years ago
Julien Duponchelle e9fb7f4981
Make sure an image is not partially uploaded
8 years ago
Julien Duponchelle d952718f30
Fix RuntimeWarning: You have iterated over the result of
8 years ago
Julien Duponchelle 98b32cd9e2
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle c17e00204f
Auto reconnect to docker if connection was closed
8 years ago
Julien Duponchelle 936faaba5a
gns3z => gns3project
8 years ago
grossmj 5c1522f24a Bump version to 1.5.0dev2
8 years ago
Julien Duponchelle 848120c354
1.4.7dev1
8 years ago
Julien Duponchelle 8a19afd618
1.4.6
8 years ago
Julien Duponchelle 815ef6066d
Merge branch 'master' into 1.5
8 years ago
Julien Duponchelle 85f571ee8b
Solve wintypes import
8 years ago
Julien Duponchelle cf1b7ebe1f
Raise error if qemu can not create backing image
8 years ago
grossmj 4fc5364ab5 More robust save/restore for VirtualBox linked clone VM hard disks.
8 years ago
grossmj 4a91d8a6a5 Prevent non linked cloned hard disks to be detached when using VirtualBox linked cloned VMs. Fixes #1184.
8 years ago
Julien Duponchelle f98f6bf3ed
Close doesn't exists when stopping the capture
8 years ago
grossmj b408f29726 Stricter checks to match VMware version to the right vmrun (VIX library) version.
8 years ago
Julien Duponchelle 92d1594afd
Return link object when start capturing
8 years ago
Julien Duponchelle 76b2ca2bc0
Return the full path to the capture
8 years ago
Julien Duponchelle 264254e657
Captures written in the captures directory on the controller
8 years ago
Julien Duponchelle 9a1eeb57e9
Controll of the project directory in the controller
8 years ago
Julien Duponchelle 893b05d26b
Removed unused code
8 years ago
Julien Duponchelle 7390d833ba
Merge branch 'master' into 2.0
8 years ago
Julien Duponchelle 1d08d4a5fa
Merge branch 'master' into 1.5
8 years ago
Julien Duponchelle 8777e027b0
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle 6d6e8196d2
Allow only .pcap to be downloaded from remote stream API
8 years ago
Julien Duponchelle 75196b8a55
Fix incrementation of qemu mac address
8 years ago
Julien Duponchelle 7ffdd0fab1
Fix broken connectivity between containers
8 years ago
Julien Duponchelle 1ce576c020
Stream pcap from compute to controller to client
8 years ago
Julien Duponchelle 48e71617d6
Store capture in a temporary directory on compute node
8 years ago
Julien Duponchelle 30f05c6190
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle 637a7326ec
Ignore captures during project export
8 years ago
Julien Duponchelle 4a99a172a3
Show on wich compute node a VM is running in the debug page
8 years ago
Julien Duponchelle 1a22fb9250
Expose the capture status in controller link API
8 years ago
Julien Duponchelle 549a6280c0
Data link type is on the capture not on the link
8 years ago
Julien Duponchelle 04a1b2df3b
Method for start / stop capture on a link
8 years ago
Julien Duponchelle 78a9785819
Missing qemu for VM creation via controller
8 years ago
Julien Duponchelle ee0f1eb5fb
Forward 503 error
8 years ago
Julien Duponchelle f6593663b5
APi for listing VM in controller
8 years ago
Julien Duponchelle c8c61f2ae8
Add endpoint to list the compute nodes
8 years ago
Julien Duponchelle f5e5cf5059
Save the list of compute node
8 years ago
Julien Duponchelle 6463007ef1
Remove debug
8 years ago
Julien Duponchelle d8005f6d4f
Cleanup unused code
8 years ago
Julien Duponchelle ce5461aee8
Raise error if we try to controll a non controller server
8 years ago
Julien Duponchelle 9349bdc916
Fix documentation
8 years ago
Julien Duponchelle 6b9e46950c
Update VPCS and delete VPCS via controller
8 years ago
Julien Duponchelle d7ed37ce02
Update and delete VM on controller
8 years ago
Julien Duponchelle 6c11ad5fa6
Reload VM
8 years ago
Julien Duponchelle 58d4a529d4
Rename hypervisor to compute
8 years ago
Julien Duponchelle 3185baff0d
Start / Stop / Suspend marche
8 years ago
Julien Duponchelle 2841b5769e
Lock for controller or compute
8 years ago
Julien Duponchelle 7f77c66888
Support VMware VM in non standard location for fusion
8 years ago
Julien Duponchelle 2055cdea5e
/start /stop and /suspend API for VM via container
8 years ago
Julien Duponchelle ad7ca86f32
Fix 1.5 merge
8 years ago
Julien Duponchelle 183d02ded5
Restore qcow2 module
8 years ago
Julien Duponchelle 6b61811f9d
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle b7a859fa30
Import / Export with images
8 years ago
Julien Duponchelle cd393491d5
At export use only relative image path
8 years ago
Julien Duponchelle 9e8fcab65c
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle ae5468a2d3
When starting docker raise proper error if ubridge is not available
8 years ago
grossmj ec6e5a6118 Do not send warnings back to the GUI when a console port not in range or is already taken.
8 years ago
Julien Duponchelle f1737a6e43
Merge branch 'master' into 1.5
8 years ago
Julien Duponchelle e3b95fe9ce
Just log debug if docker link we try to destroy is already closed
8 years ago
Julien Duponchelle dff74352f7
Allow multiple user connected to the same VNC for docker
8 years ago
Julien Duponchelle 977ccabf98
Server support for VNC console resolution
8 years ago
Julien Duponchelle ad6fb664a2
Fix detection of EOF in Docker telnet console
8 years ago
Jeremy Grossmann 6bc54b17c7 Merge pull request #481 from GNS3/import_linux
8 years ago
Jeremy Grossmann bb63f51f80 Merge pull request #478 from GNS3/qcow2_rebase
8 years ago
Julien Duponchelle b335daf857
Cleanup
8 years ago
Julien Duponchelle b93c85c390
Allow to change the number of adapters for Docker (server side)
8 years ago
Julien Duponchelle cb197627b4
Fix an issue with VNC port range
8 years ago
Julien Duponchelle 9b9eddb30c
Fix VNC broke after container update
8 years ago
Julien Duponchelle e564c84529
Flatten the project at export and support import for Linux
8 years ago
Julien Duponchelle 5531a576d1
Import create project if not exists (GNS3 VM just need an UUID)
8 years ago
Julien Duponchelle 9ed15e55af
Move more import code to the server
8 years ago
Julien Duponchelle 2651a48102
Fix the docker aux port is lost after an update
8 years ago
Julien Duponchelle 57394dfebf
Rebase the qcow2 when starting the VM if needed
8 years ago
Julien Duponchelle 7422b31b2c
Refactor code for avoid duplicate in disk management for Qemu
8 years ago
Julien Duponchelle 06b9e46cd2
Create Qcow2 class for reading Qcow2 and rebase it
8 years ago
Julien Duponchelle 36dbcfa7f6
Do not block when ifup
8 years ago
grossmj 6eca621b19 Clear warnings about using linked clones with VMware Player.
8 years ago
Julien Duponchelle 34459f6a88
Fix log with recent aiohttp versions
8 years ago
Julien Duponchelle e097a0e728
Fix Dynamips VM ignores changed console port
8 years ago
Julien Duponchelle 3b04f556b3
In the export rename the .gns3 to project.gns3
8 years ago
Julien Duponchelle bd71f0cf4c
Import API
8 years ago
Julien Duponchelle 879591eaf5
Export API
8 years ago
Bernhard Ehlers 498d006225 Minor cleanup on docker-init
8 years ago
Julien Duponchelle c1193c23c1
Merge branch 'master' into 1.5
8 years ago
grossmj ba006f105f Alternative method to find the Documents folder on Windows.
8 years ago
grossmj fa58b1f81c Check for NPF service on Windows.
8 years ago
grossmj d243cb7d02 New console port range 5000 to 10000.
8 years ago
Julien Duponchelle c563dbba8a
Change default port to 3080
8 years ago
Julien Duponchelle 5345fe8490
Minor code cleanup
8 years ago
Julien Duponchelle 2a20333877 Merge pull request #461 from GNS3/ehlers-docker-init
8 years ago
Julien Duponchelle 2e455037e1
Fix crash when you start twice the same container
8 years ago
Julien Duponchelle 23c48f5e3d
Add to project an API to write a file
8 years ago
Julien Duponchelle e6ddce86b3
Docker init supports /etc/network/interfaces
8 years ago
Julien Duponchelle 268c61ce80
Merge branch 'docker-init' of https://github.com/ehlers/gns3-server into ehlers-docker-init
8 years ago
Julien Duponchelle 2fcada49d4
2.0.0dev1
8 years ago
Julien Duponchelle 40f496c7e9
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle d2c32bb570
Merge branch 'master' into 1.5
8 years ago
Julien Duponchelle 3fe8016938
1.4.6 dev1
8 years ago
Julien Duponchelle 01dbaea2e4
1.4.5
8 years ago
grossmj 427cb05c2a Stop the VMware VM if there is an error while setting up the network connections or console.
8 years ago
Bernhard Ehlers d36a9f3403 docker-init: add DHCP support
8 years ago
grossmj fa22e19321 Bump version to 1.4.5dev2
8 years ago
Bernhard Ehlers d472f47829 docker-init: static busybox, support for /etc/network/interfaces
8 years ago
grossmj 975e1c8fa7 Fixes dev syntax bug.
8 years ago
grossmj 19b46a4014 Include VMware VMs paths found preferences.ini
8 years ago
grossmj 7cdf23f497 Allow to stop a VMware VM from GNS3 even if halted within the VM. Fixes #1118.
8 years ago
grossmj 06da40cdcd Keep Dynamips stdout log file in the project directory.
8 years ago
Julien Duponchelle bc14d5d78e
Notif forwarded from hypervisor to controller
8 years ago
Julien Duponchelle de61ed316c
The controller has a streaming API
8 years ago
Julien Duponchelle 76a0120d3e
PEP8
8 years ago
Julien Duponchelle b55969d381
Notification feed for the hypervisor
8 years ago
Julien Duponchelle d81fc25b27
Fix a merge error
8 years ago
Julien Duponchelle dd2fdcc574
Merge branch '1.5' into networkv2
8 years ago
Julien Duponchelle 174e7cccea
Merge branch 'master' into 1.5
8 years ago
Julien Duponchelle aa6c44a470
Fix crash when a n hypervisor return no body
8 years ago
Julien Duponchelle 757ee34dac
Support auth for network V2 hypervisors
8 years ago
Julien Duponchelle c0e452133d
Web interface for debbuging controller
8 years ago
Julien Duponchelle 7a095478fe
Success to add a dynamips with apiv2
8 years ago
grossmj a018c5b0f5 Get MAC addresses for host interfaces to use for filtering frames from vmnet interfaces.
8 years ago
Julien Duponchelle 8fed1d9b9f
API for deleting a link
8 years ago
Julien Duponchelle ed291da566
Rebuild doc
8 years ago
Julien Duponchelle 9062490be3
API for deleting a list
8 years ago
Julien Duponchelle 9771b33b68
Create link using UDP work
8 years ago
grossmj 93e2d4096d Dynamips uuid hypervisor command is no longer supported.
8 years ago
Julien Duponchelle 8cb5a6ec75
Typo
8 years ago
Julien Duponchelle 17c5d3048c
Cleanup
8 years ago
Julien Duponchelle 65099b9364
Link API should work now need to implement the client
8 years ago
Julien Duponchelle 8c1560332e
Remove /controller from the api endpoint
8 years ago
Julien Duponchelle e3580d52c3
Dummy link api documentation
8 years ago
Julien Duponchelle abdda4d3b3
Link API (do nothing for the moment)
8 years ago
Julien Duponchelle 6fad82c61d
Rebuild documentation
8 years ago
Julien Duponchelle 69bf8bbb4e
Fix doc generation
8 years ago