grossmj
aeab9780d8
Fixes initial-configs that were not restored when opening a project containing IOU VMs.
10 years ago
grossmj
aab4a7243b
Merge remote-tracking branch 'origin/master'
10 years ago
Julien Duponchelle
af942dc419
Fix a crash in VirtualBox vm creation
...
Fix #138
10 years ago
grossmj
78bc6e29a8
Explicitly delete Dynamips NIOs and unmap VCs for ATM and Frame-Relay switches.
10 years ago
grossmj
de5e8f852d
Cleaner and generic way to set Qemu & IOU VM settings.
10 years ago
Julien Duponchelle
3b4a060ae9
Fix missing IOU documentation
...
Fix #143
10 years ago
Julien Duponchelle
b330b2c157
The upload web page return a 200 in case of error
...
Otherwise IE doesn't display error messages...
Fix #132
10 years ago
grossmj
056ff14437
Fixes unicode decode error when saving IOS router configs. Fixes #115 .
10 years ago
Julien Duponchelle
be199b77a5
Homepage cleanup
10 years ago
Julien Duponchelle
bff164afcb
Merge pull request #106 from aka001/homepage_added
...
Added homepage
10 years ago
Jeremy
81ce86a8a7
Fixes use_default_iou_values param was not set.
10 years ago
Jeremy
879ed9e4e6
Fixes issue when exporting IOS router configs.
10 years ago
grossmj
588088ca93
Fixes bug when remove_nio() is not a coroutine for ATM and FR switches.
10 years ago
grossmj
980e63e667
Allocate a random port for Qemu monitor. Fixes issue with pre 1.3 projects.
10 years ago
grossmj
73310105a8
Fixes default chassis bug.
10 years ago
Akash Agrawall
a25b17fe95
Removed merge conflict
10 years ago
grossmj
24300b2502
Adds project id when requesting UDP port.
10 years ago
grossmj
628dfef0d3
Initialize chassis when creating an IOS router. Fixes #107 .
10 years ago
Akash Agrawall
257735255c
Added homepage
10 years ago
Jeremy
8415117d2d
Save IOS router configs when saving the project (done right this time).
10 years ago
Julien Duponchelle
4a9f578784
Support IOURC update
10 years ago
Julien Duponchelle
66cdf39ea2
Support uploading iourc
10 years ago
Jeremy
2de817214f
Do not hide non-executable file in the UploadHandler.
10 years ago
Jeremy
cc9b575b77
Bind UDP tunnels to the correct source address. Fixes #96 .
10 years ago
Julien Duponchelle
3a6a04b8e5
Fix version test
10 years ago
Jeremy
cf92bfe81e
Alternative local server shutdown (mostly intended for Windows).
10 years ago
Jeremy
4ccca5dc99
Support RAM setting for VirtualBox VMs.
10 years ago
Jeremy
a81d2274cd
Adds info either the server is started as a local server in VersionHandler response.
10 years ago
grossmj
c596147b59
List the iourc file in upload handler.
10 years ago
Jeremy
03796ca729
Server handler to shutdown a local server.
10 years ago
grossmj
ad5548f70b
Convert more that IOU pre 1.3 projects but also other modules on remote servers.
10 years ago
grossmj
95766fa30d
Let the server know about the project name and convert old IOU projects on remote servers.
10 years ago
grossmj
c3014632a4
Fixes rename bug for linked clones in VirtualBox.
10 years ago
Julien Duponchelle
be1e0fa1f2
Upload IOURC file via the web interface
10 years ago
Julien Duponchelle
d126db1fe9
The upload interfaces allow user to choose an image type
10 years ago
Jeremy
ee578d3c12
Fixes Qemu networking.
10 years ago
Julien Duponchelle
d657f94c18
Fix crash when you start capture on a non running IOU
10 years ago
Jeremy
7a6136ed14
Fixes adapter bug with VirtualBox.
10 years ago
Jeremy
6e89f2c7c7
Remove console_host from IOU and Qemu handlers.
10 years ago
Jeremy
a6869379c3
Fixes console restoration when loading a VirtualBox project.
10 years ago
Jeremy
f269ec9527
Fixes Qemu networking.
10 years ago
Julien Duponchelle
91ccd6167c
API for reloading server config
10 years ago
Julien Duponchelle
a9afaa028c
Garbage collect VM when closing a project
10 years ago
grossmj
c48ca212bd
Stop Dynamips hypervisors used by devices before the project is closed.
...
This is to avoid locked files by hypervisors preventing temporary project working directories to be deleted.
10 years ago
Jeremy
0e8b8fa66f
Update hypervisors working dir when the project is moved.
10 years ago
Julien Duponchelle
d0c386860e
Fix curl sample generation in the documentation
10 years ago
Julien Duponchelle
ae7bf828cd
Fix tests on MacOS
10 years ago
Jeremy
985c23a40e
Explicitly import handlers so freezing application can find and include the right modules.
...
Do not import IOU on Windows to avoid importing unknown modules like fcntl on that platform.
10 years ago
Jeremy
58d92f1584
Fixes Dynamips console/aux ports restoration when loading a project.
10 years ago
Jeremy
54fc873be5
Prevent multiple projects with the same ID to be created.
10 years ago
Julien Duponchelle
7c2329d870
Garbage collect the lock
10 years ago
Julien Duponchelle
46b348e46a
VM concurrency
10 years ago
Julien Duponchelle
250bb38d7c
Crash report with Sentry
10 years ago
Julien Duponchelle
1ca445d5f5
Fix dynampis resume API
10 years ago
Jeremy
182d2e465e
Use projects_path & images_path.
10 years ago
Jeremy
fb9f5d3c14
List only executable files in upload handler.
10 years ago
Jeremy
8b19029d97
List only executable files in upload handler.
10 years ago
Jeremy
0e8c184987
Recursive listing of the images directory & fixes bug when uploading no files.
10 years ago
Julien Duponchelle
4ffb2c8c20
Fix tests
10 years ago
Julien Duponchelle
89b7d62ec6
Some code cleanup
10 years ago
Julien Duponchelle
c9314ec509
autopep8 et upload files
10 years ago
Julien Duponchelle
259f6249e2
Fix tests
10 years ago
Julien Duponchelle
f7cd09d5fb
Display an upload form (upload is not yet ready)
10 years ago
Jeremy
210aa6f12a
Bit of cleaning.
10 years ago
Jeremy
565a7b35a6
Default NVRAM and Idle-PC for some IOS images.
10 years ago
Jeremy
9a745ed3f4
Merge remote-tracking branch 'origin/asyncio' into asyncio
10 years ago
Jeremy
af700e9bcb
Idle-PC and auto idle-pc for Dynamips.
10 years ago
Julien Duponchelle
cecf2f5014
Async qemu monitor reading
10 years ago
Julien Duponchelle
15036837bb
No project for qemu binaries list
10 years ago
Julien Duponchelle
8aa5514890
Qemu binary list
10 years ago
Jeremy
90f71e7581
Idle-PC proposals for Dynamips.
10 years ago
Jeremy
8d02f464c5
Dynamips import/export configs.
10 years ago
Julien Duponchelle
48f5c7c8b3
All params for qemu
10 years ago
Julien Duponchelle
d0244824bf
Get a working Qemu handler. Next step add all parameters
10 years ago
Julien Duponchelle
03b6563864
Initial config path for IOU
10 years ago
Julien Duponchelle
dd1833c4f0
iourc_path is set from server settings file
10 years ago
Julien Duponchelle
0e98497a99
Add an endpoint for exporting the initial config file
10 years ago
Jeremy
516b882122
Merge remote-tracking branch 'origin/asyncio' into asyncio
10 years ago
Jeremy
3e95bb9748
Adapter settings and configs for Dynamips VMs.
10 years ago
Julien Duponchelle
6c3a926ce3
Capture is OK on server side
10 years ago
grossmj
78ffe313fd
Dynamips VM & device deletion and ghost support.
10 years ago
grossmj
26f7195288
Dynamips devices packet capture.
10 years ago
grossmj
f99e834c37
Dynamips devices support (packet capture to complete).
10 years ago
Jeremy
094339304c
Packet capture for Dynamips VMs.
10 years ago
Jeremy
6ac6c7d796
Merge remote-tracking branch 'origin/asyncio' into asyncio
10 years ago
Jeremy
a5ac7c5481
Dynamips NIO connections.
10 years ago
Julien Duponchelle
e082cd8b1a
Update the remote IOU initial config
10 years ago
Julien Duponchelle
2cab5293c7
Add the notion of adapters and slot in the api
10 years ago
Julien Duponchelle
ee019caa37
Support l1_keepalives in IOU
10 years ago
Julien Duponchelle
3e1875b069
Set console host from port manager
10 years ago
grossmj
0a5aaedc7c
Merge remote-tracking branch 'origin/asyncio' into asyncio
10 years ago
grossmj
8f089c45f5
Fixes a few problems in Dynamips implementation.
10 years ago
Julien Duponchelle
f99d825346
Support network for IOU
10 years ago
Julien Duponchelle
8b61aa9ae7
Set ram, ethernet adapters, serial adapters
10 years ago
Julien Duponchelle
ebc214d6fa
Fix tests and rename path to iou_path
10 years ago
Julien Duponchelle
faa7472670
IOUCON start when vm start
10 years ago
Julien Duponchelle
986c63f344
HTTP api start iou process
...
Now we need to start ioucon
10 years ago
Jeremy
79a57ca420
New Dynamips integration part 3
10 years ago
grossmj
37945585b9
New Dynamips integration part 2
10 years ago
Jeremy
46cbcd6132
New Dynamips integration part 1
10 years ago
grossmj
2a3b37a3bd
VirtualBox packet capture.
10 years ago
grossmj
d499402491
VirtualBox implementation complete.
10 years ago
Julien Duponchelle
e81dcd4bba
Add /projects before /project
10 years ago
Julien Duponchelle
5a0c224292
Allow user to change project path on local server
10 years ago
Julien Duponchelle
8367a9eb30
Remove unused files (we can restore them later via git history)
10 years ago
Jeremy
291fac7084
Add project_id in all VM calls.
10 years ago
Jeremy
b680138073
Merge remote-tracking branch 'origin/asyncio' into asyncio
...
Conflicts:
gns3server/modules/project.py
tests/modules/test_project.py
10 years ago
Jeremy
1bea78194c
Explicit ID names, remove {uuid} from URLs and add vms in URLs for VMs.
10 years ago
Julien Duponchelle
c5c219ffe1
Allow modification of path from the client
10 years ago
Jeremy
119bebee25
Documentation.
10 years ago
Jeremy
59c82e26df
Use project_id instead of project_uuid for the API.
10 years ago
Jeremy
d2699f051d
Change URL for projects: /project becomes /projects and project_id is used instead of uuid.
10 years ago
Julien Duponchelle
f572f3fc95
You can't modify startup script remotely
10 years ago
Jeremy
81f9252554
Fixes nasty bug when close a cloned VirtualBox VM.
10 years ago
Jeremy
0c90393b5b
Send explicit error message when client is checking for the server version.
10 years ago
Jeremy
334835c985
PEP8 + documentation.
10 years ago
Jeremy
8a00d30e23
Change ports to adapters in VirtualBox API entry points.
10 years ago
Jeremy
22369ade49
Rename port_id to port_number for VPCS and adapter_id for VirtualBox to avoid confusion.
10 years ago
Jeremy
fa978b6a28
Send all VirtualBox settings when creating the VM.
10 years ago
Jeremy
e60366c5bb
Change URL to get all VirtualBox VMs.
10 years ago
Julien Duponchelle
4518404706
Run rmtree in a different thread
10 years ago
Jeremy
50fea669b5
Network handler for UDP port allocation and server network interfaces.
10 years ago
Jeremy
365af02f37
Packet capture support for VirtualBox.
10 years ago
Jeremy
ff63530f52
Get all available VirtualBox VMs on the server.
10 years ago
Jeremy
6460e94311
More VirtualBox implementation.
10 years ago
Jeremy
bc3d63081b
Unload should not delete VMs, just close them.
10 years ago
Julien Duponchelle
547adf0dc6
Get project
10 years ago
Julien Duponchelle
0e76527ce2
Update a project
10 years ago
Julien Duponchelle
abc885049f
Temporary project
10 years ago
Julien Duponchelle
3f5c2390cd
Close a project
10 years ago
Julien Duponchelle
986a7f55ef
Delete a project
10 years ago
Julien Duponchelle
f97c2b2cbe
Delete a VM, mark it as destroyable
10 years ago
Julien Duponchelle
28308b10bc
Add missing documentation
10 years ago
Jeremy
d9b02efbfa
Rename destroy to close or unload (more friendly).
10 years ago
Jeremy
2681defe27
Moves NIO creation to the base manager.
10 years ago
Jeremy
6ec4dea9b9
Fixes reload call in VPCS handler.
10 years ago
Julien Duponchelle
72c6182062
Typo
10 years ago
Julien Duponchelle
e12e6044dc
Delete VPCS
10 years ago
Julien Duponchelle
8d3ea60404
VPCS reload
10 years ago
Jeremy
3b7d08a80e
Suspend and resume for VirtualBox.
10 years ago
Jeremy
f231b06833
No need for start_vm and stop_vm in the manager.
10 years ago
Jeremy
0b1b27db8f
Add module name to base manager.
10 years ago
Julien Duponchelle
f3e07d5ad9
Fix random failure related to ports
10 years ago
Jeremy
7ce1cf3f84
Return correct status codes and fix tests.
10 years ago
Julien Duponchelle
368d1ff70b
Update VPCS instance
10 years ago
Julien Duponchelle
7abb426d04
Get informations about a VPCS instance
10 years ago
Julien Duponchelle
87a089457f
Update script file
10 years ago
Jeremy
7a19c9062e
Pass *args to VM_CLASS.
...
Move Config the the base manager.
More checks for projects (UUID, makedirs).
Return error 500 when a VMError exception is raised.
Some more progress to VirtualBox.
10 years ago
Jeremy
17f6223fb1
Try to fix VirtualBox create test.
10 years ago
Julien Duponchelle
649d4e5143
Allow user to set console port
10 years ago
Julien Duponchelle
fa57485f11
Support script file
10 years ago
Julien Duponchelle
54eb8d9e81
Drop decorator for async test
10 years ago
Julien Duponchelle
f5ed9fbcf1
PEP 8 clean thanks to auto pep8
10 years ago
Julien Duponchelle
68d0e5f42d
PEP8
10 years ago
Julien Duponchelle
0695e75e77
Fix tests
10 years ago
Jeremy
7fff25a9a9
UUID support for VMs.
...
Basic VirtualBox support (create, start and stop).
Some refactoring for BaseVM class.
Updated CURL command in tests.
10 years ago
Julien Duponchelle
ed973dbcf2
Project handler use ProjectManager
10 years ago
Julien Duponchelle
240d83411c
Create a project entity
10 years ago
Jeremy
1cfce6ac5e
Merge remote-tracking branch 'origin/asyncio' into asyncio
...
Conflicts:
gns3server/handlers/vpcs_handler.py
tests/api/test_version.py
tests/api/test_vpcs.py
10 years ago
Jeremy
d142a9a885
Rename vpcs_id to id. Must be an integer in the route definition.
10 years ago
Julien Duponchelle
77db08c39e
Remove NIO from VPCS
10 years ago
Julien Duponchelle
bf6f62e629
Serialize NIO
10 years ago
Julien Duponchelle
0cdc1c3042
VCPS create NIO work and tested
10 years ago
Julien Duponchelle
c1ef406311
A basic implementation of port manager
10 years ago
Julien Duponchelle
6c35cc304e
Dirty stop start for VPCS
10 years ago
Julien Duponchelle
aab944fb6c
Move old test to old_tests directory
10 years ago
Jeremy
369cd06279
Merge latest changes from the POC.
10 years ago
Jeremy
61344a1669
New base server.
10 years ago
Jerry Seutter
c4afc33ea8
IOS devices can be deployed on cloud instances.
10 years ago
grossmj
b88abb7c91
Remote servers and load-balancing (still things to improve).
10 years ago
Jerry Seutter
ee88d6f808
Merge branch 'master' into dev
10 years ago
Jerry Seutter
b132c901c9
Disabling auth from version string
10 years ago
Michael
4fa87005bc
Enabled HTTP Auth, SSL and DMS disabling based on cloud.conf availability
10 years ago
Michael
b84dda3c8e
HTTP auth added to file_upload and jsonrpc
10 years ago
Michael
382e693fc8
Added authentication handler for basic auth check
10 years ago
Daniel Lintott
578bb5741d
Override check_origin from tornado.websocket
10 years ago
grossmj
1fb4ab7e33
Minimal VirtualBox integration.
10 years ago
grossmj
4b5c38495a
Change default projects directory from ~/Documents/GNS3/projects to ~/GNS3/projects.
10 years ago
grossmj
cb763e0926
Use Dynamips, IOU and VPCS identifiers to correctly load a topology.
10 years ago
grossmj
f9ee38dd55
Fixes issues to restore the correct working directories for IOU and VPCS devices when loading a project.
...
Prevent multiple clients to use the same server (this is not supported yet).
10 years ago
grossmj
7b58f14681
Some PEP8 style fixes.
10 years ago
grossmj
85ef421d72
Catch exceptions in file upload handler.
11 years ago
grossmj
c0a876af68
Move cloud code (module independent) to a builtin package.
11 years ago
grossmj
ed8b93dee2
Possibility to get the server version over JSON-RPC/Websocket.
11 years ago
grossmj
28ca12367a
Proper server shutdown.
11 years ago
grossmj
724e3051fd
Send the server version when a client connects.
11 years ago
grossmj
2ebac2f20a
Update upload template.
11 years ago
grossmj
ada36e5382
Bump version to 1.0-alpha2.
11 years ago
grossmj
872515fa78
Use the FileExistsError exception.
11 years ago
grossmj
96231e3f7f
More specific path checks (file vs directory).
11 years ago
grossmj
f4dd096a8b
Rename all EnvironmentError to OSError.
...
Change version number to 1.0a2-dev1.
Check only on Python >= 3.3.
11 years ago
grossmj
a92da02973
Builtin destination to shutdown the server.
11 years ago
grossmj
c91f876656
Default host binding is 0.0.0.0.
...
Move the file uploader template.
UDP port allocation (removed the host).
Minor changes with iouyap lookup and remote server project directory.
11 years ago
grossmj
0f75dbc68a
IOU integration.
...
Improvements on module management.
File upload support.
Config file for the server.
11 years ago
grossmj
687d5b75ab
Renaming things & more inline docs.
11 years ago
grossmj
cef29e53aa
General work on the Dynamips backend (need to finish and polish).
11 years ago
grossmj
0cb98318b5
Remove STOMP over Websockets implementation.
11 years ago
grossmj
e28079096e
JSON-RPC over Websockets implementation.
11 years ago
grossmj
2f23a092e3
Polishing base server implementation
11 years ago