Commit Graph

1951 Commits (e0c5fdcf1c9168ddcf7f840915c679e9a6099301)

Author SHA1 Message Date
Julien Duponchelle 2a1c5cfd9c
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle 38a41a1cfd
1.5.0dev6
8 years ago
Julien Duponchelle 8fbfae6a98
1.5.0rc2
8 years ago
Julien Duponchelle aa5988788d
Strip user from compute in topology and return project filename
8 years ago
Julien Duponchelle c4d619ce3c
API for loading a project from a .gns3
8 years ago
Julien Duponchelle 6d36429870
Reload a topology work
8 years ago
Julien Duponchelle 524f8991bc
Project status (opened / closed)
8 years ago
Julien Duponchelle 0569480953
Create link when loading topology on controller
8 years ago
Julien Duponchelle 742243e9df
Method for reloading a topology (not bind to an api handler)
8 years ago
Julien Duponchelle 5ca9becdf9
Do not crash if we can not cleanup a temporay project
8 years ago
Julien Duponchelle bb0db7846f
Fix black screen with Qt app in Docker container
8 years ago
Julien Duponchelle e82862c69f
Detect when command in the container exit
8 years ago
Julien Duponchelle d98a7aac19
Docker when exit aux console restart it
8 years ago
Julien Duponchelle 43a3584a5c
Pass by default the environment variable container=docker
8 years ago
Julien Duponchelle 049c348709
Fix busybox binary location
8 years ago
Jeremy Grossmann 3aea16c527 Merge pull request #568 from GNS3/watch_dynamips_change
8 years ago
Julien Duponchelle d815d25bdf
Write .gns3 on server
8 years ago
Julien Duponchelle 3255be0ae2
Drop the commit system
8 years ago
Julien Duponchelle 52f852bc6d
Merge branch '1.5' into 2.0
8 years ago
grossmj 7beadd03a6 Merge remote-tracking branch 'origin/2.0' into 2.0
8 years ago
grossmj 31f4b52631 Add zeroconf. Ref #545.
8 years ago
Julien Duponchelle 343f2b574d
Avoid loosing console port for Docker
8 years ago
Julien Duponchelle 016c3e515b
Workaround a crash in x11vnc
8 years ago
Julien Duponchelle 70431a5fa6
Send update of properties from controller only for controller stuffs
8 years ago
Julien Duponchelle 4f03c3011e
Delete volume when dropping the container
8 years ago
Julien Duponchelle e183e7da27
Catch connection reset in ioucon
8 years ago
Julien Duponchelle 67c04a7855
Watch for dynamips rom & nvram change
8 years ago
grossmj 2bde02d459 Controller side unique node name allocation. Ref #541.
8 years ago
Jeremy Grossmann 6cd136b423 Merge pull request #565 from GNS3/watch_iou
8 years ago
grossmj b079cf9546 Fixes typo.
8 years ago
grossmj c3c5eb533f Detect Wifi adapters on OSX. Fixes #549.
8 years ago
Julien Duponchelle 69334665d2
Monitor IOU nvram for change
8 years ago
Julien Duponchelle 182a979e71
Generic class for watch file change
8 years ago
Julien Duponchelle 1c6de3ff39
Fix an error when updating IOU node
8 years ago
Julien Duponchelle 2a5cf18d20
When using pool raise again exception received
8 years ago
grossmj e46171b826 Merge branch '1.5' into 2.0
8 years ago
grossmj 3c9e8507d1 Handle vmnet interfaces in the cloud on OSX. Fixes #554.
8 years ago
grossmj a35f41e4dc Prevent users to connect the cloud to Wireless adapters on OSX. Fixes #549.
8 years ago
grossmj 313226786f Delete vlan.dat for L2IOL during config import. Fixes #1285.
8 years ago
Julien Duponchelle dee9d423a3
Support for x,y,z,symbols,label in node object on controller
8 years ago
Julien Duponchelle 70345abc2a
Try cleaner close of the compute node
8 years ago
Julien Duponchelle fe98163bd0
Send controller images only for qemu, iou and dynamips
8 years ago
Julien Duponchelle 1b530bde3f
Fix Compute name is lost at save
8 years ago
Julien Duponchelle add546158f
List images return images on compute and controller
8 years ago
Julien Duponchelle 08e482004f
Auto upload missing images
8 years ago
Julien Duponchelle 972cbd0594
Cleanly forward exception from compute to controller
8 years ago
Julien Duponchelle d8bdd16e13
Raise an error if image is missing on compute
8 years ago
Julien Duponchelle dcebaf61b8
Do not timeout forwarded calls
8 years ago
Julien Duponchelle d30abeca21
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle df7d26e418
Fix for copy VOLUMES by @ehlers
8 years ago
Julien Duponchelle c829a250a9
Revert "Integrate fixes from @ehlers"
8 years ago
Julien Duponchelle 8909c4211c
Support upload images
8 years ago
Julien Duponchelle 582e3c72ff
Forward post with large content to compute
8 years ago
Julien Duponchelle 775ee4259e
Integrate fixes from @ehlers
8 years ago
Julien Duponchelle d108fc6e94
Support all path for forward to compute
8 years ago
Julien Duponchelle 06b54d82dc
Support forwarding POST request to compute nodes
8 years ago
Julien Duponchelle 61ac8763f2
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle e335015520
Copy original ressources from VOLUMES
8 years ago
grossmj 65bfb4b907 Remove debug print.
8 years ago
Julien Duponchelle 8c760f3ccc
Fix some compute_id detection
8 years ago
Julien Duponchelle eaf621cc57
Generic forward call to compute node (especially for qemu with require a
8 years ago
Julien Duponchelle e05b0a396e
Disallow / in compute_id because it was a stupid idea
8 years ago
Julien Duponchelle 917c1c7f84
Expose /virtualbox/vms /vmwares/vms and /images via controller
8 years ago
Julien Duponchelle fecd81655e
Support recursive image search
8 years ago
Julien Duponchelle a702155230
Support multiple images location
8 years ago
Julien Duponchelle cb7dbfb256
Merge branch '1.5' into 2.0
8 years ago
Julien Duponchelle 4afa5994e8
Fix stacktrace when exiting with Ctrl + C
8 years ago
grossmj f47eb326c7 Revert move "/version" endpoint to "/server/version".
8 years ago
grossmj cd07a99118 Some cleaning + move "/version" endpoint to "/server/version".
8 years ago
Julien Duponchelle 469187c584
1.5.0dev5
8 years ago
Julien Duponchelle ad7ecb8850
1.5.0rc1
8 years ago
Julien Duponchelle 9b99a03cbf
Fix working dir when starting a docker container
8 years ago
Julien Duponchelle 3aed651062
Always use busybox for docker permission fix
8 years ago
Julien Duponchelle 435dc82873
Save an restore docker permission
8 years ago
Julien Duponchelle 87f15eafe0
Shutdown on controller
8 years ago
Julien Duponchelle ae687346f1
Export the list of volumes to a env variable accessible in the container
8 years ago
grossmj f9d88d902a Remove NIOVMNET.
8 years ago
grossmj f2eb2a4bdc Remove NAT NIO.
8 years ago
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
9 years ago
Julien Duponchelle 9beca700a5
PEP8
9 years ago
Julien Duponchelle 8e429ee4c1
Ban port dissalowed by chrome and firefox
9 years ago
Julien Duponchelle f3095d94c1
Replace port in HTTP flow for docker
9 years ago
Julien Duponchelle 5fd385159c
HTTP support for docker
9 years ago
Julien Duponchelle dcbaa62df8
Better aux console for docker
9 years ago
Julien Duponchelle e9fb7f4981
Make sure an image is not partially uploaded
9 years ago
Julien Duponchelle d952718f30
Fix RuntimeWarning: You have iterated over the result of
9 years ago
Julien Duponchelle 98b32cd9e2
Merge branch '1.5' into 2.0
9 years ago
Julien Duponchelle c17e00204f
Auto reconnect to docker if connection was closed
9 years ago
Julien Duponchelle 936faaba5a
gns3z => gns3project
9 years ago
grossmj 5c1522f24a Bump version to 1.5.0dev2
9 years ago
Julien Duponchelle 848120c354
1.4.7dev1
9 years ago
Julien Duponchelle 8a19afd618
1.4.6
9 years ago
Julien Duponchelle 815ef6066d
Merge branch 'master' into 1.5
9 years ago
Julien Duponchelle 85f571ee8b
Solve wintypes import
9 years ago
Julien Duponchelle cf1b7ebe1f
Raise error if qemu can not create backing image
9 years ago
grossmj 4fc5364ab5 More robust save/restore for VirtualBox linked clone VM hard disks.
9 years ago
grossmj 4a91d8a6a5 Prevent non linked cloned hard disks to be detached when using VirtualBox linked cloned VMs. Fixes #1184.
9 years ago
Julien Duponchelle f98f6bf3ed
Close doesn't exists when stopping the capture
9 years ago
grossmj b408f29726 Stricter checks to match VMware version to the right vmrun (VIX library) version.
9 years ago
Julien Duponchelle 92d1594afd
Return link object when start capturing
9 years ago
Julien Duponchelle 76b2ca2bc0
Return the full path to the capture
9 years ago
Julien Duponchelle 264254e657
Captures written in the captures directory on the controller
9 years ago
Julien Duponchelle 9a1eeb57e9
Controll of the project directory in the controller
9 years ago
Julien Duponchelle 893b05d26b
Removed unused code
9 years ago
Julien Duponchelle 7390d833ba
Merge branch 'master' into 2.0
9 years ago
Julien Duponchelle 1d08d4a5fa
Merge branch 'master' into 1.5
9 years ago
Julien Duponchelle 8777e027b0
Merge branch '1.5' into 2.0
9 years ago
Julien Duponchelle 6d6e8196d2
Allow only .pcap to be downloaded from remote stream API
9 years ago
Julien Duponchelle 75196b8a55
Fix incrementation of qemu mac address
9 years ago
Julien Duponchelle 7ffdd0fab1
Fix broken connectivity between containers
9 years ago
Julien Duponchelle 1ce576c020
Stream pcap from compute to controller to client
9 years ago
Julien Duponchelle 48e71617d6
Store capture in a temporary directory on compute node
9 years ago
Julien Duponchelle 30f05c6190
Merge branch '1.5' into 2.0
9 years ago
Julien Duponchelle 637a7326ec
Ignore captures during project export
9 years ago
Julien Duponchelle 4a99a172a3
Show on wich compute node a VM is running in the debug page
9 years ago
Julien Duponchelle 1a22fb9250
Expose the capture status in controller link API
9 years ago
Julien Duponchelle 549a6280c0
Data link type is on the capture not on the link
9 years ago
Julien Duponchelle 04a1b2df3b
Method for start / stop capture on a link
9 years ago
Julien Duponchelle 78a9785819
Missing qemu for VM creation via controller
9 years ago
Julien Duponchelle ee0f1eb5fb
Forward 503 error
9 years ago
Julien Duponchelle f6593663b5
APi for listing VM in controller
9 years ago
Julien Duponchelle c8c61f2ae8
Add endpoint to list the compute nodes
9 years ago
Julien Duponchelle f5e5cf5059
Save the list of compute node
9 years ago
Julien Duponchelle 6463007ef1
Remove debug
9 years ago
Julien Duponchelle d8005f6d4f
Cleanup unused code
9 years ago
Julien Duponchelle ce5461aee8
Raise error if we try to controll a non controller server
9 years ago
Julien Duponchelle 9349bdc916
Fix documentation
9 years ago
Julien Duponchelle 6b9e46950c
Update VPCS and delete VPCS via controller
9 years ago
Julien Duponchelle d7ed37ce02
Update and delete VM on controller
9 years ago
Julien Duponchelle 6c11ad5fa6
Reload VM
9 years ago
Julien Duponchelle 58d4a529d4
Rename hypervisor to compute
9 years ago
Julien Duponchelle 3185baff0d
Start / Stop / Suspend marche
9 years ago
Julien Duponchelle 2841b5769e
Lock for controller or compute
9 years ago
Julien Duponchelle 7f77c66888
Support VMware VM in non standard location for fusion
9 years ago
Julien Duponchelle 2055cdea5e
/start /stop and /suspend API for VM via container
9 years ago
Julien Duponchelle ad7ca86f32
Fix 1.5 merge
9 years ago
Julien Duponchelle 183d02ded5
Restore qcow2 module
9 years ago
Julien Duponchelle 6b61811f9d
Merge branch '1.5' into 2.0
9 years ago
Julien Duponchelle b7a859fa30
Import / Export with images
9 years ago
Julien Duponchelle cd393491d5
At export use only relative image path
9 years ago