1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-19 23:08:09 +00:00
Commit Graph

1795 Commits

Author SHA1 Message Date
Julien Duponchelle
524f8991bc
Project status (opened / closed) 2016-06-15 16:26:16 +02:00
Julien Duponchelle
0569480953
Create link when loading topology on controller 2016-06-15 16:26:16 +02:00
Julien Duponchelle
742243e9df
Method for reloading a topology (not bind to an api handler)
Ref https://github.com/GNS3/gns3-gui/issues/1243
2016-06-15 16:26:16 +02:00
Julien Duponchelle
5ca9becdf9
Do not crash if we can not cleanup a temporay project
Fix #576
2016-06-15 11:08:31 +02:00
Julien Duponchelle
bb0db7846f
Fix black screen with Qt app in Docker container
Fix #556
2016-06-15 11:01:03 +02:00
Julien Duponchelle
e82862c69f
Detect when command in the container exit
Fix #571
2016-06-15 10:32:38 +02:00
Julien Duponchelle
d98a7aac19
Docker when exit aux console restart it
Ref #571
2016-06-15 10:21:30 +02:00
Julien Duponchelle
43a3584a5c
Pass by default the environment variable container=docker
Fix #573
2016-06-15 10:12:32 +02:00
Julien Duponchelle
049c348709
Fix busybox binary location
Fix #570
2016-06-14 23:09:28 +02:00
Jeremy Grossmann
3aea16c527 Merge pull request #568 from GNS3/watch_dynamips_change
Watch for dynamips rom & nvram change
2016-06-14 11:58:42 -06:00
Julien Duponchelle
d815d25bdf
Write .gns3 on server
Ref https://github.com/GNS3/gns3-gui/issues/1243
2016-06-14 12:04:23 +02:00
Julien Duponchelle
3255be0ae2
Drop the commit system
Ref https://github.com/GNS3/gns3-gui/issues/1243
2016-06-14 10:16:33 +02:00
Julien Duponchelle
52f852bc6d
Merge branch '1.5' into 2.0 2016-06-14 09:50:07 +02:00
grossmj
7beadd03a6 Merge remote-tracking branch 'origin/2.0' into 2.0 2016-06-13 15:07:40 -06:00
grossmj
31f4b52631 Add zeroconf. Ref #545. 2016-06-13 15:07:20 -06:00
Julien Duponchelle
343f2b574d
Avoid loosing console port for Docker
Fix #569
2016-06-13 21:20:29 +02:00
Julien Duponchelle
016c3e515b
Workaround a crash in x11vnc
Fix? #569
2016-06-13 20:12:42 +02:00
Julien Duponchelle
70431a5fa6
Send update of properties from controller only for controller stuffs
Fix #566
2016-06-13 18:46:30 +02:00
Julien Duponchelle
4f03c3011e
Delete volume when dropping the container
Fix #567
2016-06-13 17:39:04 +02:00
Julien Duponchelle
e183e7da27
Catch connection reset in ioucon 2016-06-13 16:28:26 +02:00
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
2016-06-13 15:57:36 +02:00
grossmj
2bde02d459 Controller side unique node name allocation. Ref #541. 2016-06-11 17:31:30 -06:00
Jeremy Grossmann
6cd136b423 Merge pull request #565 from GNS3/watch_iou
Monitor IOU NVRAM changes.
2016-06-10 22:33:56 -06:00
grossmj
b079cf9546 Fixes typo. 2016-06-10 22:33:07 -06:00
grossmj
c3c5eb533f Detect Wifi adapters on OSX. Fixes #549. 2016-06-10 12:36:41 -06:00
Julien Duponchelle
69334665d2
Monitor IOU nvram for change
With the save as you go we need to save the startup config
when a change appear instead of the old commit system.
2016-06-10 18:26:01 +02:00
Julien Duponchelle
182a979e71
Generic class for watch file change 2016-06-10 17:51:19 +02:00
Julien Duponchelle
1c6de3ff39
Fix an error when updating IOU node 2016-06-10 16:39:54 +02:00
Julien Duponchelle
2a5cf18d20
When using pool raise again exception received 2016-06-10 14:42:46 +02:00
grossmj
e46171b826 Merge branch '1.5' into 2.0
Conflicts:
	gns3server/handlers/api/compute/iou_handler.py
2016-06-09 19:35:59 -06:00
grossmj
3c9e8507d1 Handle vmnet interfaces in the cloud on OSX. Fixes #554. 2016-06-09 19:00:33 -06:00
grossmj
a35f41e4dc Prevent users to connect the cloud to Wireless adapters on OSX. Fixes #549. 2016-06-09 18:42:14 -06:00
grossmj
313226786f Delete vlan.dat for L2IOL during config import. Fixes #1285. 2016-06-09 17:47:45 -06:00
Julien Duponchelle
dee9d423a3
Support for x,y,z,symbols,label in node object on controller
https://github.com/GNS3/gns3-gui/issues/1297
2016-06-09 16:47:58 +02:00
Julien Duponchelle
70345abc2a
Try cleaner close of the compute node
Ref #547
2016-06-08 17:18:40 +02:00
Julien Duponchelle
fe98163bd0
Send controller images only for qemu, iou and dynamips 2016-06-08 15:59:54 +02:00
Julien Duponchelle
1b530bde3f
Fix Compute name is lost at save
Fix #562
2016-06-08 14:25:11 +02:00
Julien Duponchelle
add546158f
List images return images on compute and controller
Fix #506
2016-06-08 14:14:03 +02:00
Julien Duponchelle
08e482004f
Auto upload missing images 2016-06-07 19:38:01 +02:00
Julien Duponchelle
972cbd0594
Cleanly forward exception from compute to controller 2016-06-07 16:06:37 +02:00
Julien Duponchelle
d8bdd16e13
Raise an error if image is missing on compute 2016-06-07 15:34:04 +02:00
Julien Duponchelle
dcebaf61b8
Do not timeout forwarded calls 2016-06-07 11:21:47 +02:00
Julien Duponchelle
d30abeca21
Merge branch '1.5' into 2.0 2016-06-07 10:56:55 +02:00
Julien Duponchelle
df7d26e418
Fix for copy VOLUMES by @ehlers 2016-06-07 09:27:37 +02:00
Julien Duponchelle
c829a250a9
Revert "Integrate fixes from @ehlers"
This reverts commit 775ee4259e.
2016-06-07 09:26:27 +02:00
Julien Duponchelle
8909c4211c
Support upload images 2016-06-06 19:55:54 +02:00
Julien Duponchelle
582e3c72ff
Forward post with large content to compute 2016-06-06 19:51:35 +02:00
Julien Duponchelle
775ee4259e
Integrate fixes from @ehlers 2016-06-06 18:27:49 +02:00
Julien Duponchelle
d108fc6e94
Support all path for forward to compute 2016-06-06 18:26:13 +02:00
Julien Duponchelle
06b54d82dc
Support forwarding POST request to compute nodes 2016-06-06 15:45:32 +02:00
Julien Duponchelle
61ac8763f2
Merge branch '1.5' into 2.0 2016-06-06 14:28:21 +02:00
Julien Duponchelle
e335015520
Copy original ressources from VOLUMES
Fix #561
2016-06-06 12:39:29 +02:00
grossmj
65bfb4b907 Remove debug print. 2016-06-02 21:32:46 -06:00
Julien Duponchelle
8c760f3ccc
Fix some compute_id detection 2016-06-02 19:55:10 +02:00
Julien Duponchelle
eaf621cc57
Generic forward call to compute node (especially for qemu with require a
lot of call)
2016-06-02 19:38:16 +02:00
Julien Duponchelle
e05b0a396e
Disallow / in compute_id because it was a stupid idea 2016-06-02 18:38:47 +02:00
Julien Duponchelle
917c1c7f84
Expose /virtualbox/vms /vmwares/vms and /images via controller
Ref #1192, #537
2016-06-02 18:02:48 +02:00
Julien Duponchelle
fecd81655e
Support recursive image search
Fix #546
2016-06-02 16:44:38 +02:00
Julien Duponchelle
a702155230
Support multiple images location
Ref #546
2016-06-02 15:34:40 +02:00
Julien Duponchelle
cb7dbfb256
Merge branch '1.5' into 2.0 2016-06-02 13:47:40 +02:00
Julien Duponchelle
4afa5994e8
Fix stacktrace when exiting with Ctrl + C
Fix #547
2016-06-02 13:44:52 +02:00
grossmj
f47eb326c7 Revert move "/version" endpoint to "/server/version".
Move "/server/shutdown" endpoint to "/shutdown".
2016-06-01 18:21:07 -06:00
grossmj
cd07a99118 Some cleaning + move "/version" endpoint to "/server/version". 2016-06-01 17:50:31 -06:00
Julien Duponchelle
469187c584
1.5.0dev5 2016-06-01 20:32:23 +02:00
Julien Duponchelle
ad7ecb8850
1.5.0rc1 2016-06-01 20:24:48 +02:00
Julien Duponchelle
9b99a03cbf
Fix working dir when starting a docker container 2016-06-01 20:13:48 +02:00
Julien Duponchelle
3aed651062
Always use busybox for docker permission fix 2016-06-01 20:09:15 +02:00
Julien Duponchelle
435dc82873
Save an restore docker permission
Fix #550
2016-06-01 18:16:56 +02:00
Julien Duponchelle
87f15eafe0
Shutdown on controller
Ref https://github.com/GNS3/gns3-gui/issues/1191
2016-06-01 15:41:13 +02:00
Julien Duponchelle
ae687346f1
Export the list of volumes to a env variable accessible in the container
Ref #550
2016-06-01 11:39:42 +02:00
grossmj
f9d88d902a Remove NIOVMNET. 2016-05-31 19:16:55 -06:00
grossmj
f2eb2a4bdc Remove NAT NIO. 2016-05-31 19:06:48 -06:00
Julien Duponchelle
d3436756b2
Fix permissions and ownership when stopping container
Fix #550
2016-05-31 21:08:41 +02:00
Julien Duponchelle
6f7b06e66f
Fix a crash when docker start command is None
Ref #550
2016-05-31 16:32:12 +02:00
Julien Duponchelle
009ffcb4ef
Ubridge 0.9.4 is require
Ref #551
2016-05-31 15:46:07 +02:00
grossmj
f0e0988d6a Includes uBridge stdout in case of error. 2016-05-30 22:07:37 -06:00
grossmj
3f61fbeb0e Generate a MAC address using the project + node UUID. Ref #522. 2016-05-30 11:52:08 -06:00
Julien Duponchelle
e65648398b
Catch extra args in windows signal handler 2016-05-30 15:29:57 +02:00
Julien Duponchelle
6c1d7bad81
Catch extra args in windows signal handler 2016-05-30 15:29:17 +02:00
Julien Duponchelle
4c291f5051
Remove /config/reload
Fix #539, https://github.com/GNS3/gns3-gui/issues/1187
2016-05-30 15:24:38 +02:00
Julien Duponchelle
29127895b9
Fix the watch local server configuration file
Ref #539
2016-05-30 15:18:49 +02:00
grossmj
c1aad550fa Merge branch '1.5' into 2.0
Conflicts:
	gns3server/version.py
2016-05-29 19:52:15 -06:00
grossmj
59f22cd346 Functional cloud. Fixes #402. 2016-05-29 16:35:07 -06:00
grossmj
39a3f2fae2 Cloud schema and remove use_ubridge for VMware VM. 2016-05-28 21:46:48 -06:00
grossmj
ea7754f1c8 Allow to block network traffic originating from the host OS for vmnet interfaces (Windows only). 2016-05-28 13:39:21 -06:00
grossmj
914fe7e750 Randomize the 4th and 5th bytes when provided with a base mac address. Fixes #522. 2016-05-27 23:00:05 -06:00
Julien Duponchelle
8e3e3c08f8
Fix an import error when you have no GNS3 VM 2016-05-27 16:09:41 +02:00
Julien Duponchelle
e497e98ca1 Warn if you can not export a file due to permission issue
Fix #543
2016-05-27 14:45:02 +02:00
Julien Duponchelle
df654b40ff
Add a test 2016-05-26 13:43:35 +02:00
Julien Duponchelle
fbc04e083b
Allow empty password 2016-05-26 13:32:52 +02:00
Julien Duponchelle
84b12fd953
Support null in compute user and password 2016-05-26 10:11:11 +02:00
Julien Duponchelle
314a7cd8fb
Generate an uuid for compute node if None is provided 2016-05-25 14:10:03 +02:00
Julien Duponchelle
6162d7e431
Generated compute name include the username when it's exists 2016-05-25 13:58:29 +02:00
Julien Duponchelle
d469a2060d
Update a computes require only changed arguments 2016-05-25 11:48:09 +02:00
Julien Duponchelle
0063fb4615
Add 127.0.0.1:8080 in allowed CORS 2016-05-25 11:36:39 +02:00
Julien Duponchelle
dbda3fc8fc
Add method to delete and update computes 2016-05-25 11:28:13 +02:00
Julien Duponchelle
a797038aeb
Drop code for temporary projects
Fix https://github.com/GNS3/gns3-gui/issues/982
2016-05-24 17:57:04 +02:00
Julien Duponchelle
df73f80bf5
Auto create the local compute node 2016-05-24 15:45:06 +02:00
Julien Duponchelle
b126c396c9
Start all, with a controlled concurrency
Fix #536
2016-05-24 11:21:49 +02:00
Julien Duponchelle
da6cb13338
Merge branch '1.5' into 2.0 2016-05-24 10:13:53 +02:00