Julien Duponchelle
ff4fc5eb8b
Return proper JSON error when something goes wrong on any endpoint
2016-07-20 17:17:42 +02:00
Julien Duponchelle
f68c1f0bde
When exporting project raise error if export is not possible
2016-07-20 16:58:58 +02:00
Julien Duponchelle
08c35f5558
Export non remote server work
2016-07-20 14:50:15 +02:00
Julien Duponchelle
96eceed8ba
Fix creation of IOU nodes
2016-07-18 18:43:55 +02:00
Julien Duponchelle
c0abe0edfd
Merge branch 'master' into 2.0
2016-07-13 17:48:18 +02:00
Julien Duponchelle
fd0e8f89db
Fix VMware support
2016-07-12 16:29:58 +02:00
Julien Duponchelle
b98d4cb042
Fix Virtualbox support
2016-07-12 16:22:55 +02:00
Julien Duponchelle
9cd3231de3
Fix docker support in 2.0
2016-07-12 12:17:19 +02:00
grossmj
234f199558
Load/save GNS3 VM settings on controller side.
2016-07-11 21:43:01 -06:00
grossmj
13deecea4e
Basic API for GNS3 VM.
2016-07-11 17:01:18 -06:00
grossmj
d159cbcc6d
Rename /interfaces entry point to /network/interfaces. Ref #615 .
2016-07-10 11:22:08 -06:00
grossmj
08956e438c
Add NIO TAP support for Docker and VMware. Fixes #603 .
2016-07-06 22:00:39 -06:00
Julien Duponchelle
7fee90805b
Ensure we update all the label of a link with only one update notif
2016-07-01 21:56:42 +02:00
Julien Duponchelle
fea1e3ba61
Support update link on controller
...
Ref https://github.com/GNS3/gns3-gui/issues/1300
2016-07-01 17:38:32 +02:00
Julien Duponchelle
22f9effede
Save to disk when config change
2016-06-29 15:15:22 +02:00
Julien Duponchelle
c4d7a0b8fc
A settings API
...
Ref #589
2016-06-29 14:16:29 +02:00
Julien Duponchelle
8ec11619cd
Full symbol support on server
...
Fix #496
2016-06-28 22:23:34 +02:00
Julien Duponchelle
e77445e860
API for uploading symbols
2016-06-28 21:15:22 +02:00
Julien Duponchelle
5b4e668eb5
Move symbol static to /symbols
2016-06-28 18:17:48 +02:00
Julien Duponchelle
b66f7daa28
Beginning of the symbols from controller
...
Ref #496
2016-06-27 18:37:20 +02:00
grossmj
d79fb231d3
Use uBridge for VirtualBox connections plus some cleaning. Ref #267 .
2016-06-24 18:35:39 -06:00
grossmj
04022677bd
Use uBridge for Qemu connections. Ref #267 .
...
Handle packet captures for VPCS & Qemu nodes. Fixes #548 .
2016-06-23 16:56:06 -06:00
Julien Duponchelle
4c3bfde97e
Fix test suite after VPCS changes for using ubridge
2016-06-23 12:10:18 +02:00
Julien Duponchelle
852d8e411e
Shape => Drawing
2016-06-23 11:17:23 +02:00
grossmj
00da15e4af
Use uBridge for VPCS connections. Ref #267 .
2016-06-22 19:40:46 -06:00
Julien Duponchelle
116135b9dc
Item => Shape
2016-06-21 09:49:16 +02:00
Julien Duponchelle
85ebac7eb3
API for rectangle & co
...
Ref #498
2016-06-20 18:45:31 +02:00
Julien Duponchelle
411ca56b94
Fix Exception when closing local server (started by GUI)
...
Fix #578
2016-06-16 15:00:32 +02:00
Julien Duponchelle
c4d619ce3c
API for loading a project from a .gns3
2016-06-15 16:43:03 +02:00
Julien Duponchelle
6d36429870
Reload a topology work
2016-06-15 16:26:16 +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
grossmj
2bde02d459
Controller side unique node name allocation. Ref #541 .
2016-06-11 17:31:30 -06: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
313226786f
Delete vlan.dat for L2IOL during config import. Fixes #1285 .
2016-06-09 17:47:45 -06:00
Julien Duponchelle
add546158f
List images return images on compute and controller
...
Fix #506
2016-06-08 14:14:03 +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
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
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
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
87f15eafe0
Shutdown on controller
...
Ref https://github.com/GNS3/gns3-gui/issues/1191
2016-06-01 15:41:13 +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
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
Julien Duponchelle
8e3e3c08f8
Fix an import error when you have no GNS3 VM
2016-05-27 16:09:41 +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
b126c396c9
Start all, with a controlled concurrency
...
Fix #536
2016-05-24 11:21:49 +02:00
grossmj
7d055968e5
First step towards the cloud node re-factoring.
2016-05-22 19:24:14 -06:00
grossmj
6d5085910c
Frame Relay and ATM switches migrated to the new API.
2016-05-20 17:59:59 -06:00
grossmj
57fd72c35c
Ethernet hub and Ethernet switch almost fully migrated to the new API.
2016-05-19 22:45:04 -06:00
Julien Duponchelle
672a617102
Compute IDLE PC via controller
...
Fix #1234
2016-05-19 16:22:15 +02:00
Julien Duponchelle
54747ee618
Support for link event, fix link not correctly deleted
2016-05-18 18:37:18 +02:00
Julien Duponchelle
694e1a2e68
Extract the notification part of controller to a dedicated class
2016-05-18 14:56:23 +02:00
Julien Duponchelle
d86cefaaeb
Support node without console
...
Fix #532
2016-05-18 11:59:25 +02:00
Julien Duponchelle
d5895c3a47
Merge branch '1.5' into 2.0
2016-05-18 11:25:41 +02:00
Julien Duponchelle
871fea33e0
Cleanup unbreakable space
2016-05-18 11:23:45 +02:00
Julien Duponchelle
82f82f8cf9
Send updated event when you update the node
2016-05-18 11:03:13 +02:00
grossmj
7ebbdcd47c
Functional Ethernet hub with new API. Uses Dynamips backend by default for now.
2016-05-17 21:22:18 -06:00
Julien Duponchelle
b07dcf552c
Add an endpoint for listing the links of a project
2016-05-17 16:10:47 +02:00
Julien Duponchelle
ce0d715895
Fix Deleted node are still return by the API
...
Fix #529
2016-05-17 13:11:43 +02:00
Julien Duponchelle
1eb77a0b3f
Fix docker support on 2.0
...
Fix #528
2016-05-16 18:32:29 +02:00
grossmj
7a523990a6
Base for generic switch nodes. Ref #492 .
2016-05-15 11:23:14 -06:00
grossmj
f1bc2f22c3
Start, stop, suspend and reload endpoints for all nodes belonging to a project. Fixes #1212 .
2016-05-13 19:26:50 -06:00
grossmj
f81d35cc29
Handlers: cleanup and fixes.
2016-05-13 18:00:07 -06:00
Julien Duponchelle
d43e78a1d7
Support all characters for compute ID
2016-05-12 16:41:05 +02:00
Julien Duponchelle
b46a0ff4ae
Endpoint for getting information about a compute node
2016-05-12 16:35:14 +02:00
grossmj
801b94a964
Fixes VirtualBox VMs list images.
2016-05-11 16:45:17 -06:00
grossmj
ef7b4ef020
Fixes tests and some PEP8.
2016-05-11 15:19:00 -06:00
grossmj
5a76f81271
Refactoring to use a common node class for all VMs and other (future) objects.
2016-05-11 11:35:36 -06:00
Julien Duponchelle
9dca7dfe4a
Merge branch '1.5' into 2.0
2016-05-10 17:51:40 +02:00
grossmj
76cc1d2750
Fixes call to export project.
2016-05-07 10:39:32 -06:00
Julien Duponchelle
5fd385159c
HTTP support for docker
...
Fix #509
2016-05-03 16:49:33 +02:00
Julien Duponchelle
98b32cd9e2
Merge branch '1.5' into 2.0
2016-05-02 16:59:56 +02:00
Julien Duponchelle
936faaba5a
gns3z => gns3project
2016-05-02 10:33:04 +02:00
Julien Duponchelle
92d1594afd
Return link object when start capturing
2016-04-26 18:13:15 +02:00
Julien Duponchelle
264254e657
Captures written in the captures directory on the controller
2016-04-26 17:10:33 +02:00
Julien Duponchelle
1d08d4a5fa
Merge branch 'master' into 1.5
2016-04-26 11:49:24 +02:00
Julien Duponchelle
6d6e8196d2
Allow only .pcap to be downloaded from remote stream API
...
Fix #500
2016-04-26 09:52:18 +02:00
Julien Duponchelle
1ce576c020
Stream pcap from compute to controller to client
2016-04-22 16:22:03 +02:00
Julien Duponchelle
549a6280c0
Data link type is on the capture not on the link
2016-04-21 13:49:29 +02:00
Julien Duponchelle
04a1b2df3b
Method for start / stop capture on a link
...
Ref https://github.com/GNS3/gns3-gui/issues/1117
2016-04-21 12:14:09 +02:00
Julien Duponchelle
f6593663b5
APi for listing VM in controller
2016-04-20 14:38:14 +02:00
Julien Duponchelle
c8c61f2ae8
Add endpoint to list the compute nodes
2016-04-19 16:53:41 +02:00
Julien Duponchelle
6463007ef1
Remove debug
2016-04-19 15:17:02 +02:00
Julien Duponchelle
6b9e46950c
Update VPCS and delete VPCS via controller
2016-04-18 18:56:03 +02:00
Julien Duponchelle
d7ed37ce02
Update and delete VM on controller
2016-04-18 17:36:38 +02:00
Julien Duponchelle
6c11ad5fa6
Reload VM
2016-04-18 16:57:02 +02:00
Julien Duponchelle
58d4a529d4
Rename hypervisor to compute
...
Fix #487
2016-04-15 17:59:59 +02:00
Julien Duponchelle
2055cdea5e
/start /stop and /suspend API for VM via container
2016-04-12 18:02:36 +02:00
Julien Duponchelle
6b61811f9d
Merge branch '1.5' into 2.0
2016-04-12 16:14:37 +02:00
Julien Duponchelle
b7a859fa30
Import / Export with images
...
Ref https://github.com/GNS3/gns3-gui/issues/1173
2016-04-12 10:11:45 +02:00
Julien Duponchelle
9e8fcab65c
Merge branch '1.5' into 2.0
2016-04-08 17:40:27 +02:00
Julien Duponchelle
977ccabf98
Server support for VNC console resolution
...
Ref https://github.com/GNS3/gns3-gui/issues/1165
2016-04-07 13:29:11 +02:00
Jeremy Grossmann
6bc54b17c7
Merge pull request #481 from GNS3/import_linux
...
Flatten the project at export and support import for Linux
2016-04-06 11:55:46 -06:00
Julien Duponchelle
b93c85c390
Allow to change the number of adapters for Docker (server side)
2016-04-06 16:01:34 +02:00
Julien Duponchelle
e564c84529
Flatten the project at export and support import for Linux
...
The client will send a flag to say if the import should be done
on the VM or not
Ref https://github.com/GNS3/gns3-gui/issues/1151
2016-04-06 12:08:00 +02:00
Julien Duponchelle
5531a576d1
Import create project if not exists (GNS3 VM just need an UUID)
2016-04-05 19:59:38 +02:00
Julien Duponchelle
9ed15e55af
Move more import code to the server
...
https://github.com/GNS3/gns3-gui/issues/1156
2016-04-05 18:32:48 +02:00
Julien Duponchelle
bd71f0cf4c
Import API
2016-03-30 17:42:00 +02:00
Julien Duponchelle
879591eaf5
Export API
2016-03-30 17:42:00 +02:00
Julien Duponchelle
23c48f5e3d
Add to project an API to write a file
2016-03-24 17:34:41 +01:00
Julien Duponchelle
de61ed316c
The controller has a streaming API
...
Now we need to link the hypervisor to the controller.
2016-03-17 17:32:37 +01:00
Julien Duponchelle
76a0120d3e
PEP8
2016-03-17 15:16:09 +01:00
Julien Duponchelle
b55969d381
Notification feed for the hypervisor
2016-03-17 15:15:30 +01:00
Julien Duponchelle
8fed1d9b9f
API for deleting a link
2016-03-14 20:54:05 +01:00
Julien Duponchelle
9062490be3
API for deleting a list
2016-03-14 17:40:27 +01:00
Julien Duponchelle
9771b33b68
Create link using UDP work
2016-03-14 16:51:47 +01:00
Julien Duponchelle
e3580d52c3
Dummy link api documentation
2016-03-11 17:02:50 +01:00
Julien Duponchelle
abdda4d3b3
Link API (do nothing for the moment)
2016-03-11 16:51:35 +01:00
Julien Duponchelle
be4aa41dda
Create VPCS VM on controller
2016-03-11 15:06:14 +01:00
Julien Duponchelle
4326d412f9
API for creating a VM
2016-03-10 21:51:29 +01:00
Julien Duponchelle
58f1abff35
Close, commit and delete supported for projects in controller
2016-03-10 10:32:07 +01:00
Julien Duponchelle
3296b97f59
Rename modules => hypervisor
2016-03-08 16:12:46 +01:00
Julien Duponchelle
6fa2491255
Rename /controller/servers to /controller/hypervisors
2016-03-08 16:04:12 +01:00
Julien Duponchelle
8114c1d4be
Return just version number for API /v1/version for compatibility
2016-03-07 18:17:24 +01:00
Julien Duponchelle
b2ce7ee8d7
API V2
2016-03-07 17:57:12 +01:00
Julien Duponchelle
664cec97ba
Create /hypervisor and /controller namespace
2016-03-07 15:01:35 +01:00
Julien Duponchelle
aad69e9650
Create a /server API for register servers
...
This allow to push to the controller information about
the connection to a server.
2016-03-03 16:05:09 +01:00
Julien Duponchelle
03ffce0a75
Docker VNC support
...
Ref https://github.com/GNS3/gns3-gui/issues/947
2016-02-29 23:09:47 +01:00
Julien Duponchelle
fd18458588
Fix stop capture for Docker
...
Fix #443 , #442
2016-02-24 15:14:01 +01:00
Julien Duponchelle
5f15667ad1
Rename invalid variable iou_manager in Docker
2016-02-24 15:08:48 +01:00
Julien Duponchelle
a7ec224b6d
Docker capture and refactor common capture code
...
Fix https://github.com/GNS3/gns3-gui/issues/891
2016-02-09 16:07:33 +01:00
Julien Duponchelle
942d07c8ce
Removed docker support from 1.4 (drop unused code)
2016-02-08 13:40:14 +01:00
Julien Duponchelle
f6fb0623be
Merge branch 'master' into 1.5
2016-02-08 13:14:30 +01:00
Julien Duponchelle
fd22cd8361
Send command line used to start the VM to client
...
Add a command_line attribute to the VM object with
the command line used to start the VM.
Now /start return the object in order to get
this new attribute. And the HTTP status code
is 200 instead of 204 because 204 disallow body.
Support:
* Qemu
* Dynamips
* IOU
Ref https://github.com/GNS3/gns3-gui/issues/513
2016-02-02 18:25:17 +01:00
Julien Duponchelle
03414993dc
Merge branch 'master' into 1.5
2016-02-01 15:47:46 +01:00
Julien Duponchelle
58b998600e
Send machine stats via the notification stream
...
Fix #252
2016-01-26 16:35:00 +01:00
Julien Duponchelle
758fb2a0e7
adapter_remove_nio_binding is a coroutine for all device type
...
It's cleaner
2016-01-11 15:19:15 +01:00
Julien Duponchelle
1f756c0d4f
Merge branch '1.4' into 1.5
2016-01-06 14:35:48 +01:00
Julien Duponchelle
d184b65800
Improve PR #386
...
* Add more test
* Check to kvmi-ok is asynchronous
2016-01-04 16:30:06 +01:00
Vasil Rangelov
d00efbfb0f
Adds a handler for getting the Qemu related capabilities of the server. Currently includes just a check for KVM architectures.
2016-01-03 19:38:16 +02:00
Julien Duponchelle
33edbefa3b
Docker cleanup and improvements
2015-12-18 18:20:56 +01:00
Julien Duponchelle
ac16ee5bc6
Fix minor issues
2015-11-09 12:32:36 +01:00
Julien Duponchelle
da240f21ba
Apply pep8 fix
2015-11-09 12:28:00 +01:00
Julien Duponchelle
1248584841
Cleanup unused and duplicates
2015-11-09 12:14:25 +01:00
grossmj
ce4727e51a
Support for modifications to a base Qemu VM (not a linked clone).
2015-10-18 19:19:27 -06:00
grossmj
6e36687347
Fixes issue when loading a project using VMware vmnet interfaces. Fixes #319 .
2015-10-14 21:39:17 -06:00
grossmj
57bbd63085
Support for NAT connection with cloud for VMware VMs. Fixes #322 .
2015-10-12 17:07:39 -06:00
Julien Duponchelle
5e3ce48a52
Merge branch 'master' into unstable
2015-10-06 19:19:56 +02:00
Julien Duponchelle
3d7d8682ee
OVA file support
2015-10-06 17:50:54 +02:00
Julien Duponchelle
034ac392b7
Support listing images in subdirectories
...
It's a part of the OVA support:
https://github.com/GNS3/gns3-gui/issues/700
2015-10-05 11:07:15 +02:00
grossmj
e63e3280a1
Prevent launching a packet capture with a non-ASCII path when using Dynamips.
2015-09-29 06:56:01 -06:00