Compare commits

...
530 Commits
Author SHA1 Message Date
Julien Duponchelle 78e1321bae 2.0.2 2017-05-30 08:57:07 +02:00
pyup.io bot c46a9da769 Update sphinx from 1.6.1 to 1.6.2 (#1049) 2017-05-29 09:01:12 +02:00
Julien Duponchelle ef5c013561 Merge branch 'master' into 2.0 2017-05-26 10:47:57 +02:00
Julien Duponchelle 8bbe7e8041 Set correct permission on ubridge when doing a remote installation 2017-05-26 10:47:25 +02:00
Julien Duponchelle 777361c23d Merge branch 'master' into 2.0 2017-05-26 10:32:26 +02:00
Julien Duponchelle c3d5abd104 Remote install script should be totally non interactive 2017-05-26 10:29:33 +02:00
Julien Duponchelle 39879ca92b Duplicate project on remote server use UUID
Ref https://github.com/GNS3/gns3-server/issues/1040
2017-05-23 17:20:51 +02:00
Julien Duponchelle 5a86277a9f Test that import erase the auto_open and auto_start setting
Ref #1041
2017-05-23 16:08:30 +02:00
Julien Duponchelle b87692acce Fix import of some old topologies from 1.3 2017-05-23 14:05:47 +02:00
Julien Duponchelle d765d02f06 Fix error in logging of error during starting GNS3 VM 2017-05-23 13:39:41 +02:00
Julien Duponchelle 5bb6c51698 Fix an error when logging Docker container fail to start 2017-05-23 13:31:04 +02:00
Julien Duponchelle 59488e8064 Fix tests on python 3.4 (#1046) 2017-05-23 12:15:04 +02:00
Julien Duponchelle 54e80d68f8 Fix test failed on Python 3.4
Fix #1045
2017-05-23 11:11:13 +02:00
Julien Duponchelle 2a8911d19e Keep DOCKER_MINIMUM_API_VERSION and DOCKER_MINIMUM_VERSION consistent 2017-05-23 11:00:15 +02:00
Bernhard Ehlers 8b7209ea78 Use docker version in error message of outdated docker installation 2017-05-23 10:41:42 +02:00
Bernhard Ehlers 7d48eba01b Use versioned docker API
Since docker v1.13 the unversioned docker API is deprecated.
Backport of gns3-server 2.0, commit effbe59
2017-05-23 10:37:47 +02:00
Julien Duponchelle 1e598d1890 Test for support of docker commit images
Ref #1039
2017-05-23 10:23:12 +02:00
Bernhard Ehlers 2191c487b6 Support images created by "docker commit". Fixes #1039 2017-05-23 10:23:11 +02:00
pyup.io bot 3ed49bbdd5 Update pytest from 3.0.7 to 3.1.0 (#1044) 2017-05-23 08:29:36 +02:00
Julien Duponchelle 7d30da5d4e Do not wait auto start to finish in order to complete project opening
Fix https://github.com/GNS3/gns3-gui/issues/2074
2017-05-22 20:18:07 +02:00
Julien Duponchelle 4dc55a5af4 Improve logging for remote server connection lost
Ref https://github.com/GNS3/gns3-gui/issues/2074
2017-05-22 13:57:32 +02:00
Julien Duponchelle 51d6152a5c Fix support for some old topologies
Fix #1042
2017-05-19 18:27:20 +02:00
Julien Duponchelle bdcadcc335 Fix support from some old topologies
Fix #1038
2017-05-19 17:49:39 +02:00
pyup.io bot 812ff6b5d8 Update sphinx from 1.5.6 to 1.6.1 (#1035) 2017-05-17 08:30:16 +02:00
Julien Duponchelle e24bfd5913 2.0.2dev1 2017-05-16 09:16:35 +02:00
Julien Duponchelle f2d5eb0b27 2.0.1 2017-05-16 08:47:35 +02:00
Julien Duponchelle 39419462db Handle HTTP 504 errors from compute node
Fix #1032
2017-05-16 08:37:54 +02:00
Jeremy Grossmann ddc5e8169e Merge pull request #1031 from GNS3/async_images
When connecting to a compute node ask for qemu images list
2017-05-15 21:20:28 +02:00
Julien Duponchelle 3dc478385b When connecting to a compute node ask for qemu images list
The server start to compute qemu image list in background
because first time discovery could be slow due to the compute
time of md5sum.

Fix #996
2017-05-15 15:35:48 +02:00
Julien Duponchelle 851d6e1db8 When importing portable project NAT node is loaded on GNS3 VM
Fix #1030
2017-05-15 10:21:37 +02:00
pyup.io bot facdf9c617 Update sphinx from 1.5.5 to 1.5.6 (#1029) 2017-05-15 09:41:18 +02:00
grossmj 70d34befb9 Merge remote-tracking branch 'origin/2.0' into 2.0 2017-05-12 21:04:39 +08:00
Jeremy Grossmann 8696a464ab Merge pull request #1027 from GNS3/fix_wic_numbering
Fix wic numbering
2017-05-12 21:03:05 +08:00
Julien Duponchelle 5721dd3f30 Fix port numbering for Wic slot 1 & 2 2017-05-12 14:12:24 +02:00
grossmj bf38a8515e Fix typo. 2017-05-12 18:54:54 +08:00
grossmj 942cc09eda Fixes issue with connections when loading an ATM switch. 2017-05-12 18:00:58 +08:00
Jeremy Grossmann 9baaf5685d Merge pull request #1028 from GNS3/filter_logs
Filter /settings from log
2017-05-12 17:31:42 +08:00
Julien Duponchelle 961dbb5162 Filter /settings from log
Fix #1026
2017-05-12 10:48:43 +02:00
Julien Duponchelle 19a6157f64 Fix wic numbering
Fix #1011
2017-05-12 09:48:05 +02:00
grossmj 18cfcaa081 Fixes ATM mapping. 2017-05-12 13:09:26 +08:00
grossmj 87d42f4eb9 Fixes Frame-relay VC mapping. 2017-05-12 12:39:01 +08:00
Julien Duponchelle 766456014b Fix export project is looking into the wrong directory
Fix #1010
2017-05-11 17:59:57 +02:00
Julien Duponchelle f31e46e8ed Fix a race condition in logging when ubridge exit fast
Fix #1025
2017-05-11 17:26:18 +02:00
Julien Duponchelle fb6a95f7bb Fix conversion issue with old topology with C3640
Fix #1019
2017-05-10 13:50:19 +02:00
Julien Duponchelle 93fe66a253 Fix error when you have a directory in your symbols directory
Fix #1006
2017-05-10 13:40:49 +02:00
Julien Duponchelle e870b0cfa0 Catch VMWare errors when getting status after GNS3 VM start
Fix #1008
2017-05-09 19:16:47 +02:00
Julien Duponchelle b4467d83bf Make sure upstart LANG is utf8
Fix #1017
2017-05-09 18:54:01 +02:00
Julien Duponchelle ac5509f383 Always install typing module (compat with python 3.4 on ubuntu)
Fix #1021
2017-05-09 15:09:55 +02:00
Julien Duponchelle 050f6876ce Fix KeyError: 'filename'
Fix #1018
2017-05-09 12:25:15 +02:00
Julien Duponchelle 2172c25df6 Run tests into a tmp directory prefixed by unicode character 2017-05-09 09:43:47 +02:00
grossmj 48dae085aa Catch missing function listxattr on some Linux host. 2017-05-08 21:02:23 +07:00
Julien Duponchelle bfee08459d Test image sorting
Ref https://github.com/GNS3/gns3-gui/issues/2030
2017-05-05 20:09:51 +02:00
Julien Duponchelle 8a6584d90f Sort image list
Fix https://github.com/GNS3/gns3-gui/issues/2030
2017-05-05 19:52:45 +02:00
Julien Duponchelle 6870749e50 Handle a race condition at project closing
Fix #1015
2017-05-05 19:39:06 +02:00
Julien Duponchelle 3070a68273 Fix unicode error when reading ios configuration
Fix #1013
2017-05-05 19:27:04 +02:00
Julien Duponchelle bda36081a9 Fix AttributeError: 'NoneType' object has no attribute 'send'
Fix #1014
2017-05-05 17:16:07 +02:00
Julien Duponchelle 930e7089db Fix a conversion issue with some 1.3 topologies 2017-05-04 12:09:56 +02:00
Julien Duponchelle 04220846b3 Fix an error with ethernetswitch when ethertype is null
Fix #1007
2017-05-04 10:33:02 +02:00
Julien Duponchelle 694a4e8068 Raise an error if we can't create the dynamips configuration directory
Fix #992
2017-05-03 17:55:13 +02:00
Julien Duponchelle 7ba351c888 Catch timeout error when loading virtualbox VM
Fix #999
2017-05-03 17:44:55 +02:00
Julien Duponchelle ae3e25b03b Handle broken compute at server startup
Fix #1001
2017-05-03 17:40:58 +02:00
Julien Duponchelle fa1450cb24 Catch error when we can't backup the topology
Fix #998
2017-05-03 17:35:10 +02:00
Julien Duponchelle 8e5f7d0838 Catch error when writting the topology file on read only device
Fix #1003
2017-05-03 17:28:47 +02:00
Julien Duponchelle 31d1696215 Catch a race condition in VirtualBox when editing and linking
Fix #993
2017-05-03 16:14:42 +02:00
Julien Duponchelle 078a6d8d34 Fix a race condition when editing a qemu vm and connecting it
Fix #997
2017-05-03 16:01:51 +02:00
Bernhard Ehlers ecba758c58 Docker aux console is a VT100 terminal
Without that program like nano can't work.

Signed-off-by: Julien Duponchelle <julien@gns3.net>
2017-05-03 10:30:43 +02:00
Julien Duponchelle 6190b9c189 2.0.1dev1 2017-05-03 10:18:26 +02:00
Julien Duponchelle c88886911e 2.0.0 2017-05-02 10:16:11 +02:00
Bernhard Ehlers 1b0f5c63b8 Fix connection to websocket with last docker release
Fix https://github.com/GNS3/gns3-gui/issues/1994

Signed-off-by: Julien Duponchelle <julien@gns3.net>
2017-04-28 16:03:26 +02:00
Julien Duponchelle 2da581139c Lower docker requirements in tests also 2017-04-24 18:49:47 +02:00
Julien Duponchelle 1a90305baa Docker minimum api is 1.25 2017-04-24 18:43:12 +02:00
Julien Duponchelle effbe59414 Lock docker API to 1.27
Fix https://github.com/GNS3/gns3-gui/issues/1994
2017-04-24 17:51:55 +02:00
Julien Duponchelle 8b9f22c30c Handling server disconnect error when docker daemon die
Fix #985
2017-04-24 17:37:41 +02:00
Julien Duponchelle c9ceeee9de Handle some invalid SVG images
Fix #986
2017-04-24 17:31:20 +02:00
Julien Duponchelle 78e030b7ab 2.0.0dev13 2017-04-20 10:55:36 +02:00
Julien Duponchelle 456a28304d 2.0.0rc4 2017-04-20 10:52:55 +02:00
Julien Duponchelle 11321383c5 Remove not working trigger of nightly build 2017-04-19 15:53:39 +02:00
Julien Duponchelle d90a8fa482 Trigger nightly build when pushing 2017-04-19 15:52:36 +02:00
Julien Duponchelle 2962649dc8 Fix a race condition when handling error at project opening
Fix #983
2017-04-19 09:17:32 +02:00
Julien Duponchelle d9b93ccd66 Fix an issue with editing network on windows
Fix  #982
2017-04-18 18:04:00 +02:00
Julien Duponchelle 37e21f2a3d Skip a test for qemu not supported on windows 2017-04-18 16:35:36 +02:00
Julien Duponchelle c72ae1bfe7 Fix IOU test run on Windows 2017-04-18 16:21:45 +02:00
Julien Duponchelle 54014ccd39 Fix one more windows test 2017-04-18 16:01:07 +02:00
Julien Duponchelle b4434b5134 Add tests for checking if path are correctly cleaned 2017-04-18 15:50:11 +02:00
Julien Duponchelle 691c2dfd8e Drop a test about OVA no longer use 2017-04-18 14:27:44 +02:00
Julien Duponchelle 36de30e25e Fix various tests for windows 2017-04-18 14:23:29 +02:00
Julien Duponchelle 3de04d6e76 Install winpcap for the windows tests 2017-04-18 14:08:37 +02:00
Julien Duponchelle 51ef5d8c90 Fix a broken test on windows machines 2017-04-18 14:04:50 +02:00
Julien Duponchelle 0d687e62ad Try to enable test on appveyor 2017-04-18 13:54:30 +02:00
Julien Duponchelle 0bf6ed52cd Verbose test on windows 2017-04-18 13:39:34 +02:00
Julien Duponchelle b152360c5b Merge branch 'master' into 2.0 2017-04-18 12:33:19 +02:00
Julien Duponchelle 722028b2d2 Install win32 dependencies for the tests 2017-04-18 12:27:54 +02:00
Julien Duponchelle 25a992a870 Build only for Python 3.6 on Windows 2017-04-18 12:24:19 +02:00
Julien Duponchelle c50e80b2d3 Setup appveyor 2017-04-18 12:16:54 +02:00
Julien Duponchelle 5729d37992 Setup appveyor 2017-04-18 11:54:10 +02:00
Julien Duponchelle 7302f65ffe Catch timeout error on docker
Fix #981
2017-04-18 11:44:20 +02:00
Julien Duponchelle 152807e654 Merge branch 'master' into 2.0 2017-04-18 09:22:58 +02:00
Athmane Madjoudj 3518a781e9 typing is already included in Py >= 3.5 (#979) 2017-04-18 09:15:16 +02:00
Julien Duponchelle f3a87d76ef Fix import of some old topologies
Fix #977
2017-04-14 10:38:21 +02:00
Julien Duponchelle 57cdef6b02 Fix AttributeError: 'NoneType' object has no attribute 'returncode'
Fix #976
2017-04-14 10:33:19 +02:00
Julien Duponchelle d2d5f003f8 Fix a merge error 2017-04-14 09:09:43 +02:00
Julien Duponchelle 540ffdf5f3 Merge remote-tracking branch 'origin/master' into 2.0 2017-04-14 08:55:37 +02:00
Julien Duponchelle 5fb2a462c2 Merge master 2017-04-14 08:53:53 +02:00
Julien Duponchelle a9b76c9656 1.5.5dev1 2017-04-14 08:46:31 +02:00
Julien Duponchelle 838680cb40 1.5.4 2017-04-13 17:30:25 +02:00
Julien Duponchelle 85136bc2e4 Fix VPCS tests for recent version 2017-04-13 15:56:12 +02:00
Julien Duponchelle 6d150bb62c Freeze server dependencies to the same version used for 1.5.3 2017-04-13 14:45:27 +02:00
Bernhard Ehlers 3afe85ba3c Fix 1.5: Error message, when stopping IOU router #769
Signed-off-by: Julien Duponchelle <julien@gns3.net>
2017-04-13 14:25:40 +02:00
Julien Duponchelle 57ba7ab801 Fix crash in some tests 2017-04-13 14:24:26 +02:00
Julien Duponchelle b755840a27 Add security issues section 2017-04-13 12:38:16 +02:00
Julien Duponchelle a8294c3de8 Backport requirements of 2.0 2017-04-13 10:22:20 +02:00
Julien Duponchelle 878aee6e90 Correct version number 2017-04-13 09:55:22 +02:00
Julien Duponchelle 62cd5e4aa3 Fix ghost vmware vms
Fix #975
2017-04-11 15:05:31 +02:00
Julien Duponchelle 18835974fb Fix required field in schema not use
Fix #972
2017-04-11 10:57:01 +02:00
Julien Duponchelle ab2af5ceab Catch error and log them when we can't write the config
Fix #974
2017-04-10 17:44:09 +02:00
Julien Duponchelle fdd1084714 Fix bridge 'bridge0' already exist when we have trouble with a container
Fix #973
2017-04-10 16:58:00 +02:00
Julien Duponchelle 03a134af75 Catch an error at startup when the remote GNS3 VM is not a real GNS3 VM 2017-04-07 15:34:18 +02:00
grossmj 5edb631b00 Fixes Qemu sata option. Ref #875. 2017-04-07 17:25:14 +08:00
Julien Duponchelle ec6fdb7324 Catch GNS3 VM loading error at startup 2017-04-04 14:25:30 +02:00
pyup.io bot 7f621ed5dd Update sphinx from 1.5.4 to 1.5.5 (#967) 2017-04-03 23:44:26 +02:00
Julien Duponchelle 8f33d9ab79 Update documentation links
Fix #1977
2017-04-03 16:27:08 +02:00
Julien Duponchelle b7e1a56056 Catch a startup error due to the usage of some antivirus 2017-04-03 16:25:37 +02:00
pyup.io bot 11c7f35ea2 Update sphinx from 1.5.3 to 1.5.4 (#966) 2017-04-03 09:06:26 +02:00
Julien Duponchelle b92f881921 2.0.0dev12 2017-03-31 10:08:56 +02:00
Julien Duponchelle ef5714bd3e 2.0.0rc3 2017-03-31 10:07:25 +02:00
Julien Duponchelle cfe13e1929 Support IOU image without .bin at the end 2017-03-29 16:08:13 +02:00
Julien Duponchelle 935ca17d7a Allow to change some properties of an already connected ethernet switch
Fix https://github.com/GNS3/gns3-gui/issues/1970
2017-03-29 13:22:24 +02:00
Julien Duponchelle 644616b69c Ensure we start only one ubridge
Fix https://github.com/GNS3/gns3-gui/issues/1964
2017-03-28 16:27:09 +02:00
Julien Duponchelle 84da9b4c23 Remove unused module import 2017-03-28 14:51:55 +02:00
Julien Duponchelle 7528152475 Ignore new version or aiohttp cors 2017-03-28 14:10:29 +02:00
Julien Duponchelle 815820f692 Catch some broken hostname for compute node
Fix #961
2017-03-28 12:14:27 +02:00
Julien Duponchelle 2564740665 Fix limit of 20 docker containers
Fix #963
2017-03-28 11:54:16 +02:00
Julien Duponchelle 42f409d5f9 Fix race conditions in creation of Frame Relay Switch 2017-03-28 11:25:26 +02:00
Julien Duponchelle aae37034e1 Fix conversion of project from 1.X with custom symbol for cloud 2017-03-28 09:12:36 +02:00
Julien Duponchelle 132bc87081 Dissallow parallel pull of docker images
Fix #962
2017-03-27 20:46:25 +02:00
Julien Duponchelle 25c4207661 Add a scripts for running current dev version on GNS3 VM 2017-03-27 17:13:07 +02:00
Julien Duponchelle 8d22f2930e Fix a crash with missing size in the svg files
Fix #960
2017-03-27 10:41:28 +02:00
Julien Duponchelle ac05db5d1b Fix an utf8 error in auth code 2017-03-27 10:38:41 +02:00
Julien Duponchelle 80e361ff2e Improve vmrun timeout message
Ref https://github.com/GNS3/gns3-gui/issues/1967
2017-03-27 09:00:58 +02:00
Julien Duponchelle 541afe9660 Support utf-8 characters in user and password for auth
Fix #959
2017-03-23 15:50:02 +01:00
Julien Duponchelle bbfd56606c Notify pyup that some dependencies doesn't require update 2017-03-23 09:50:46 +01:00
pyup.io bot 4036e519a7 Update aiohttp-cors from 0.5.0 to 0.5.1 (#957) 2017-03-23 09:49:49 +01:00
Julien Duponchelle 9fd5e4cbc9 Handle password configuration change on remote servers
Fix https://github.com/GNS3/gns3-gui/issues/1942
2017-03-22 18:29:08 +01:00
Julien Duponchelle cb78eb4ee3 Fix Bug when delete fake-running VMBox
Fix https://github.com/GNS3/gns3-gui/issues/1933
2017-03-22 11:08:16 +01:00
Julien Duponchelle 8712866489 Fix Can't connect to compute local on some computers
Chicken and egg problem we try to connect to compute
before http was available. I rewrote the code to prevent
erase of settings and rollback the beta4 code for init.

Fix #946
2017-03-21 18:06:45 +01:00
Julien Duponchelle 1566d7f12a Remove UDP server discovery because not use for the moment 2017-03-21 17:04:59 +01:00
Julien Duponchelle cc6f4c0510 Add a modification uuid to settings returned by the server
Ref #1949
2017-03-21 13:35:02 +01:00
Julien Duponchelle 73c31b4b87 Update docs 2017-03-21 13:32:04 +01:00
Julien Duponchelle c608a4ab38 Remove port name format documentation (moved to docs.gns3.com) 2017-03-21 10:30:33 +01:00
Julien Duponchelle c5290cfec6 Check python version in setup.py only for install
This allow us to use this on build service like travis.
2017-03-21 10:06:07 +01:00
Julien Duponchelle 34f5a6f82c Fix Session is closed when listing docker images
Fix #955
2017-03-20 23:50:31 +01:00
Julien Duponchelle 78c154e376 Cleanup docker source code 2017-03-20 20:30:59 +01:00
Julien Duponchelle a571b1a2f8 Use aiohttp session for docker queries 2017-03-20 19:46:50 +01:00
Julien Duponchelle 55563b9808 Escape special characters from SVG text
Ref https://github.com/GNS3/gns3-server/issues/952
2017-03-20 19:14:07 +01:00
Julien Duponchelle 5409d9c3f8 Fix some port short name display issues
Fix https://github.com/GNS3/gns3-gui/issues/1940
2017-03-20 18:10:00 +01:00
Julien Duponchelle 95f864c871 Catch server disconnected errors from computes
Fix #953
2017-03-20 17:13:37 +01:00
Julien Duponchelle a62b791c68 Fix TypeError: http_query() got an unexpected keyword argument 'timeout'
Fix #947
2017-03-20 17:06:00 +01:00
Julien Duponchelle bc0e4c1174 Generate a node uuid if the uuid is missing in the .gns3
Fix #950
2017-03-20 16:21:09 +01:00
Julien Duponchelle 0997998064 Ensure to dump project before exporting it
Fix #951
2017-03-20 14:57:20 +01:00
Julien Duponchelle c8b46bdcab Fix return code check for SIGSEGV of IOU images
Fix #948
2017-03-20 09:46:07 +01:00
Julien Duponchelle 2ddb329a90 Prevent vmname change for VirtualBox linked clone
Fix https://github.com/GNS3/gns3-gui/issues/1930
2017-03-16 19:17:12 +01:00
Julien Duponchelle 1b84874762 Upgrade to aiohttp 1.3.5 to solve issue with big file
Fix #943
2017-03-16 18:42:00 +01:00
Julien Duponchelle 7c318d477d Handle some invalid svg
Fix #944
2017-03-16 18:39:07 +01:00
Julien Duponchelle 490576fedc Try to fix some 1.3 topology with corrupted data
Fix #945
2017-03-16 18:29:02 +01:00
Julien Duponchelle 31ed2a4c96 Fix ComputeError: Can't connect to Main server
Fix #942
2017-03-16 12:05:30 +01:00
Julien Duponchelle 6a015fffeb Catch error when the server as trouble to access to itself
Fix #940
2017-03-16 10:50:08 +01:00
Julien Duponchelle 08bafc2dcc Catch a timeout error in docker
Fix #936
2017-03-16 10:39:08 +01:00
Julien Duponchelle cb6f94bc24 Lock yarl version because 0.10 is not compatible with aiohttp 1.3 2017-03-15 10:51:00 +01:00
pyup.io bot d37d3e7d77 Update pytest from 3.0.6 to 3.0.7 (#935) 2017-03-15 10:20:34 +01:00
Julien Duponchelle 2c0fb0d016 Raise error if image are not avaible on main server during export
Fix https://github.com/GNS3/gns3-gui/issues/1928
2017-03-14 18:00:16 +01:00
Julien Duponchelle 233a5fbed4 Fix a race condition when killing ubridge
Fix #931
2017-03-13 18:21:43 +01:00
Julien Duponchelle 84a6ed7684 If your settings from 1.X are broken with skip them at import
Fix #932
2017-03-13 18:17:17 +01:00
Julien Duponchelle 1d5029e4e2 Catch a permission error on symbols
Fix #930
2017-03-13 17:50:39 +01:00
Julien Duponchelle d60597ca0d Catch unicode error when you try to duplicate a project with invalid characters
Fix #934
2017-03-13 17:11:37 +01:00
Julien Duponchelle 886329a978 Catch error when you try to put an invalid server url
Fix #929
2017-03-13 16:59:42 +01:00
Julien Duponchelle 0dc38a3970 Fix an error when handling ubridge errors
Fix #933
2017-03-13 16:57:24 +01:00
Julien Duponchelle 9ef334331e Fix crash when handling an error in project creation
Fix #928
2017-03-13 16:55:35 +01:00
Julien Duponchelle 5e2b619305 Merge branch 'master' into 2.0 2017-03-13 15:42:58 +01:00
Julien Duponchelle fea77398e7 Publish on PyPi when we tag 2017-03-10 20:33:17 +01:00
Julien Duponchelle 3cfe83ae84 2.0.0rc2 2017-03-10 20:24:57 +01:00
Julien Duponchelle 55b4e95396 Merge branch 'master' into 2.0 2017-03-09 19:10:29 +01:00
Julien Duponchelle b909ec978f Drop color logging for remote install, seem to fail in some conditions 2017-03-09 19:09:56 +01:00
Julien Duponchelle c2ccad35fe Merge branch 'master' into 2.0 2017-03-08 18:16:36 +01:00
Julien Duponchelle cb338d9583 Cleanup the remote install script 2017-03-08 18:15:43 +01:00
Julien Duponchelle bb45ff0d9a Support for Xenial in remote install
Fix #923
2017-03-08 15:58:28 +01:00
Julien Duponchelle 7b642552dd Fix GNS3VM settings are lost at startup
Fix #926
2017-03-07 15:36:35 +01:00
Julien Duponchelle d89ea83746 When we receive settings from the client save them on disk 2017-03-07 11:12:51 +01:00
Julien Duponchelle 78e5944e66 2.0.0dev10 2017-03-06 19:35:16 +01:00
Julien Duponchelle 5b217d2043 2.0.0rc1 2017-03-06 19:31:02 +01:00
Julien Duponchelle 54131bc9bb Update the documentation 2017-03-06 14:35:39 +01:00
Julien Duponchelle 8b7035b185 Enable show in file manager for cloud
Fix https://github.com/GNS3/gns3-gui/issues/1900
2017-03-06 14:25:53 +01:00
Julien Duponchelle 94d285301a Improve error log when you have trouble to load a topology 2017-03-06 12:15:52 +01:00
Julien Duponchelle 5e7f97b175 Fix when qemu exit by itself clean other processes
Fix https://github.com/GNS3/gns3-gui/issues/1898
2017-03-03 18:40:26 +01:00
Julien Duponchelle e828c9068a Fix an issue with some node name format
Fix #922
2017-02-28 18:03:10 +01:00
Julien Duponchelle 7e1e63cd09 Catch error when we can't save the settings
Fix #921
2017-02-28 14:31:52 +01:00
Julien Duponchelle 39106ac36b Do not prevent the creation of a local server on a machine named gns3vm
Fix #920
2017-02-28 13:11:03 +01:00
Julien Duponchelle 41d7570b24 Load local server before anything else 2017-02-28 12:08:47 +01:00
Julien Duponchelle da8811515d Remove noise from log when VMware is not installed 2017-02-28 11:42:07 +01:00
Julien Duponchelle ec6411f730 Fix an error with some SVG
Fix #919
2017-02-28 11:22:53 +01:00
Julien Duponchelle 70e2b87ff0 Patch hostname in configuration file even if name is unsync
Ref https://github.com/GNS3/gns3-gui/issues/1889
2017-02-27 12:48:05 +01:00
Julien Duponchelle 8fd59c7967 If the GNS3 VM as failed to start reset his status 2017-02-27 12:03:26 +01:00
Julien Duponchelle 9c71e96fd4 Report aiohttp version in crash report 2017-02-27 11:31:51 +01:00
Julien Duponchelle 8e9c480d8d Catch some invalid node name formatting
Fix #917
2017-02-27 11:24:06 +01:00
Julien Duponchelle 53dd1bd6e1 Ensure we dump a .gns3 before exporting it
Fix #915
2017-02-27 11:10:08 +01:00
pyup.io bot 34d0736946 Update sphinx from 1.5.2 to 1.5.3 (#916) 2017-02-27 08:45:45 +01:00
Julien Duponchelle 2e0f012952 Improve ACPI shutdown for virtualbox 2017-02-24 13:58:03 +01:00
Julien Duponchelle 65b75a9212 Fix an issue with serial capture for IOU
Fix https://github.com/GNS3/gns3-gui/issues/1886
2017-02-24 11:55:41 +01:00
Julien Duponchelle 366c567864 Fix restoration of private config when using dynamips
Fix #906
2017-02-23 18:21:00 +01:00
Julien Duponchelle 420c3792eb Merge branch 'unknow_error_bug' into 2.0 2017-02-23 18:08:46 +01:00
Julien Duponchelle 3fb24dd895 Avoid a crash when the connection with the server close 2017-02-23 17:54:01 +01:00
Julien Duponchelle 5bfa864f0c Increase timeout for detecting VirtualBox GNS3 VM 2017-02-23 16:19:20 +01:00
Julien Duponchelle 0d96471f29 Fix headless startup of the GNS3 VM 2017-02-23 15:35:30 +01:00
Julien Duponchelle 8aca3c7b99 Do not crash at startup if local server as the same name as remote server
Fix #910
2017-02-23 14:34:21 +01:00
Julien Duponchelle 30db4d8b5c Yarl 0.9.8 is require by aiohttp 1.3 2017-02-23 11:49:46 +01:00
Julien Duponchelle afa3f12e30 Allow any 1.3 aiohttp release but not 1.4 2017-02-23 11:48:34 +01:00
Julien Duponchelle 726480f676 Disable Keep Alive because it's bug with old Qt versions 2017-02-23 09:32:26 +01:00
Julien Duponchelle 40be22bc58 Fix run missing function
Fix https://github.com/GNS3/gns3-gui/issues/1878
2017-02-23 09:13:27 +01:00
Julien Duponchelle 6a91804116 Catch error when you provide an invalid port name formating
Fix #909
2017-02-22 18:03:26 +01:00
pyup.io bot ebe8c1e536 Update aiohttp from 1.2.0 to 1.3.3 (#905) 2017-02-22 10:28:43 +01:00
Julien Duponchelle 2884a40769 Fix error when the startup config file is missing
Fix https://github.com/GNS3/gns3-gui/issues/1877
2017-02-22 09:28:34 +01:00
Julien Duponchelle b132d95a04 Fix error when you delete the builtin symbols directory
Fix #908
2017-02-20 18:28:49 +01:00
Julien Duponchelle 961c209ab1 Fix an issue when getting size from some SVG file
Fix https://github.com/GNS3/gns3-gui/issues/1866
2017-02-20 17:25:26 +01:00
Julien Duponchelle 132a7bfeb7 Catch an error in etherswitch when ubridge die
Fix #907
2017-02-20 12:19:38 +01:00
Julien Duponchelle 7407ab88b3 Fix a failing test on Python 3.6 2017-02-20 10:56:48 +01:00
Julien Duponchelle 7fea6f0e2e Fix conversion issue for old IOU projects
Fix https://github.com/GNS3/gns3-gui/issues/1868
2017-02-20 10:48:03 +01:00
Julien Duponchelle a730fce514 2.0.0dev9 2017-02-16 11:23:19 +01:00
Julien Duponchelle 5796f47a55 Crash report key for b4 2017-02-16 11:21:39 +01:00
Julien Duponchelle 0f33448af2 2.0.0 beta 4 2017-02-16 11:19:27 +01:00
Julien Duponchelle 8d2c27eafd Lock aiohttp to see if it's the reason of Unkown error from Qt 2017-02-15 20:10:41 +01:00
Julien Duponchelle 10b039074f Avoid a crash in some conditions when reading the serial console 2017-02-15 19:31:38 +01:00
Julien Duponchelle 897c9cb42c Improve docker container for development 2017-02-15 19:31:18 +01:00
Julien Duponchelle a2337ed6c6 Force installation of last aiohttp 2017-02-15 16:41:23 +01:00
Julien Duponchelle b7e5c08fdf Display git version in commit 2017-02-15 12:58:12 +01:00
Julien Duponchelle e04eb44a15 Disallow export of project with VirtualBox linked clone
Fix https://github.com/GNS3/gns3-gui/issues/1824
2017-02-14 16:41:31 +01:00
Julien Duponchelle a191029c4f Fix linked_clone property lost during topology convert 2017-02-14 14:45:48 +01:00
Julien Duponchelle 0dbd92db11 Fix disk lost when save as a project using linked clone VirtualBox
Fix https://github.com/GNS3/gns3-gui/issues/1824
2017-02-13 19:11:29 +01:00
Julien Duponchelle a576c57873 Catch permission error when restoring a snapshot
Fix #899
2017-02-13 15:30:02 +01:00
Julien Duponchelle 5639cbe860 Fix a rare crash when closing a project
Fix #900
2017-02-13 15:24:22 +01:00
Julien Duponchelle defcf82610 Fix a rare error when closing a project
Fix #897
2017-02-13 15:18:00 +01:00
Julien Duponchelle 4fed98617b Add Dockerfile for development 2017-02-13 11:39:21 +01:00
Julien Duponchelle f33e470601 Fix error when you have error on your filesystem during project convertion
Fix #894
2017-02-07 10:36:36 +01:00
Julien Duponchelle 19b70accd5 Catch error when we can't access to a unix socket 2017-02-06 17:59:00 +01:00
Julien Duponchelle 94fd4bcbe9 Fix stacktrace display when connecting to remote server
Fix #891
2017-02-06 17:56:08 +01:00
Julien Duponchelle 6ded234681 Fix an error with Python 3.4 2017-02-06 17:19:02 +01:00
Julien Duponchelle bcc71b5455 Fix a crash with Python 3.4
Fix https://github.com/GNS3/gns3-server/issues/876
2017-02-06 16:52:13 +01:00
Julien Duponchelle 08c2892295 If we can't resolve compute name return 0.0.0.0
It's not perfect, but it's rare in most cases it's
handle before.

Fix #892
2017-02-06 16:47:40 +01:00
Julien Duponchelle 9c7d2e9915 Raise an error if you put an invalid key in node name
Fix https://github.com/GNS3/gns3-gui/issues/1833
2017-02-06 15:05:29 +01:00
Julien Duponchelle 0d7157c295 Improve a lot project loading speed
Fix #893
2017-02-06 11:57:56 +01:00
Julien Duponchelle fbe26d11cf Fix a potential crash 2017-02-06 11:07:35 +01:00
Julien Duponchelle d06af526b2 Fix the server don't start if a remote is unavailable 2017-02-06 10:49:09 +01:00
Julien Duponchelle 959c08449e Do not crash if you pass {name} in name 2017-02-03 14:56:55 +01:00
Julien Duponchelle 96194cef67 Fix import/export of dynamips configuration 2017-02-03 14:44:32 +01:00
Julien Duponchelle 63b888a57e Drop unused code 2017-02-02 15:34:39 +01:00
Julien Duponchelle 46d405c8b3 Simplify conversion process from 1.3 to 2.0
This could avoid some corruption issue.
2017-02-02 11:52:55 +01:00
Julien Duponchelle f0ff035c0b Prevent corruption of VM in VirtualBox when using linked clone
Fix https://github.com/GNS3/gns3-gui/issues/1821
2017-01-31 18:58:43 +01:00
Julien Duponchelle 27a1089806 Fix creation of qemu img
Fix https://github.com/GNS3/gns3-gui/issues/1826
2017-01-31 15:16:05 +01:00
Julien Duponchelle bfbc6ff0be Fix rare race condition when stopping ubridge
Fix #887
2017-01-31 13:43:05 +01:00
Julien Duponchelle 580693b1ec Prevent renaming of a running VirtualBox linked VM
Fix https://github.com/GNS3/gns3-gui/issues/1816
2017-01-30 15:19:46 +01:00
Julien Duponchelle 2da20177a2 Avoid crash when you broke your system permissions
Fix #877
2017-01-27 10:56:48 +01:00
Julien Duponchelle 267a5ae3a8 Do not crash when you broke permission on your file system during
execution

Fix #878
2017-01-27 10:52:17 +01:00
Julien Duponchelle 8ff7670031 Fix a crash when you broke permission on your file system
Fix #879
2017-01-27 10:49:57 +01:00
Julien Duponchelle d99ec92210 Fix a rare race condition when exporting debug informations
Fix #880
2017-01-27 10:48:07 +01:00
Julien Duponchelle b9bd6aa501 Do not try to start the GNS3 VM if the name is none
Fix #881
2017-01-27 10:41:39 +01:00
Julien Duponchelle 1ed88eda85 Fix version check for VPCS 2017-01-23 21:11:52 +01:00
Julien Duponchelle a24490930f Fix pcap for PPP link with IOU
Fix https://github.com/GNS3/gns3-gui/issues/1799
2017-01-23 18:28:06 +01:00
Julien Duponchelle dc40b0296e Correct link are not connected to the correct ethernet switch port after conversion
Fix https://github.com/GNS3/gns3-gui/issues/1797
2017-01-23 13:34:11 +01:00
Julien Duponchelle f90e6f2f5b Fix an error if you don't have permissions on your symbols directory
Fix #872
2017-01-23 10:23:18 +01:00
Julien Duponchelle a1a677fcd3 Fix an error when converting some topologies from 1.3
Fix #871
2017-01-23 10:18:35 +01:00
pyup.io bot 9d6d15c1bc Update sphinx from 1.5.1 to 1.5.2 (#873) 2017-01-23 10:01:53 +01:00
pyup.io bot 5183ef8348 Update pytest from 3.0.5 to 3.0.6 (#874) 2017-01-23 10:00:18 +01:00
Julien Duponchelle 1b07c31ef1 2.0.0 dev8 2017-01-19 11:17:22 +01:00
Julien Duponchelle c5be64a44f 2.0.0b3 2017-01-19 11:16:05 +01:00
Julien Duponchelle 6177a45eb5 Merge branch 'master' into 2.0 2017-01-19 11:04:56 +01:00
Julien Duponchelle e7a88a7d99 Force the dependency on typing because otherwise it's broke on 3.4 2017-01-19 10:27:32 +01:00
Julien Duponchelle 89d98bc528 Fix sometimes you have an exception when closing GNS3
Fix #869
2017-01-18 18:38:25 +01:00
Julien Duponchelle d74769c824 Fix duplicate node names
Fix https://github.com/GNS3/gns3-gui/issues/1796
2017-01-18 18:28:50 +01:00
Julien Duponchelle e5dba5e66a Fix bug with other directory of Qemu images
Fix https://github.com/GNS3/gns3-gui/issues/1790
2017-01-18 12:39:10 +01:00
Julien Duponchelle 3c0bdd12b5 Do not raise an error if no VM is selected for remote GNS3 VM 2017-01-18 09:49:59 +01:00
Julien Duponchelle 47c58bb400 Fix UnboundLocalError: local variable 'vmname' referenced before assignment
Fix #868
2017-01-18 09:39:27 +01:00
Julien Duponchelle c9f3ea4489 Fix some race condition in project deletion
Fix #866
2017-01-17 19:37:38 +01:00
Julien Duponchelle d10e707f4f Turn off coveralls 2017-01-17 18:58:43 +01:00
Julien Duponchelle 28cbae546d Fix tests broken by recent pytest upgrades 2017-01-17 18:56:06 +01:00
Julien Duponchelle 82da073dd7 If qemu status change internally we mirror it 2017-01-17 16:03:12 +01:00
Julien Duponchelle 6938e400d1 Fix VPCS test suite 2017-01-17 16:02:56 +01:00
Julien Duponchelle bfb23ce7a3 Fix hostname of VPCS is not changed
Fix https://github.com/GNS3/gns3-gui/issues/1780
2017-01-17 14:34:48 +01:00
Julien Duponchelle e06be6729a Fix streaming test 2017-01-17 09:05:05 +01:00
Julien Duponchelle 304d92764c Fix capture stop with Wireshark
Fix https://github.com/GNS3/gns3-gui/issues/1763
2017-01-16 20:31:55 +01:00
Julien Duponchelle 2de284ea30 Fix some tests on travis 2017-01-16 10:13:13 +01:00
Julien Duponchelle 7a0783d050 Drop a useless debug information
Fix https://github.com/GNS3/gns3-gui/issues/1778
2017-01-16 09:17:08 +01:00
Julien Duponchelle 7241063ddf Fix sometimes VirtualBox VM are not loading
Fix  https://github.com/GNS3/gns3-server/issues/865
2017-01-16 08:57:50 +01:00
Julien Duponchelle 1527a1a4e1 Fix cloud on Linux
Fix  https://github.com/GNS3/gns3-server/issues/865
2017-01-13 17:08:40 +01:00
Jeremy Grossmann ec0181a5ad Merge pull request #856 from GNS3/dynamips_directory_layout
Change directory layout for dynamips.
2017-01-12 20:30:10 -08:00
Julien Duponchelle e87f5fd782 Merge branch 'master' into 2.0 2017-01-12 09:08:17 +01:00
Julien Duponchelle e63171c2c2 1.5.3dev1 2017-01-12 09:07:06 +01:00
Julien Duponchelle 19c4ec1867 1.5.3 2017-01-12 08:18:46 +01:00
Julien Duponchelle b1ae884bf0 Drop NAT port from cloud from old topologies
It was almost not used (only one occurrence in the whole
beta test).

Fix #844
2017-01-11 19:20:12 +01:00
Julien Duponchelle 1bf54bcaeb Fix Port labels for docker VMs incorrect 2017-01-11 18:38:28 +01:00
Julien Duponchelle 82c99418b4 Fix If cloud interface is down the project doesn't open
Fix https://github.com/GNS3/gns3-gui/issues/1751
2017-01-11 17:23:36 +01:00
Julien Duponchelle 69d8ed5636 Catch Timeout error from VirtualBox GNS3 VM
Fix #864
2017-01-11 15:49:36 +01:00
Julien Duponchelle df694ca9eb Fix export of IOU configuration
Fix https://github.com/GNS3/gns3-gui/issues/1745
2017-01-10 15:50:35 +01:00
Julien Duponchelle 720adb7721 Fix a crash with VirtualBox in some conditions
Fix #863
2017-01-10 14:23:12 +01:00
Julien Duponchelle 9480065b28 Sata disk interface support for Qemu VMs. (#862) 2017-01-10 14:11:40 +01:00
Julien Duponchelle afd46ec010 Fix random error in the dynamips test suite after previous commit 2017-01-10 12:41:14 +01:00
Julien Duponchelle 6150929a5b Support conversion to dynamips new directory layout on remote
Ref https://github.com/GNS3/gns3-gui/issues/1761
2017-01-10 12:15:31 +01:00
Julien Duponchelle e0071f5b59 Catch error when a file is deleted during the compression of project
Fix #860
2017-01-10 10:16:45 +01:00
Julien Duponchelle 666461277d Fix a crash with some docker images
Fix #861
2017-01-10 10:09:34 +01:00
Julien Duponchelle 41d32a5f71 Fix Wrong slot numbering on IOS router
Fix #1762
2017-01-09 18:04:54 +01:00
Julien Duponchelle f7d87f09f1 Fix VPCS configuration is overwritten on project load
Fix https://github.com/GNS3/gns3-gui/issues/1766
2017-01-09 17:07:42 +01:00
Julien Duponchelle 58287b3638 Fix wrong short label for ethernet switch, hub & VPCS
Fix https://github.com/GNS3/gns3-gui/issues/1764
2017-01-09 16:48:42 +01:00
Julien Duponchelle 2de60ba257 Drop a useless line of code in port_manager 2017-01-09 16:11:34 +01:00
Julien Duponchelle 035cbac28e Fix binding console host for VMware and VirtualBox
Ref https://github.com/GNS3/gns3-gui/issues/1757
2017-01-09 16:05:29 +01:00
Julien Duponchelle b63273ec97 Fix resume of dynamips routers
Fix #1754
2017-01-09 13:24:23 +01:00
Julien Duponchelle 45cf004946 Merge branch 'master' into 2.0 2017-01-09 11:01:24 +01:00
Bernhard Ehlers 8019374ed0 Fix sporadically systemd is unable to start gns3-server
Signed-off-by: Julien Duponchelle <julien@gns3.net>
2017-01-09 10:28:21 +01:00
Julien Duponchelle 688122c467 Fix RuntimeError: File size has increased during compressing
Fix #858
2017-01-09 10:20:14 +01:00
Julien Duponchelle 5c8193556d Do not dump local compute configuration when saving topology
Fix #855
2017-01-09 10:14:21 +01:00
Julien Duponchelle a2fdc92fcb Change directory layout for dynamips.
This create a directory by node to allow feature like save as
to work when running on multiple compute. Benefits now dynamips work
like other nodes. Old topologies are migrated.

Ref https://github.com/GNS3/gns3-gui/issues/1761
2017-01-06 17:43:47 +01:00
Julien Duponchelle 955a466be5 Ensure we can't connect to occupy port
Ref https://github.com/GNS3/gns3-gui/issues/1759
2017-01-06 10:29:56 +01:00
Julien Duponchelle 51aef2b9c7 Fix handling of UTF-8 in large SVG files
Fix #854
2017-01-06 09:42:56 +01:00
Julien Duponchelle 6778b29fc0 Prevent a crash when you close a dynamips node and create a link at the same time
Fix #853
2017-01-06 09:33:10 +01:00
Julien Duponchelle d4be588973 Cleanup tests around port name 2017-01-05 17:49:36 +01:00
Julien Duponchelle a329f89294 Remove Yarl version requirements (trust aiohttp for it) 2017-01-05 17:10:07 +01:00
Julien Duponchelle c06d2e3118 Fix short label diplay instead of custom interface labels
Fix https://github.com/GNS3/gns3-gui/issues/1742, https://github.com/GNS3/gns3-gui/issues/1752
2017-01-05 16:55:31 +01:00
Julien Duponchelle 12f09829e7 Improve error message about the netmask
Ref #1751
2017-01-05 14:51:43 +01:00
grossmj c9fc0a0d6d Do not mark VirtualBox adapter as connected when not connected to another node in GNS3. 2017-01-05 14:30:23 +08:00
grossmj 855ab13655 Add missing 'DLT_PPP_SERIAL' PCAP link type in schemas. 2017-01-05 12:24:36 +08:00
Julien Duponchelle ef54367bf7 Fix crash when converting topology with broken link
Fix #845
2016-12-21 14:39:44 +01:00
Julien Duponchelle e53db1ed81 Replace JSONDecodeError by ValueError (Python 3.4 compatibility)
Fix #847
2016-12-21 09:45:24 +01:00
Julien Duponchelle 8c61ef18ba 2.0.0dev7 2016-12-21 09:40:36 +01:00
Julien Duponchelle 9a7a9f41aa Catch an error when we can't create the IOU directory
Fix #846
2016-12-21 09:33:44 +01:00
Julien Duponchelle 2acd6ce884 2.0.0 beta 2 2016-12-20 11:57:34 +01:00
Julien Duponchelle af530be346 1.5.3dev2 2016-12-20 11:48:55 +01:00
Julien Duponchelle 9c3cfc4f4e 1.5.3 rc1 2016-12-20 09:30:52 +01:00
Julien Duponchelle 4eed9acbd5 Merge branch 'master' into 2.0 2016-12-20 09:22:47 +01:00
Julien Duponchelle c7d878ed9e Fix TypeError: __init__() got multiple values for argument 'handler' with recent aiohttp
Fix #841
2016-12-20 09:21:02 +01:00
Julien Duponchelle 49f1ee2e32 Support aiohttp 1.2 (but not compatible with previous versions)
Fix #840
2016-12-20 09:17:45 +01:00
Julien Duponchelle 52adf45740 Fix an error when docker hub failed to anwser
Fix #843
2016-12-20 09:15:28 +01:00
Julien Duponchelle 2011aca43a Fix an issue with Docker and IOU packet capture
Fix https://github.com/GNS3/gns3-gui/issues/1727
2016-12-19 12:26:34 +01:00
Julien Duponchelle 3bc78f61df Fix TypeError: __init__() got multiple values for argument 'handler' with recent aiohttp
Fix #841
2016-12-19 11:12:15 +01:00
Julien Duponchelle 572fa08049 Support aiohttp 1.2 (but not compatible with previous versions)
Fix #840
2016-12-19 10:10:47 +01:00
Julien Duponchelle 7ba7c89594 Support UDP cloud from 1.5
Fix #822
2016-12-19 09:46:34 +01:00
Julien Duponchelle f86358ad71 Relax permission check on OSX, it seem returning wrong info for setuid 2016-12-19 09:28:27 +01:00
Julien Duponchelle 8f6d25cc2b Fix start all create error if a docker container is already running
Fix #839
2016-12-16 16:19:23 +01:00
Julien Duponchelle 3259ec1220 Close project if one one the compute of the project is down
Fix #836
2016-12-15 21:57:59 +01:00
Julien Duponchelle 60eea1f171 Fix error when you upload an empty file
Fix #838
2016-12-15 17:12:54 +01:00
Julien Duponchelle b79235afb7 Fix KeyError: 'color' when converting some 1.3 topologies
Fix #837
2016-12-15 16:52:01 +01:00
Julien Duponchelle f3e9917479 Fix move a docker restart it
Fix #832
2016-12-14 19:21:50 +01:00
Julien Duponchelle 74a7e630d3 Fix export of projects with docker with a / in the image name
Fix #834
2016-12-14 18:57:59 +01:00
Julien Duponchelle 1b6411f88e Fix an error on Linux during export
Fix #826
2016-12-14 18:44:32 +01:00
Julien Duponchelle 46b6e7c5ee Fix hot link issues in Docker
Fix #817
2016-12-14 16:53:20 +01:00
Julien Duponchelle d0f65aebff Fix Can't delete link between docker VM after they were in use
Fix #818
2016-12-14 12:01:34 +01:00
Julien Duponchelle 30f29d00c4 Fix hardware virtualization detection when an ethernet switch is running
Fix https://github.com/GNS3/gns3-gui/issues/1722
2016-12-14 11:04:13 +01:00
Julien Duponchelle 81a9b63dbc Trust user for host binding of link adress 2016-12-13 17:34:41 +01:00
pyup.io bot d4603ee346 Update sphinx from 1.5 to 1.5.1 (#830) 2016-12-13 17:14:06 +01:00
Julien Duponchelle 668c479ef6 Temporary fix for tunnel binding for Daniel from SWI 2016-12-13 16:46:09 +01:00
Bernhard Ehlers a3495304ad Code cleanup for docker interface creation
Fix #819

Signed-off-by: Julien Duponchelle <julien@gns3.net>
2016-12-13 16:07:59 +01:00
Julien Duponchelle 9f6f830418 Fix TypeError: __new__() got multiple values for argument 'node_type'
Fix #827
2016-12-13 09:36:45 +01:00
Julien Duponchelle 1cf987a548 Fix a rare crash when writing a file on a remote server
Fix #829
2016-12-13 09:25:44 +01:00
Julien Duponchelle 8f42122702 Fix 'EthernetSwitch' object has no attribute 'hw_virtualization'
Fix #828
2016-12-13 09:21:06 +01:00
Julien Duponchelle 89537204df Fix delete project on remote compute server
Fix https://github.com/GNS3/gns3-gui/issues/1714
2016-12-12 22:41:43 +01:00
Julien Duponchelle 1106a1af47 Typo 2016-12-12 21:34:00 +01:00
Julien Duponchelle d2f0cddbd7 Fix trouble with builtin devices when we free ports
Fix #825
2016-12-12 19:17:06 +01:00
Julien Duponchelle 9872fc09b7 When a dynamips command failed display the full command to the user
Ref #825
2016-12-12 16:38:55 +01:00
Julien Duponchelle 35c2e2fcc4 Fix a wrong error message 2016-12-12 16:29:56 +01:00
Julien Duponchelle 922da7c90f Raise error when we can't found VboxManage at GNS3 VM startup
Fix #824
2016-12-12 15:03:56 +01:00
Julien Duponchelle e2fd339f35 Catch auth errors when adding a compute
Fix #813
2016-12-12 11:27:18 +01:00
Julien Duponchelle 897a94f343 Do not block server startup if one project use non implemented conversion
Ref #822
2016-12-12 11:18:17 +01:00
Julien Duponchelle 063087f6fb Fix an error when deleting a compute already deleted
Fix #815
2016-12-12 11:09:07 +01:00
Julien Duponchelle d16e3bb37b Catch cancelled error when you Ctrl-C during server initalisation
Fix #820
2016-12-12 10:17:45 +01:00
Julien Duponchelle 4cd08c8955 Handle OSerror when listing images
Fix #823
2016-12-12 10:14:34 +01:00
Julien Duponchelle 4bb990bf0c Fix JSONDecodeError
Fix #814
2016-12-12 10:03:40 +01:00
Julien Duponchelle 508edf5cc5 Fix a rare crash when stopping qemu
Fix #821
2016-12-12 09:16:29 +01:00
Julien Duponchelle c4327ec74c Improve docker HTTP console
Fix #816
2016-12-09 16:41:15 +01:00
Julien Duponchelle 846041a59c Fix configuration lost during save as on remote server
Fix https://github.com/GNS3/gns3-gui/issues/1704, https://github.com/GNS3/gns3-gui/issues/1705
2016-12-08 16:55:16 +01:00
Julien Duponchelle 5ba5c62670 Add support for bios images
Ref https://github.com/GNS3/gns3-gui/issues/1700
2016-12-08 16:18:30 +01:00
Julien Duponchelle bd1560ae50 Fix error when controller config file is corrupted
Fix #812
2016-12-08 10:52:21 +01:00
Julien Duponchelle 1d1861fe51 2.0.0dev6 2016-12-08 10:33:09 +01:00
Julien Duponchelle d006ea0f56 2.0.0 beta 1 2016-12-07 19:41:07 +01:00
Julien Duponchelle 52260cba53 Fix crash if at controller loading the remote server is not a GNS3 server
Fix #810
2016-12-07 11:01:26 +01:00
Stephen C. Moore d55c73bc8e Fix grammar (#808)
* Fixed small grammatical error

* Fixed small grammatical error
2016-12-05 17:30:09 +01:00
pyup.io bot 97391185e6 Update pytest from 3.0.4 to 3.0.5 (#809) 2016-12-05 17:29:28 +01:00
Julien Duponchelle 9a632fb823 Update the way we start controller to avoid hiding crash reports 2016-12-05 10:29:20 +01:00
pyup.io bot cb02046e01 Update sphinx from 1.4.9 to 1.5 (#807) 2016-12-05 08:52:09 +01:00
Julien Duponchelle c53201b753 Fix when you switch console from VNC to telnet it's fail
Fix #805
2016-12-01 11:47:05 +01:00
Julien Duponchelle 95e944257a AttributeError: 'Project' object has no attribute 'emit'
Fix #804
2016-12-01 10:27:05 +01:00
Julien Duponchelle e3b1eee85b Improve autostart logging 2016-12-01 09:24:52 +01:00
Julien Duponchelle 5efc5684ba Fix warning when vmware is not installed 2016-11-28 20:28:19 +01:00
Julien Duponchelle 433f620905 If a VMware command fail retry
Ref #1671
2016-11-28 20:00:20 +01:00
Julien Duponchelle 49315adf79 Do not recurse scan for images in standard image directory
Fix https://github.com/GNS3/gns3-gui/issues/1680
2016-11-28 19:49:50 +01:00
Julien Duponchelle a36fc37250 When we restore snapshot on a fail project do not crash
Fix #800
2016-11-28 13:49:09 +01:00
Julien Duponchelle 2b15da3d19 Catch error when qemuy can't connect to his console
Fix #803
2016-11-28 13:18:04 +01:00
Julien Duponchelle b3d83b1b0b Catch error when no space left on disk during export
Fix #801
2016-11-28 12:53:50 +01:00
Julien Duponchelle 60a145afbb Improve vmware error message for easier copy paste 2016-11-28 09:59:38 +01:00
Julien Duponchelle a776b36e98 Improve vmware vmrun error error message 2016-11-28 09:51:06 +01:00
Julien Duponchelle 40263e14ca Catch error if you export a project deleted from disk
Fix #793
2016-11-25 17:18:23 +01:00
Julien Duponchelle 9b6b989d1b Qemu UDP listen on all ips 2016-11-25 15:21:35 +01:00
Julien Duponchelle 794dac31f5 UDP tunnel debuging
Fix #1562
2016-11-25 15:11:31 +01:00
Julien Duponchelle ff47fd31e2 Force yarl version >= 0.7.0
Fix #796
2016-11-25 12:14:39 +01:00
Julien Duponchelle 2215702ae8 Ask user to refresh is user session if he just installed ubridge
Ref https://github.com/GNS3/gns3-server/issues/796
2016-11-24 15:16:25 +01:00
Julien Duponchelle 03555a3489 2.0.0dev5 2016-11-24 12:53:31 +01:00
Julien Duponchelle 35d5a4a21c Add the date to the changelog 2016-11-24 12:08:10 +01:00
Julien Duponchelle abcddb99b8 2.0.0a4 2016-11-24 12:05:10 +01:00
pyup.io bot 62db0b628b Update sphinx from 1.4.8 to 1.4.9 (#794) 2016-11-23 21:23:13 +01:00
grossmj 38d9555f72 Do not block traffic originating from an Ethernet interface in the cloud. Ref #771. 2016-11-23 22:06:44 +11:00
grossmj 7754d7f211 Revert "Make the Ethernet side the source in uBridge connection and UDP tunnel the destination. Ref #771."
This reverts commit 31c04cc95b.
2016-11-23 21:55:26 +11:00
Julien Duponchelle 875051d05e Prevent capture on non running node
Fix https://github.com/GNS3/gns3-gui/issues/1656
2016-11-22 16:05:57 +01:00
grossmj 31c04cc95b Make the Ethernet side the source in uBridge connection and UDP tunnel the destination. Ref #771. 2016-11-22 21:57:55 +11:00
Julien Duponchelle a853e87fa5 IOURC is a text box instead of a file path
Fix https://github.com/GNS3/gns3-gui/issues/1662
2016-11-21 18:16:50 +01:00
Julien Duponchelle 9be293909e Use vnetlib64.exe when possible
Fix https://github.com/GNS3/gns3-gui/issues/1648
2016-11-21 17:49:40 +01:00
Julien Duponchelle 1beae95443 Multiple improvements around starting the GNS3 VM
* avoid concurrent start
* proper catching of the TimeOut error

Ref #754
2016-11-21 09:59:25 +01:00
Julien Duponchelle 40af2a35e0 Wait for the end of project loading before making new change
Fix #790
2016-11-18 17:35:28 +01:00
Julien Duponchelle 5ab85e5c9e Avoid crash due to persmission error on the .backup file 2016-11-18 17:17:14 +01:00
Julien Duponchelle 8ad5670eeb For security reason debug informations can only be exported from local server
Ref #1562
2016-11-18 16:38:27 +01:00
Julien Duponchelle d2564cee9b Add more debug informations if VM failed to start
Fix #754
2016-11-18 16:19:58 +01:00
Julien Duponchelle 434f6a70dd Fix tests on Python 3.5 >= 2016-11-18 12:08:29 +01:00
Julien Duponchelle a872f0328d Fix closing console of VBox on NIX systems 2016-11-18 11:27:50 +01:00
Julien Duponchelle 11f290482d Remove debug 2016-11-18 10:44:57 +01:00
Julien Duponchelle e4fdfbd091 Code cleanup around ubridge 2016-11-17 18:11:56 +01:00
Julien Duponchelle dcff51eb75 Use wait_for for waiting a process with python 3.5 2016-11-17 18:09:46 +01:00
Julien Duponchelle a14ad2fc99 Fix tests 2016-11-17 14:08:00 +01:00
Julien Duponchelle 14fd8104b8 Fix opening a project whith the same non linked VM as current project
Fix https://github.com/GNS3/gns3-gui/issues/1646
2016-11-17 12:21:38 +01:00
Julien Duponchelle 75890c8f5a Prevent double start of VirtualBox VM and VMware VM
Fix https://github.com/GNS3/gns3-gui/issues/1664
2016-11-17 10:38:29 +01:00
Julien Duponchelle 81b2894658 Fix KeyError: 'linked_clone'
Fix #792
2016-11-17 10:17:23 +01:00
Julien Duponchelle 94ceb2dda0 No connection limit / No keep alive for connection to compute
Fix #779
2016-11-16 15:04:10 +01:00
Julien Duponchelle 8850265cb6 Improve random queries to start/stop nodes
It's confirm the issue  #779
2016-11-16 14:54:09 +01:00
Julien Duponchelle 66a237628a Return default symbol if user asked for a non existing symbol 2016-11-16 13:17:58 +01:00
Julien Duponchelle 928d9f13f4 Do not log warning at qemu exit on windows if it's normal
Fix #777
2016-11-16 13:06:43 +01:00
Julien Duponchelle ecfa89cba8 Speed up interfaces listening on Windows
Fix #788
2016-11-16 12:28:02 +01:00
Julien Duponchelle 6e5e9e3df9 Fix filtering special interfaces on Windows 2016-11-16 12:21:43 +01:00
Julien Duponchelle 56c580dc44 On windows filter VMware and VirtualBox adapters by default
Ref #788
2016-11-16 12:16:46 +01:00
Julien Duponchelle 0250547479 If server answer not found explain this could be due to the usage of 1.X server 2016-11-15 18:36:04 +01:00
Julien Duponchelle 89bbe0ef1b Fix stack when looking for GNS3 VM with player installed
Fix #778
2016-11-15 18:17:34 +01:00
grossmj 3c384a7bf0 Try to fix VPCS and loobpack adapters not working together. Ref #771. 2016-11-15 17:36:51 +11:00
Julien Duponchelle 5166d894eb Do not reload a project via /load if the project is already opened
Fix #785
2016-11-14 18:45:44 +01:00
Julien Duponchelle e996b825c6 Fix you can not pass auto close at project creation 2016-11-14 16:10:19 +01:00
Julien Duponchelle 5e4f5fe2d1 Script for sending random query to the GNS3 server
The purpose of this script is to replicate weird
issues by sending a large number of queries.

* Ref https://github.com/GNS3/gns3-gui/issues/1654
* Ref https://github.com/GNS3/gns3-gui/issues/1659
2016-11-14 14:02:58 +01:00
Julien Duponchelle a8b78a9b0a Fix traceback when sending invalid parameters to the server
Fix #783
2016-11-14 14:00:11 +01:00
pyup.io bot 2c6063569a Update pytest from 3.0.3 to 3.0.4 (#781) 2016-11-14 09:45:22 +01:00
grossmj fdc9283e04 Generic code the bind an Ethernet interface with uBridge. Ref #771. 2016-11-13 20:28:14 +11:00
Julien Duponchelle 63a92c4a16 Require ubridge 0.9.7 this fix error with IOL bridge creation
Fix https://github.com/GNS3/gns3-gui/issues/1651
2016-11-11 17:07:20 +01:00
Julien Duponchelle 8dd4f63aca Make sure IOU licence is dump in ~/
Fix #780
2016-11-11 16:18:39 +01:00
Julien Duponchelle 3bc4e951b8 Fix a None error when creating link 2016-11-11 16:08:52 +01:00
Julien Duponchelle 8db9b89318 Fix IOL bridge errors
Fix https://github.com/GNS3/gns3-gui/issues/1651
2016-11-11 15:16:46 +01:00
Julien Duponchelle 52577b55b2 Typo 2016-11-11 14:44:27 +01:00
Julien Duponchelle 3bb4f6f133 Display path of vnetlib during interface creations
Ref https://github.com/GNS3/gns3-gui/issues/1648
2016-11-11 14:26:09 +01:00
Julien Duponchelle c5ef6b310d Use last aiohttp 2016-11-11 13:19:44 +01:00
Julien Duponchelle 1bb760d3f0 Make logs for searching GNS3 VM vmware IP less noisy
Fix #765
2016-11-11 11:41:16 +01:00
Julien Duponchelle 65090c6f87 Catch errors when listing images
Fix #764
2016-11-11 11:24:41 +01:00
Julien Duponchelle 477091207d Better handle compute unavailable errors
Fix #775
2016-11-11 10:38:59 +01:00
Julien Duponchelle f968f6616f Fix NameError: name 'available_ram' is not define
Fix #767
2016-11-11 10:25:37 +01:00
pyup.io bot 0f0dff3bbb Update pytest-timeout from 1.0.0 to 1.2.0 (#774) 2016-11-10 22:54:17 +01:00
Julien Duponchelle 57e2fd9943 If we can found a common subnet we return the host binding for link
creation

Fix #773
2016-11-10 22:39:16 +01:00
Julien Duponchelle ca6f014207 Do not connect GNS3 to remote server via 169.254.X.X 2016-11-10 14:46:25 +01:00
Julien Duponchelle 5f988bae2f Expose debug informations about links 2016-11-10 14:18:24 +01:00
Julien Duponchelle bddf9ec2ac Qemu telnet support multiple client connected
Fix #770
2016-11-09 09:47:48 +01:00
Julien Duponchelle 69f154d9cc Correctly initialize connection to VPCS console 2016-11-08 20:10:17 +01:00
Julien Duponchelle db8296f548 Support multiple client connected to the same VPCS console
Ref #770
2016-11-08 19:44:12 +01:00
Julien Duponchelle 3754a49cc0 Drop IOUCON
Fix #747
2016-11-08 10:21:20 +01:00
Julien Duponchelle 15d190d911 Increase timeout for link creation 2016-11-08 09:54:59 +01:00
Julien Duponchelle 553e137a13 Support for serial console for Virtual BOX and VMware using asyncio
Ref #747
2016-11-07 23:43:20 +01:00
Julien Duponchelle 3c5cbebfb4 Fix timeout issues when starting VMware or VBox
Fix https://github.com/GNS3/gns3-gui/issues/1632
2016-11-07 17:34:51 +01:00
Julien Duponchelle a35eaa8e60 Ask for reboot if VBoxManage is not found 2016-11-07 15:49:25 +01:00
Julien Duponchelle 7931ee01b3 Fix a crash with VirtualBox linked clone 2016-11-07 14:10:44 +01:00
Julien Duponchelle 4fe2b746d0 Fix IOU tests 2016-11-06 21:22:48 +01:00
grossmj 183f602fc0 Replace iouyap by ubridge to handle IOU connections. Fixes #614. 2016-11-06 21:27:49 +11:00
grossmj c271ef8c6a Tool to add, configure and remove Windows loopback adapters.
New dependency: wmi (not added to requirements.txt).

Usage (must be running with admin rights):
gns3loopback.exe --add MY_LOOPBACK 10.0.0.1 255.0.0.0
gns3loopback.exe --remove MY_LOOPBACK
2016-11-05 15:10:05 +11:00
Julien Duponchelle 0c87d8e1bd Lock VMware by VM instead of globally
Ref https://github.com/GNS3/gns3-gui/issues/1632
2016-11-04 19:39:17 +01:00
Julien Duponchelle 7255754fef Bridge support in cloud is more robust
Fix #761
2016-11-04 17:40:44 +01:00
Julien Duponchelle cf723962af Support bridge in cloud
Nat take advantage of that and the code is more simple.

Fix #761
2016-11-04 17:32:16 +01:00
Julien Duponchelle 1b3e47ce83 Add a test of cloud raw ethernet interface
Before touching it for the bridge support a test to prevent regressions.

Ref #761
2016-11-04 16:52:29 +01:00
Julien Duponchelle 74695efe90 Fix tests checking the local flag 2016-11-04 15:42:29 +01:00
Julien Duponchelle ea94731418 Fix support of IOS images outside standard directories
Fix https://github.com/GNS3/gns3-gui/issues/1630
2016-11-04 15:26:13 +01:00
Julien Duponchelle 5dee4eb052 Raise clean error when node timeout when stopped 2016-11-04 11:40:55 +01:00
Julien Duponchelle dc26be43c2 Fix random VirtualBox creation error when using linked clone
Fix #760
2016-11-04 11:07:43 +01:00
Julien Duponchelle 6f43f988c3 Update documentations 2016-11-03 18:20:51 +01:00
Julien Duponchelle 4e15f89604 Drop console_type serial, and enable_remote_console for Vbox and VMware
Ref #748
2016-11-03 18:17:50 +01:00
Julien Duponchelle 382d8887d5 Fix a test failure when test run and gns3server is running 2016-11-03 14:27:03 +01:00
Julien Duponchelle 0d6adb0620 Fix a rare crash when a failed node is garbage collected 2016-11-03 14:21:28 +01:00
Julien Duponchelle 1e73962e33 Do not dump iourc_content to .gns3 file
Fix #759
2016-11-03 13:35:44 +01:00
Julien Duponchelle 3df3aa84ff Try to disable enable remote console for VMware to see if it's the source of timeout errors
Ref https://github.com/GNS3/gns3-gui/issues/1632
2016-11-03 10:40:00 +01:00
Julien Duponchelle 7c981f9322 Try to disable enable remote console for VMware to see if it's the source of timeout errors
Ref https://github.com/GNS3/gns3-gui/issues/1632
2016-11-02 18:59:09 +01:00
Julien Duponchelle 21ec2a6271 Fix No such file or directory when duplicate a project using Vbox linked clone hdd_info.json
Fix #1185
2016-11-02 12:50:53 +01:00
Julien Duponchelle ce5ff93242 Catch FileNotFound error for builtin symbols if erase them from disk
Fix #752
2016-11-02 12:07:25 +01:00
Julien Duponchelle c254011b33 Upgrade aiohttp 2016-11-02 11:55:47 +01:00
Julien Duponchelle 0d022a4d33 Forward server disconnected errors
Fix #758
2016-11-02 11:06:45 +01:00
Julien Duponchelle b85b4b73cc Fix a crash when vboxmanage is not found
Fix #755
2016-11-02 10:22:36 +01:00
Julien Duponchelle 308706e3d4 Raise error if IOU image is not configured
Fix #757
2016-11-02 10:20:43 +01:00
Julien Duponchelle 7c1a079ee8 Add a test for unicode characters in /images
Ref #756
2016-11-02 10:08:49 +01:00
Julien Duponchelle ae76a4f778 Fix crash when getting font 2016-11-01 18:18:51 +01:00
Julien Duponchelle 94ebd732a8 Fix a crash when default font is missing
Fix #750
2016-10-31 11:37:39 +01:00
Julien Duponchelle 9bceaa89b7 Fix a crash when vmrun is not found
Fix #753
2016-10-31 11:20:35 +01:00
Julien Duponchelle 8150c3007e 2.0.0dev4 2016-10-28 19:38:01 +02:00
Julien Duponchelle 21c83de445 2.0.0 alpha 3 2016-10-28 19:19:29 +02:00
Julien Duponchelle 6be5b6ffad Fix uuid of VirtualBox VM after a save as
Fix #1185
2016-10-28 16:00:26 +02:00
Julien Duponchelle 9d94c47fc8 Merge branch 'master' into 2.0 2016-10-28 11:39:16 +02:00
Julien Duponchelle bd4de862c8 Explain that segfault on IOU is a issue with the image
Fix #739
2016-10-28 11:25:14 +02:00
Julien Duponchelle 53e6ee1b3a Fix crash when you import a corrupted SVG
Fix #746
2016-10-28 10:06:02 +02:00
Julien Duponchelle 4a5066c2a5 Fix Error while creating link: Port 0 is not allocated. when you have an invalid interface
Fix #744
2016-10-27 19:09:27 +02:00
Julien Duponchelle ea1c525181 Fix computes tests 2016-10-27 16:54:05 +02:00
Julien Duponchelle 0cfdde7b7e Fix random password lost of remote GNS3VM 2016-10-27 16:50:00 +02:00
Julien Duponchelle ae1a9d9a5f No timeout for listing images
Fix #1617
2016-10-27 15:34:17 +02:00
Julien Duponchelle eff23eefe9 Handle 408 HTTP status code (request timeout)
Fix #743
2016-10-27 15:32:07 +02:00
Julien Duponchelle 620de3ff25 Move code for exposing VM ip to the VM itself. And display VM starting status
Fix #1621
2016-10-26 18:32:01 +02:00
Julien Duponchelle fd911542f7 Fix a crash when we have error during export project 2016-10-26 16:50:01 +02:00
Julien Duponchelle eabe4eb97e Improve remote server console host support when binding to 0.0.0.0
Fix https://github.com/GNS3/gns3-gui/issues/1574
2016-10-26 14:43:47 +02:00
Julien Duponchelle afb7eca27a Fix port naming for atm switch
Fix #735
2016-10-26 12:03:54 +02:00
Julien Duponchelle cf3ed5a329 Fix port naming for FrameRelay switch
Fix #735
2016-10-26 11:59:16 +02:00
Julien Duponchelle 048d2c12d0 Catch permission errors when listing images
Fix #1608
2016-10-26 10:53:14 +02:00
Julien Duponchelle 1080147cf5 If we can't found the VMware version we use workstation
Fix #742
2016-10-26 10:36:34 +02:00
Julien Duponchelle b50246fc2b CURL API sample for creating a dynamips router 2016-10-25 19:38:47 +02:00
Julien Duponchelle 0f9df6a2f8 Fix crash in idlePC compute 2016-10-25 19:32:07 +02:00
Julien Duponchelle 49c3ecf02e Add sample api call for creating a qemu node 2016-10-25 19:29:05 +02:00
Julien Duponchelle 9e861a7340 Try a different method in order to retrieve IP from VMware
Ref https://github.com/GNS3/gns3-gui/issues/1589
2016-10-25 18:44:40 +02:00
Julien Duponchelle 1f44e08cdd Fix naming of IOU serial interfaces
Fix #737
2016-10-25 15:26:36 +02:00
Julien Duponchelle 9799dabb98 Improve timeout management
Fix #741
2016-10-25 14:41:33 +02:00
Julien Duponchelle f8cba8cd50 Fix crash in tests 2016-10-25 12:13:42 +02:00
Julien Duponchelle 4fe293f1d5 Fix tests crash on travis 2016-10-25 12:00:17 +02:00
Julien Duponchelle 59dcdcc141 When exporting debug information export GNS3 VM vmx content
Fix #740
2016-10-25 11:56:24 +02:00
Julien Duponchelle 4815904737 /debug for exporting debug informations
Ref #740, https://github.com/GNS3/gns3-gui/issues/1562
2016-10-25 11:40:57 +02:00
Julien Duponchelle ae1e027031 Raise error if using a non linked clone VM twice
Fix https://github.com/GNS3/gns3-gui/issues/1593
2016-10-24 21:39:35 +02:00
Julien Duponchelle 597e1e618d Fix a possible deadlock at exit 2016-10-24 18:02:50 +02:00
Julien Duponchelle acd1d95a8e Fix import of some old dynamips topologies
Fix #734
2016-10-24 17:57:23 +02:00
Julien Duponchelle 0caf74443b Fix a crash with some old virtualbox topologies
Fix https://github.com/GNS3/gns3-gui/issues/1605
2016-10-24 16:47:45 +02:00
Julien Duponchelle 786159110e Fix conflict issue between the GNS3VM and a remote server 2016-10-24 15:24:45 +02:00
Julien Duponchelle b9e7ccc14f Fix typo in error message about the GNS3 VM 2016-10-24 15:16:53 +02:00
Julien Duponchelle 10e7b32409 Fix an error when importing old topology without color for label
Fix #736
2016-10-24 14:58:14 +02:00
Julien Duponchelle ac1eef256f Use tap adapter instead of veth for docker (allow usage of vlan)
Ref #716
2016-10-24 12:35:50 +02:00
Julien Duponchelle 00fc2fa007 Avoid crash during tests if VNC server run on host PC 2016-10-24 12:21:57 +02:00
Julien Duponchelle 19d184e04c 2.0.0dev3 2016-10-20 22:13:10 +02:00
Julien Duponchelle f038735595 Fix an issue with finding vmrun and vboxmanage
Ref #1575
2016-10-19 17:44:55 +02:00
507 changed files with 9016 additions and 5242 deletions

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
*.py[cod]
__pycache__
#py.test
.cache
+12 -4
View File
@@ -1,13 +1,21 @@
language: python
python:
- '3.4'
- '3.5'
- '3.6'
sudo: false
cache: pip
install:
- python setup.py install
- pip install -rdev-requirements.txt
- pip install coveralls
script:
- py.test -v -s tests --cov gns3server --cov-report term-missing
after_success:
- coveralls
- mkdir ‡
- py.test -v -s tests --basetemp=‡
deploy:
provider: pypi
user: noplay
password:
secure: Fa66zp8ML4oSGwzkUMZi07MIYfO3tbS5gHFUaLN2mk2MBknhCjDYexmFJqT//sC/+xqv6sSJE6rz1EPoy/THbxj8R96ZgIyiUZIbDCbzgdy92d7J/eusrDoNdpApBLke8NqQqtFETb3addMZZNofQ3IDANFD2m2jY+KECU8z8NI=
on:
tags: true
repo: GNS3/gns3-server
+413 -1
View File
@@ -1,5 +1,418 @@
# Change Log
## 2.0.2 30/05/2017
* Set correct permission on ubridge when doing a remote installation
* Remote install script should be totally non interactive
* Duplicate project on remote server use UUID
* Fix import of some old topologies from 1.3
* Fix error in logging of error during starting GNS3 VM
* Fix an error when logging Docker container fail to start
* Use docker version in error message of outdated docker installation
* Support images created by "docker commit". Fixes #1039
* Do not wait auto start to finish in order to complete project opening
* Improve logging for remote server connection lost
## 2.0.1 16/05/2017
* Handle HTTP 504 errors from compute node
* When connecting to a compute node ask for qemu images list
* When importing portable project NAT node is loaded on GNS3 VM
* Fix port numbering for Wic slot 1 & 2
* Fixes issue with connections when loading an ATM switch.
* Fixes ATM mapping.
* Fixes Frame-relay VC mapping.
* Fix export project is looking into the wrong directory
* Fix a race condition in logging when ubridge exit fast
* Fix conversion issue with old topology with C3640
* Fix error when you have a directory in your symbols directory
* Catch VMWare errors when getting status after GNS3 VM start
* Make sure upstart LANG is utf8
* Always install typing module (compat with python 3.4 on ubuntu)
* Fix KeyError: 'filename'
* Catch missing function listxattr on some Linux host.
* Sort image list
* Handle a race condition at project closing
* Fix unicode error when reading ios configuration
* Fix AttributeError: 'NoneType' object has no attribute 'send'
* Fix a conversion issue with some 1.3 topologies
* Fix an error with ethernetswitch when ethertype is null
* Raise an error if we can't create the dynamips configuration directory
* Catch timeout error when loading virtualbox VM
* Handle broken compute at server startup
* Catch error when we can't backup the topology
* Catch error when writting the topology file on read only device
* Catch a race condition in VirtualBox when editing and linking
* Fix a race condition when editing a qemu vm and connecting it
* Docker aux console is a VT100 terminal
## 2.0.0 02/05/2017
* Fix connection to websocket with last docker release
* Lower docker requirements in tests also
* Docker minimum api is 1.25
* Handling server disconnect error when docker daemon die
* Handle some invalid SVG images
## 2.0.0rc4 20/04/2017
* Fix a race condition when handling error at project opening
* Fix an issue with editing network on windows
* Fix windows tests
* Catch timeout error on docker
* typing is already included in Py >= 3.5 (#979)
* Fix import of some old topologies
* Fix AttributeError: 'NoneType' object has no attribute 'returncode'
* Fix ghost vmware vms
* Fix required field in schema not use
* Catch error and log them when we can't write the config
* Fix bridge 'bridge0' already exist when we have trouble with a container
* Catch an error at startup when the remote GNS3 VM is not a real GNS3 VM
* Fixes Qemu sata option. Ref #875.
* Catch GNS3 VM loading error at startup
## 1.5.4 13/04/2017
* Fix VPCS tests for recent version
* Freeze server dependencies to the same version used for 1.5.3
* Fix 1.5: Error message, when stopping IOU router #769
* Drop color logging for remote install, seem to fail in some conditions
* Cleanup the remote install script
* Support for Xenial in remote install
## 2.0.0rc3 31/03/2017
* Support IOU image without .bin at the end
* Allow to change some properties of an already connected ethernet switch
* Ensure we start only one ubridge
* Catch some broken hostname for compute node
* Fix limit of 20 docker containers
* Fix race conditions in creation of Frame Relay Switch
* Fix conversion of project from 1.X with custom symbol for cloud
* Dissallow parallel pull of docker images
* Add a scripts for running current dev version on GNS3 VM
* Fix a crash with missing size in the svg files
* Fix an utf8 error in auth code
* Improve vmrun timeout message
* Support utf-8 characters in user and password for auth
* Handle password configuration change on remote servers
* Fix Bug when delete fake-running VMBox
* Fix Can't connect to compute local on some computers
* Add a modification uuid to settings returned by the server
* Check python version in setup.py only for install
* Fix Session is closed when listing docker images
* Cleanup docker source code
* Use aiohttp session for docker queries
* Escape special characters from SVG text
* Fix some port short name display issues
* Catch server disconnected errors from computes
* Generate a node uuid if the uuid is missing in the .gns3
* Ensure to dump project before exporting it
* Fix return code check for SIGSEGV of IOU images
* Prevent vmname change for VirtualBox linked clone
* Upgrade to aiohttp 1.3.5 to solve issue with big file
* Handle some invalid svg
* Try to fix some 1.3 topology with corrupted data
* Fix ComputeError: Can't connect to Main server
* Catch error when the server as trouble to access to itself
* Catch a timeout error in docker
* Lock yarl version because 0.10 is not compatible with aiohttp 1.3
* Raise error if image are not avaible on main server during export
* Fix a race condition when killing ubridge
* If your settings from 1.X are broken with skip them at import
* Catch a permission error on symbols
* Catch unicode error when you try to duplicate a project with invalid characters
* Catch error when you try to put an invalid server url
* Fix an error when handling ubridge errors
* Fix crash when handling an error in project creation
## 2.0.0rc2 10/03/2017
* Drop color logging for remote install, seem to fail in some conditions
* Cleanup the remote install script
* Support for Xenial in remote install
* Fix GNS3VM settings are lost at startup
* When we receive settings from the client save them on disk
## 2.0.0 RC 1 06/03/2017
* Update the documentation
* Enable show in file manager for cloud
* Improve error log when you have trouble to load a topology
* Fix when qemu exit by itself clean other processes
* Fix an issue with some node name format
* Catch error when we can't save the settings
* Do not prevent the creation of a local server on a machine named gns3vm
* Load local server before anything else
* Remove noise from log when VMware is not installed
* Fix an error with some SVG
* Patch hostname in configuration file even if name is unsync
* If the GNS3 VM as failed to start reset his status
* Update the documentation
* Enable show in file manager for cloud
* Improve error log when you have trouble to load a topology
* Fix when qemu exit by itself clean other processes
* Fix an issue with some node name format
* Catch error when we can't save the settings
* Do not prevent the creation of a local server on a machine named gns3vm
* Load local server before anything else
* Remove noise from log when VMware is not installed
* Fix an error with some SVG
* Patch hostname in configuration file even if name is unsync
* If the GNS3 VM as failed to start reset his status
* Report aiohttp version in crash report
* Catch some invalid node name formatting
* Ensure we dump a .gns3 before exporting it
* Improve ACPI shutdown for virtualbox
* Fix an issue with serial capture for IOU
* Fix restoration of private config when using dynamips
* Avoid a crash when the connection with the server close
* Increase timeout for detecting VirtualBox GNS3 VM
* Fix headless startup of the GNS3 VM
* Do not crash at startup if local server as the same name as remote server
* Yarl 0.9.8 is require by aiohttp 1.3
## 2.0.0 beta 4 16/02/2017
* Lock aiohttp to 1.2.0 because 1.3 create bug with Qt
* Avoid a crash in some conditions when reading the serial console
* Disallow export of project with VirtualBox linked clone
* Fix linked_clone property lost during topology convert
* Catch permission error when restoring a snapshot
* Fix a rare crash when closing a project
* Fix error when you have error on your filesystem during project convertion
* Catch error when we can't access to a unix socket
* If we can't resolve compute name return 0.0.0.0
* Raise an error if you put an invalid key in node name
* Improve a lot project loading speed
* Fix a potential crash
* Fix the server don't start if a remote is unavailable
* Do not crash if you pass {name} in name
* Fix import/export of dynamips configuration
* Simplify conversion process from 1.3 to 2.0
* Prevent corruption of VM in VirtualBox when using linked clone
* Fix creation of qemu img
* Fix rare race condition when stopping ubridge
* Prevent renaming of a running VirtualBox linked VM
* Avoid crash when you broke your system permissions
* Do not crash when you broke permission on your file system during execution
* Fix a crash when you broke permission on your file system
* Fix a rare race condition when exporting debug informations
* Do not try to start the GNS3 VM if the name is none
* Fix version check for VPCS
* Fix pcap for PPP link with IOU
* Correct link are not connected to the correct ethernet switch port after conversion
* Fix an error if you don't have permissions on your symbols directory
* Fix an error when converting some topologies from 1.3
## 2.0.0 beta 3 19/01/2017
* Force the dependency on typing because otherwise it's broke on 3.4
* Fix sometimes you have an exception when closing GNS3
* Fix duplicate node names
* Fix bug with other directory of Qemu images
* Do not raise an error if no VM is selected for remote GNS3 VM
* Fix UnboundLocalError: local variable 'vmname' referenced before assignment
* Fix some race condition in project deletion
* If qemu status change internally we mirror it
* Fix hostname of VPCS is not changed
* Fix capture stop with Wireshark
* Drop a useless debug information
* Fix sometimes VirtualBox VM are not loading
* Drop NAT port from cloud from old topologies
* Fix Port labels for docker VMs incorrect
* Fix If cloud interface is down the project doesn't open
* Catch Timeout error from VirtualBox GNS3 VM
* Fix export of IOU configuration
* Fix a crash with VirtualBox in some conditions
* Sata disk interface support for Qemu VMs. (#862)
* Fix random error in the dynamips test suite after previous commit
* Support conversion to dynamips new directory layout on remote
* Catch error when a file is deleted during the compression of project
* Fix a crash with some docker images
* Fix Wrong slot numbering on IOS router
* Fix VPCS configuration is overwritten on project load
* Fix wrong short label for ethernet switch, hub & VPCS
* Fix binding console host for VMware and VirtualBox
* Fix resume of dynamips routers
* Fix sporadically systemd is unable to start gns3-server
* Fix RuntimeError: File size has increased during compressing
* Do not dump local compute configuration when saving topology
* Change directory layout for dynamips.
* Ensure we can't connect to occupy port
* Fix handling of UTF-8 in large SVG files
* Prevent a crash when you close a dynamips node and create a link at the same time
* Fix short label diplay instead of custom interface labels
* Improve error message about the netmask
* Do not mark VirtualBox adapter as connected when not connected to another node in GNS3.
* Add missing 'DLT_PPP_SERIAL' PCAP link type in schemas.
* Fix crash when converting topology with broken link
* Replace JSONDecodeError by ValueError (Python 3.4 compatibility)
* Catch an error when we can't create the IOU directory
## 1.5.3 12/01/2017
* Fix sporadically systemd is unable to start gns3-server
## 2.0.0 beta 2 20/12/2016
* Fix an error when docker hub failed to anwser
* Fix an issue with Docker and IOU packet capture
* Support aiohttp 1.2 (but not compatible with previous versions)
* Support UDP cloud from 1.5
* Relax permission check on OSX, it seem returning wrong info for setuid
* Fix start all create error if a docker container is already running
* Close project if one one the compute of the project is down
* Fix error when you upload an empty file
* Fix KeyError: 'color' when converting some 1.3 topologies
* Fix move a docker restart it
* Fix export of projects with docker with a / in the image name
* Fix an error on Linux during export
* Fix hot link issues in Docker
* Fix Can't delete link between docker VM after they were in use
* Fix hardware virtualization detection when an ethernet switch is running
* Trust user for host binding of link adress
* Code cleanup for docker interface creation
* Fix a rare crash when writing a file on a remote server
* Fix delete project on remote compute server
* Fix trouble with builtin devices when we free ports
* When a dynamips command failed display the full command to the user
* Raise error when we can't found VboxManage at GNS3 VM startup
* Catch auth errors when adding a compute
* Do not block server startup if one project use non implemented conversion
* Fix an error when deleting a compute already deleted
* Catch cancelled error when you Ctrl-C during server initalisation
* Handle OSerror when listing images
* Fix a rare crash when stopping qemu
* Improve docker HTTP console
* Fix configuration lost during save as on remote server
* Add support for bios images
* Fix error when controller config file is corrupted
## 1.5.3 rc1 20/12/2016
* Support aiohttp 1.2 (but not compatible with previous versions)
* Explain that segfault on IOU is a issue with the image
* Fix an issue with finding vmrun and vboxmanage
* Support named remote servers for VPCS
* When checking for a free port check if the host and 0.0.0.0 are available
* smm=off is only for 64bits
* Fix set hostname on remote server
* Fix sending smm option to qemu
* Workaround a bug with KVM, Qemu >= 2.4 and Intel CPU
* Renable sleep at Vbox exit bug seem to be back
* Support large project (> 2GB) during export
* Fix Deleting running telnet docker VM shows error in log
* Fix when closing a container using VNC, root permission are not reset
* Use $PATH also for dynamips and cleanup some $PATH usages
* Fix a lock issue with some virtualbox vm
* Raise proper error when you try to load an empty qcow2 file
* Fix upload form crash
* Search bin from the $PATH for sample configuration file
* Updated systemd unit file and added sample configuration file
## 2.0.0 beta 1 07/12/2016
* Fix crash if at controller loading the remote server is not a GNS3 server
* Update the way we start controller to avoid hiding crash reports
* Fix when you switch console from VNC to telnet it's fail
* AttributeError: 'Project' object has no attribute 'emit'
* Improve autostart logging
* Fix warning when vmware is not installed
* If a VMware command fail retry
* Do not recurse scan for images in standard image directory
* When we restore snapshot on a fail project do not crash
* Catch error when qemuy can't connect to his console
* Catch error when no space left on disk during export
* Improve vmware error message for easier copy paste
* Catch error if you export a project deleted from disk
* Qemu UDP listen on all ips
* Force yarl version >= 0.7.0
* Ask user to refresh is user session if he just installed ubridge
## 2.0.0 alpha 4 24/11/2016
* Do not block traffic originating from an Ethernet interface in the cloud. Ref #771.
* Prevent capture on non running node
* Make the Ethernet side the source in uBridge connection and UDP tunnel the destination. Ref #771.
* IOURC is a text box instead of a file path
* Use vnetlib64.exe when possible
* Multiple improvements around starting the GNS3 VM
* Wait for the end of project loading before making new change
* Avoid crash due to permission error on the .backup file
* For security reason debug informations can only be exported from local server
* Add more debug informations if VM failed to start
* Fix opening a project whith the same non linked VM as current project
* Return default symbol if user asked for a non existing symbol
* Do not log warning at qemu exit on windows if it's normal
* Speed up interfaces listening on Windows
* Fix filtering special interfaces on Windows
* If server answer not found explain this could be due to the usage of 1.X server
* Do not reload a project via /load if the project is already opened
* Fix you can not pass auto close at project creation
* Fix traceback when sending invalid parameters to the server
* Require ubridge 0.9.7 this fix error with IOL bridge creation
* Display path of vnetlib during interface creations
* Catch errors when listing images
* Better handle compute unavailable errors
* Fix NameError: name 'available_ram' is not define
* If we can found a common subnet we return the host binding for link creation
* Do not connect GNS3 to remote server via 169.254.X.X
* Qemu telnet support multiple client connected
* Support multiple client connected to the same VPCS console
* Increase timeout for link creation
* Support for serial console for Virtual BOX and VMware using asyncio
* Fix timeout issues when starting VMware or VBox
* Ask for reboot if VBoxManage is not found
* Fix a crash with VirtualBox linked clone
* Replace iouyap by ubridge to handle IOU connections. Fixes #614.
* Lock VMware by VM instead of globally
* Support bridge in cloud
* Fix support of IOS images outside standard directories
* Raise clean error when node timeout when stopped
* Fix random VirtualBox creation error when using linked clone
* Drop console_type serial, and enable_remote_console for Vbox and VMware
* Do not dump iourc_content to .gns3 file
* Forward server disconnected errors
* Fix a crash when vboxmanage is not found
* Raise error if IOU image is not configured
* Fix crash when getting font
* Fix a crash when default font is missing
* Fix a crash when vmrun is not found
## 2.0.0 alpha 3 28/10/16
* Fix uuid of VirtualBox VM after a save as
* Explain that segfault on IOU is a issue with the image
* Fix crash when you import a corrupted SVG
* Fix Error while creating link: Port 0 is not allocated. when you have an invalid interface
* No timeout for listing images
* Handle 408 HTTP status code (request timeout)
* Move code for exposing VM ip to the VM itself. And display VM starting status
* Fix a crash when we have error during export project
* Improve remote server console host support when binding to 0.0.0.0
* Fix port naming for atm switch
* Fix port naming for FrameRelay switch
* Catch permission errors when listing images
* If we can't found the VMware version we use workstation
* CURL API sample for creating a dynamips router
* Fix crash in idlePC compute
* Add sample api call for creating a qemu node
* Try a different method in order to retrieve IP from VMware
* Fix naming of IOU serial interfaces
* Improve timeout management
* When exporting debug information export GNS3 VM vmx content
* /debug for exporting debug informations
* Raise error if using a non linked clone VM twice
* Fix a possible deadlock at exit
* Fix import of some old dynamips topologies
* Fix a crash with some old virtualbox topologies
* Fix conflict issue between the GNS3VM and a remote server
* Fix typo in error message about the GNS3 VM
* Fix an error when importing old topology without color for label
* Use tap adapter instead of veth for docker (allow usage of vlan)
* Avoid crash during tests if VNC server run on host PC
## 2.0.0 alpha 2 20/10/2016
* Return md5sum and filesize in the list of images
* Disable binding to an IPV6
@@ -81,7 +494,6 @@
* Edit the scene size
* New API
## 1.5.2 18/08/2016
* Move utils.vmnet to gns3 namespace
+34
View File
@@ -0,0 +1,34 @@
# Dockerfile for GNS3 server development
FROM ubuntu:16.04
ENV DEBIAN_FRONTEND noninteractive
# Set the locale
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
RUN apt-get update && apt-get install -y software-properties-common
RUN add-apt-repository ppa:gns3/ppa
RUN apt-get update && apt-get install -y \
python3-pip \
python3-dev \
qemu-system-x86 \
qemu-system-arm \
qemu-kvm \
libvirt-bin \
x11vnc
# Install uninstall to install dependencies
RUN apt-get install -y vpcs ubridge
ADD . /server
WORKDIR /server
RUN pip3 install -r /server/requirements.txt
EXPOSE 3080
CMD python3 -m gns3server --local
+15
View File
@@ -71,6 +71,16 @@ To run tests use:
py.test -v
Docker container
****************
For development you can run the GNS3 server in a container
.. code:: bash
bash scripts/docker_dev_server.sh
Run as daemon (Unix only)
**************************
@@ -206,3 +216,8 @@ If you want test coverage:
.. code:: bash
py.test --cov-report term-missing --cov=gns3server
Security issues
----------------
Please contact us using contact informations available here:
http://docs.gns3.com/1ON9JBXSeR7Nt2-Qum2o3ZX0GU86BZwlmNSUgvmqNWGY/index.html
+21
View File
@@ -0,0 +1,21 @@
version: '{build}-{branch}'
image: Visual Studio 2015
platform: x64
environment:
PYTHON: "C:\\Python36-x64"
DISTUTILS_USE_SDK: "1"
API_TOKEN:
secure: VEKn4bYH3QO0ixtQW5ni4Enmn8cS1NlZV246ludBDgQ=
install:
- cinst nmap
- "%PYTHON%\\python.exe -m pip install -r dev-requirements.txt"
- "%PYTHON%\\python.exe -m pip install -r win-requirements.txt"
build: off
test_script:
- "%PYTHON%\\python.exe -m pytest -v"
+4 -5
View File
@@ -1,8 +1,7 @@
-rrequirements.txt
sphinx==1.4.8
pytest==3.0.3
sphinx==1.6.2
pytest==3.1.0
pep8==1.7.0
pytest-capturelog==0.7
pytest-cov==2.4.0
pytest-timeout==1.0.0
pytest-catchlog==1.2.2
pytest-timeout==1.2.0
@@ -5,9 +5,10 @@ DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:39 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:47 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}
@@ -1,13 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d5b66871-97f4-4350-955e-5526458090b5'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/eeee4a80-b66d-4865-b9e6-92582712210c'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d5b66871-97f4-4350-955e-5526458090b5 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/eeee4a80-b66d-4865-b9e6-92582712210c HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:34 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
@@ -1,13 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f4bfc62e-9cb5-464a-9888-25d140508d43/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/85766740-75a7-40e7-9dc2-31af994af8cd/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f4bfc62e-9cb5-464a-9888-25d140508d43/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/85766740-75a7-40e7-9dc2-31af994af8cd/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:33 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
@@ -1,13 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/9c5dcc8e-2639-4827-88d9-1e2692a05807/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/908a6d69-00ce-403a-9627-a5a874acd69e/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/9c5dcc8e-2639-4827-88d9-1e2692a05807/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/908a6d69-00ce-403a-9627-a5a874acd69e/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:35 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:42 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
@@ -1,13 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4127e5f-c028-47ab-b170-c387b1a7c6b6'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e3bd45e7-0097-4fa6-af79-017a6f20d7c5'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4127e5f-c028-47ab-b170-c387b1a7c6b6 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e3bd45e7-0097-4fa6-af79-017a6f20d7c5 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:36 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:44 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
@@ -1,13 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8fd79361-ff29-467f-99be-0f9a1bde208c/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9a33b2e9-8964-4ebc-bd59-054de444cf4f/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8fd79361-ff29-467f-99be-0f9a1bde208c/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9a33b2e9-8964-4ebc-bd59-054de444cf4f/adapters/1/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:37 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:44 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
@@ -1,13 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/70d2a639-76ae-46c4-b2d8-2eb13b99271a'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/92b25428-6f34-41f0-b7ed-876cf67528c4'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/70d2a639-76ae-46c4-b2d8-2eb13b99271a HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/92b25428-6f34-41f0-b7ed-876cf67528c4 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:38 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
@@ -1,13 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/33ca3258-b392-4aa1-bde0-58c3a990844f/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d468a9d2-40ce-4bda-92cf-0861eed15000/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/33ca3258-b392-4aa1-bde0-58c3a990844f/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d468a9d2-40ce-4bda-92cf-0861eed15000/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:38 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
@@ -1,13 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8eb35200-b6ce-40d4-aaa1-b13ca51fb336'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/80371207-d146-4f75-ac1f-efa58b2fbc0a'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8eb35200-b6ce-40d4-aaa1-b13ca51fb336 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/80371207-d146-4f75-ac1f-efa58b2fbc0a HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:41 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:49 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
@@ -1,13 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0acbf2e9-24ac-4cd2-b700-e095dfd58f61/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/13ae9cf1-8289-4d3f-b97b-cc677f9dc8c8/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0acbf2e9-24ac-4cd2-b700-e095dfd58f61/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/13ae9cf1-8289-4d3f-b97b-cc677f9dc8c8/adapters/1/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:41 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:50 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
@@ -1,13 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f7cb2147-a825-4bc9-8676-f3d60a07956d/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/62493495-be49-416b-8761-4d9ed3709a80/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f7cb2147-a825-4bc9-8676-f3d60a07956d/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/62493495-be49-416b-8761-4d9ed3709a80/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:44 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
@@ -1,13 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/965aaa20-43aa-4f42-9bf8-85115d67fc44'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/07f5aea7-ca70-4efb-b103-1033630ca889'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/965aaa20-43aa-4f42-9bf8-85115d67fc44 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/07f5aea7-ca70-4efb-b103-1033630ca889 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:45 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:55 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
@@ -1,13 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fb9f93f8-df63-44dd-acd6-0770ea2902f7/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f663baf3-b84f-4ad0-a8b8-b8a43ebd8a2d/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fb9f93f8-df63-44dd-acd6-0770ea2902f7/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f663baf3-b84f-4ad0-a8b8-b8a43ebd8a2d/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:45 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:54 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
@@ -5,10 +5,11 @@ GET /v2/compute/capabilities HTTP/1.1
HTTP/1.1 200
Content-Length: 347
Connection: close
Content-Length: 348
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:33 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/capabilities
{
@@ -28,5 +29,5 @@ X-Route: /v2/compute/capabilities
"iou"
],
"platform": "linuxdebian",
"version": "2.0.0dev2"
"version": "2.0.0dev11"
}
+6 -3
View File
@@ -5,15 +5,18 @@ GET /v2/compute/iou/images HTTP/1.1
HTTP/1.1 200
Content-Length: 72
Connection: close
Content-Length: 149
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:38 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/iou/images
[
{
"filename": "iou.bin",
"filesize": 7,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"path": "iou.bin"
}
]
@@ -5,17 +5,18 @@ GET /v2/compute/network/interfaces HTTP/1.1
HTTP/1.1 200
Content-Length: 5489
Connection: close
Content-Length: 5665
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:39 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:46 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/network/interfaces
[
{
"id": "bridge0",
"ip_address": "",
"mac_address": "3e:07:54:87:bc:00",
"mac_address": "d2:00:1b:c0:17:80",
"name": "bridge0",
"netmask": "",
"special": true,
@@ -75,6 +76,15 @@ X-Route: /v2/compute/network/interfaces
"special": true,
"type": "ethernet"
},
{
"id": "utun0",
"ip_address": "",
"mac_address": "",
"name": "utun0",
"netmask": "",
"special": false,
"type": "ethernet"
},
{
"id": "vboxnet0",
"ip_address": "",
@@ -122,10 +132,10 @@ X-Route: /v2/compute/network/interfaces
},
{
"id": "vboxnet5",
"ip_address": "192.168.33.1",
"ip_address": "",
"mac_address": "0a:00:27:00:00:05",
"name": "vboxnet5",
"netmask": null,
"netmask": "",
"special": true,
"type": "ethernet"
},
+5 -4
View File
@@ -5,19 +5,20 @@ GET /v2/compute/projects HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 198
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:39 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:47 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects
[
{
"name": "test",
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
},
{
"name": "test",
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
}
]
@@ -5,10 +5,11 @@ GET /v2/compute/projects/40010203-0405-0607-0809-0a0b0c0d0e02 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 80
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:39 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:46 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}
{
@@ -1,14 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/63688721-cb81-429f-b938-e327f9b3c4f7'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/689c58e7-9112-4d4f-b5ea-37c5b478c332'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/63688721-cb81-429f-b938-e327f9b3c4f7 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/689c58e7-9112-4d4f-b5ea-37c5b478c332 HTTP/1.1
HTTP/1.1 200
Content-Length: 3420
Connection: close
Content-Length: 3855
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:33 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
{
@@ -48,6 +49,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"special": true,
"type": "ethernet"
},
{
"name": "utun0",
"special": false,
"type": "ethernet"
},
{
"name": "vboxnet0",
"special": true,
@@ -140,7 +146,8 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
}
],
"name": "Cloud 1",
"node_id": "63688721-cb81-429f-b938-e327f9b3c4f7",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/builtin/689c58e7-9112-4d4f-b5ea-37c5b478c332",
"node_id": "689c58e7-9112-4d4f-b5ea-37c5b478c332",
"ports_mapping": [
{
"interface": "en0",
@@ -159,6 +166,12 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"name": "en2",
"port_number": 2,
"type": "ethernet"
},
{
"interface": "utun0",
"name": "utun0",
"port_number": 3,
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
@@ -1,33 +1,36 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/602ee631-d63a-4a23-bde6-e185c8586a41'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/61f62c73-8480-4598-92ec-178b2046a5da'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/602ee631-d63a-4a23-bde6-e185c8586a41 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/61f62c73-8480-4598-92ec-178b2046a5da HTTP/1.1
HTTP/1.1 200
Content-Length: 696
Connection: close
Content-Length: 768
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:36 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:43 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
{
"command_line": "",
"console": 5714,
"console": 5004,
"console_type": "telnet",
"ethernet_adapters": 2,
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_json5/project-files/iou/602ee631-d63a-4a23-bde6-e185c8586a41",
"node_id": "602ee631-d63a-4a23-bde6-e185c8586a41",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/iou/61f62c73-8480-4598-92ec-178b2046a5da",
"node_id": "61f62c73-8480-4598-92ec-178b2046a5da",
"nvram": 128,
"path": "iou.bin",
"private_config": null,
"private_config_content": null,
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 256,
"serial_adapters": 2,
"startup_config": null,
"startup_config_content": null,
"status": "stopped",
"use_default_iou_values": true
}
@@ -1,25 +1,26 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8f971e45-202f-4c5b-ae77-d917972e49f9'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/cd149043-78a0-4fda-aa96-e74c3abd90e8'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8f971e45-202f-4c5b-ae77-d917972e49f9 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/cd149043-78a0-4fda-aa96-e74c3abd90e8 HTTP/1.1
HTTP/1.1 200
Content-Length: 332
Connection: close
Content-Length: 335
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:38 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
{
"name": "Nat 1",
"node_id": "8f971e45-202f-4c5b-ae77-d917972e49f9",
"node_id": "cd149043-78a0-4fda-aa96-e74c3abd90e8",
"ports_mapping": [
{
"interface": "gns3nat5",
"interface": "virbr0",
"name": "nat0",
"port_number": 0,
"type": "tap"
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
@@ -1,25 +1,28 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8446fc34-650d-4cb8-bdcc-b36880870aff'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6bdb5099-446a-43c4-9734-a2037011df6b'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8446fc34-650d-4cb8-bdcc-b36880870aff HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6bdb5099-446a-43c4-9734-a2037011df6b HTTP/1.1
HTTP/1.1 200
Content-Length: 1415
Connection: close
Content-Length: 1468
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:40 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:48 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
{
"acpi_shutdown": false,
"adapter_type": "e1000",
"adapters": 1,
"bios_image": "",
"bios_image_md5sum": null,
"boot_priority": "c",
"cdrom_image": "",
"cdrom_image_md5sum": null,
"command_line": "",
"console": 5714,
"console": 5004,
"console_type": "telnet",
"cpu_throttling": 0,
"cpus": 1,
@@ -41,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:0a:ff:00",
"mac_address": "00:dd:80:df:6b:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/8446fc34-650d-4cb8-bdcc-b36880870aff",
"node_id": "8446fc34-650d-4cb8-bdcc-b36880870aff",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/6bdb5099-446a-43c4-9734-a2037011df6b",
"node_id": "6bdb5099-446a-43c4-9734-a2037011df6b",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf14u_0k4/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""
@@ -1,27 +1,28 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aeeb5518-78b3-4d77-9073-235596129473'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/29d6dc03-42e5-4c3b-9892-4e69a3dbac7c'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aeeb5518-78b3-4d77-9073-235596129473 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/29d6dc03-42e5-4c3b-9892-4e69a3dbac7c HTTP/1.1
HTTP/1.1 200
Content-Length: 471
Connection: close
Content-Length: 465
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:43 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:52 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
{
"acpi_shutdown": false,
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
"adapters": 0,
"console": 5715,
"enable_remote_console": false,
"console": 5004,
"console_type": "telnet",
"headless": false,
"linked_clone": false,
"name": "VMTEST",
"node_directory": null,
"node_id": "aeeb5518-78b3-4d77-9073-235596129473",
"node_id": "29d6dc03-42e5-4c3b-9892-4e69a3dbac7c",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",
@@ -1,23 +1,24 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1b881400-9368-4716-90cc-63903a486f6b'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8adc20e6-687b-4246-a470-be4a171ebd98'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1b881400-9368-4716-90cc-63903a486f6b HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8adc20e6-687b-4246-a470-be4a171ebd98 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 489
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:44 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
{
"command_line": "",
"console": 5723,
"console": 5004,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/1b881400-9368-4716-90cc-63903a486f6b",
"node_id": "1b881400-9368-4716-90cc-63903a486f6b",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/8adc20e6-687b-4246-a470-be4a171ebd98",
"node_id": "8adc20e6-687b-4246-a470-be4a171ebd98",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,
@@ -9,10 +9,11 @@ GET /v2/compute/qemu/binaries HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 212
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:42 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:50 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/qemu/binaries
[
@@ -5,10 +5,11 @@ GET /v2/compute/qemu/capabilities HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 39
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:43 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:51 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/qemu/capabilities
{
+5 -4
View File
@@ -5,13 +5,14 @@ GET /v2/compute/version HTTP/1.1
HTTP/1.1 200
Content-Length: 49
Connection: close
Content-Length: 50
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:43 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:51 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/version
{
"local": true,
"version": "2.0.0dev2"
"version": "2.0.0dev11"
}
+3 -2
View File
@@ -8,10 +8,11 @@ POST /v2/compute/projects HTTP/1.1
HTTP/1.1 201
Connection: close
Content-Length: 80
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:39 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:46 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects
{
@@ -5,9 +5,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/close HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:40 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:47 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/close
@@ -7,10 +7,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/
HTTP/1.1 201
Content-Length: 3420
Connection: close
Content-Length: 3855
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:33 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/cloud/nodes
{
@@ -50,6 +51,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
"special": true,
"type": "ethernet"
},
{
"name": "utun0",
"special": false,
"type": "ethernet"
},
{
"name": "vboxnet0",
"special": true,
@@ -142,7 +148,8 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
}
],
"name": "Cloud 1",
"node_id": "a2f2601d-a4e5-44bc-b02c-c4a1d0d44dda",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/builtin/c435790d-867a-4e10-8c1c-7faa9b0f8700",
"node_id": "c435790d-867a-4e10-8c1c-7faa9b0f8700",
"ports_mapping": [
{
"interface": "en0",
@@ -161,6 +168,12 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
"name": "en2",
"port_number": 2,
"type": "ethernet"
},
{
"interface": "utun0",
"name": "utun0",
"port_number": 3,
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/fbcf95f9-daed-40b3-98a4-958527b4a9ab/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/91f7220f-e7da-4f00-b5bc-ef63c70b9f5b/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/fbcf95f9-daed-40b3-98a4-958527b4a9ab/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/91f7220f-e7da-4f00-b5bc-ef63c70b9f5b/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@@ -10,10 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/fbcf9
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:33 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/35c828e2-816d-42c2-9fa5-7ef738331d18/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/798507d5-9725-4bfa-945b-6a22d6c80f0f/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/35c828e2-816d-42c2-9fa5-7ef738331d18/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/798507d5-9725-4bfa-945b-6a22d6c80f0f/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@@ -10,10 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/35c8
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:35 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:42 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/ca9729cd-fcca-4e9c-9ede-3922f14412e1/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/fd243cd9-627a-4aa5-89af-b935882611e5/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/ca9729cd-fcca-4e9c-9ede-3922f14412e1/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/fd243cd9-627a-4aa5-89af-b935882611e5/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@@ -8,12 +8,13 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/ca97
HTTP/1.1 200
Connection: close
Content-Length: 145
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:35 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:42 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
{
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_json5/tmp/captures/test.pcap"
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/tmp/captures/test.pcap"
}
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/296d78b4-a923-407f-b398-cbab2b0214fd/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c58d8241-4b6c-439a-95dd-b259d221df8c/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/296d78b4-a923-407f-b398-cbab2b0214fd/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c58d8241-4b6c-439a-95dd-b259d221df8c/adapters/0/ports/0/stop_capture HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:35 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:42 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
@@ -1,38 +1,41 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "7ea587ce-aa0a-428c-9db9-7be8af8a50ff", "path": "iou.bin", "startup_config_content": "hostname test"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "fc04f13f-c54d-421e-9a05-bb2fcc16857a", "path": "iou.bin", "startup_config_content": "hostname test"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.1
{
"name": "PC TEST 1",
"node_id": "7ea587ce-aa0a-428c-9db9-7be8af8a50ff",
"node_id": "fc04f13f-c54d-421e-9a05-bb2fcc16857a",
"path": "iou.bin",
"startup_config_content": "hostname test"
}
HTTP/1.1 201
Content-Length: 712
Connection: close
Content-Length: 792
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:36 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:43 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/iou/nodes
{
"command_line": "",
"console": 5714,
"console": 5004,
"console_type": "telnet",
"ethernet_adapters": 2,
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_json5/project-files/iou/7ea587ce-aa0a-428c-9db9-7be8af8a50ff",
"node_id": "7ea587ce-aa0a-428c-9db9-7be8af8a50ff",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/iou/fc04f13f-c54d-421e-9a05-bb2fcc16857a",
"node_id": "fc04f13f-c54d-421e-9a05-bb2fcc16857a",
"nvram": 128,
"path": "iou.bin",
"private_config": null,
"private_config_content": null,
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 256,
"serial_adapters": 2,
"startup_config": "startup-config.cfg",
"startup_config_content": "echo hello",
"status": "stopped",
"use_default_iou_values": true
}
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0f8fc3eb-9743-4ae9-a174-1c1a79845fd0/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1120208e-153d-4328-bf77-7c87de8b14d2/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0f8fc3eb-9743-4ae9-a174-1c1a79845fd0/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1120208e-153d-4328-bf77-7c87de8b14d2/adapters/1/ports/0/nio HTTP/1.1
{
"ethernet_device": "bridge0",
"type": "nio_ethernet"
@@ -8,10 +8,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/0f8fc3e
HTTP/1.1 201
Connection: close
Content-Length: 64
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:37 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:44 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/a4f82184-82ee-42c2-ac87-3efeeadf9aa2/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9593ac62-eb3a-4f09-b351-90c26ed94b7e/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/a4f82184-82ee-42c2-ac87-3efeeadf9aa2/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9593ac62-eb3a-4f09-b351-90c26ed94b7e/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@@ -8,12 +8,13 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/a4f8218
HTTP/1.1 200
Connection: close
Content-Length: 145
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:37 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
{
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_json5/tmp/captures/test.pcap"
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/tmp/captures/test.pcap"
}
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f88a75fe-1aae-42da-8708-ac90c5e62974/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/61d07cd7-336f-43c9-8d54-148cf0b7cb49/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f88a75fe-1aae-42da-8708-ac90c5e62974/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/61d07cd7-336f-43c9-8d54-148cf0b7cb49/adapters/0/ports/0/stop_capture HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:37 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5a97d051-cd83-45aa-a3bd-c0cddcb271e0/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/18fbfbba-4ccd-43e7-9f8b-5555e224809c/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5a97d051-cd83-45aa-a3bd-c0cddcb271e0/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/18fbfbba-4ccd-43e7-9f8b-5555e224809c/reload HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:36 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:44 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload
@@ -1,35 +1,38 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/70cfd09a-8f73-4e98-b3ca-7b5be4503536/start' -d '{"iourc_content": "test"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/22195b00-9af2-48d0-9e98-7f31463c7fd2/start' -d '{"iourc_content": "test"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/70cfd09a-8f73-4e98-b3ca-7b5be4503536/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/22195b00-9af2-48d0-9e98-7f31463c7fd2/start HTTP/1.1
{
"iourc_content": "test"
}
HTTP/1.1 200
Content-Length: 696
Connection: close
Content-Length: 768
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:36 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:43 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
{
"command_line": "",
"console": 5714,
"console": 5004,
"console_type": "telnet",
"ethernet_adapters": 2,
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_json5/project-files/iou/70cfd09a-8f73-4e98-b3ca-7b5be4503536",
"node_id": "70cfd09a-8f73-4e98-b3ca-7b5be4503536",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/iou/22195b00-9af2-48d0-9e98-7f31463c7fd2",
"node_id": "22195b00-9af2-48d0-9e98-7f31463c7fd2",
"nvram": 128,
"path": "iou.bin",
"private_config": null,
"private_config_content": null,
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 256,
"serial_adapters": 2,
"startup_config": null,
"startup_config_content": null,
"status": "stopped",
"use_default_iou_values": true
}
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/43ab05b1-df65-4a72-b4a6-8b89c62d3994/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7b8cc3ee-4ed4-425b-85e4-673b79804390/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/43ab05b1-df65-4a72-b4a6-8b89c62d3994/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7b8cc3ee-4ed4-425b-85e4-673b79804390/stop HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:36 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:43 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop
@@ -7,21 +7,22 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes HTTP/1.
HTTP/1.1 201
Content-Length: 332
Connection: close
Content-Length: 335
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:38 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/nat/nodes
{
"name": "Nat 1",
"node_id": "f00cbccf-3f8e-4f4d-b6df-6ebcc2fa11e6",
"node_id": "681a2b8d-0213-4851-9a40-9ecd68165e8e",
"ports_mapping": [
{
"interface": "gns3nat4",
"interface": "virbr0",
"name": "nat0",
"port_number": 0,
"type": "tap"
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/052cd13e-9491-4eff-8ee2-a6e73da57cfe/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b952ac47-f2b1-4683-8e67-84b35c017b4e/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/052cd13e-9491-4eff-8ee2-a6e73da57cfe/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b952ac47-f2b1-4683-8e67-84b35c017b4e/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@@ -10,10 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/052cd13
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:38 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
@@ -5,10 +5,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/ports/udp HTTP/1.
HTTP/1.1 201
Connection: close
Content-Length: 25
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:38 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:46 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/ports/udp
{
@@ -1,30 +1,33 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf14u_0k4/qemu-system-x86_64", "ram": 1024}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64", "ram": 1024}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1.1
{
"hda_disk_image": "linux\u8f7d.img",
"name": "PC TEST 1",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf14u_0k4/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
"ram": 1024
}
HTTP/1.1 201
Content-Length: 1461
Connection: close
Content-Length: 1514
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:40 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:48 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/qemu/nodes
{
"acpi_shutdown": false,
"adapter_type": "e1000",
"adapters": 1,
"bios_image": "",
"bios_image_md5sum": null,
"boot_priority": "c",
"cdrom_image": "",
"cdrom_image_md5sum": null,
"command_line": "",
"console": 5714,
"console": 5004,
"console_type": "telnet",
"cpu_throttling": 0,
"cpus": 1,
@@ -46,15 +49,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:41:b1:00",
"mac_address": "00:dd:80:71:32:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/ed9f00e9-7d76-46e9-8fb9-43d804f441b1",
"node_id": "ed9f00e9-7d76-46e9-8fb9-43d804f441b1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/e49b7703-f596-4e60-9e30-f5bc6f917132",
"node_id": "e49b7703-f596-4e60-9e30-f5bc6f917132",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf14u_0k4/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c755f678-f17d-4537-869b-574d38b06d59/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a6011c49-adf8-4e1e-8731-4c963315f662/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c755f678-f17d-4537-869b-574d38b06d59/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a6011c49-adf8-4e1e-8731-4c963315f662/adapters/1/ports/0/nio HTTP/1.1
{
"ethernet_device": "eth0",
"type": "nio_ethernet"
@@ -8,10 +8,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c755f6
HTTP/1.1 409
Connection: close
Content-Length: 81
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:41 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:50 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f86f3d6d-3b6c-41b7-8af1-1c5168181a80/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/64933f6c-e8cb-480c-81a2-075de93d09d9/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/f86f3d6d-3b6c-41b7-8af1-1c5168181a80/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/64933f6c-e8cb-480c-81a2-075de93d09d9/reload HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:41 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:49 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/387986c1-4eb8-451f-8832-5e7b1e37704c/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/84a63d18-61c2-4a77-97eb-4d54b19b8825/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/387986c1-4eb8-451f-8832-5e7b1e37704c/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/84a63d18-61c2-4a77-97eb-4d54b19b8825/resume HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:41 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:49 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume
@@ -1,25 +1,28 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/700bd996-0978-47af-95dd-eae42b760ad4/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0ec7c554-3bc6-42e2-9284-11b6b1e51db1/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/700bd996-0978-47af-95dd-eae42b760ad4/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0ec7c554-3bc6-42e2-9284-11b6b1e51db1/start HTTP/1.1
{}
HTTP/1.1 200
Content-Length: 1415
Connection: close
Content-Length: 1468
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:40 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:48 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
{
"acpi_shutdown": false,
"adapter_type": "e1000",
"adapters": 1,
"bios_image": "",
"bios_image_md5sum": null,
"boot_priority": "c",
"cdrom_image": "",
"cdrom_image_md5sum": null,
"command_line": "",
"console": 5714,
"console": 5004,
"console_type": "telnet",
"cpu_throttling": 0,
"cpus": 1,
@@ -41,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:0a:d4:00",
"mac_address": "00:dd:80:1d:b1:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/700bd996-0978-47af-95dd-eae42b760ad4",
"node_id": "700bd996-0978-47af-95dd-eae42b760ad4",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/0ec7c554-3bc6-42e2-9284-11b6b1e51db1",
"node_id": "0ec7c554-3bc6-42e2-9284-11b6b1e51db1",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf14u_0k4/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/da4818a2-35c5-4aba-ac2d-10b6b28a4cd5/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0c174db5-a2c4-464f-98e7-153b83532e35/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/da4818a2-35c5-4aba-ac2d-10b6b28a4cd5/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0c174db5-a2c4-464f-98e7-153b83532e35/stop HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:41 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:48 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/35a10bee-8fdc-4c40-a067-1352724da173/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3668274c-d74e-4f59-ab74-ab52442ccf61/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/35a10bee-8fdc-4c40-a067-1352724da173/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3668274c-d74e-4f59-ab74-ab52442ccf61/suspend HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:41 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:49 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend
@@ -9,23 +9,24 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes
HTTP/1.1 201
Content-Length: 465
Connection: close
Content-Length: 459
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:43 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:52 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
{
"acpi_shutdown": false,
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
"adapters": 0,
"console": 5714,
"enable_remote_console": false,
"console": 5004,
"console_type": "telnet",
"headless": false,
"linked_clone": false,
"name": "VM1",
"node_directory": null,
"node_id": "9780978f-b7ab-4243-8e27-b2a48ef72f83",
"node_id": "4c74d21f-6af2-4fde-82a6-5e15c3037dd8",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/77a28b03-3158-4eb2-af77-d88f8a1b2200/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/950553f4-1f4c-4d47-ab35-b00817c9dae9/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/77a28b03-3158-4eb2-af77-d88f8a1b2200/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/950553f4-1f4c-4d47-ab35-b00817c9dae9/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@@ -10,10 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:44 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b0e2a8ad-934c-4806-9154-24538b073a79/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a89cbf17-8504-4590-a4db-214adf91b473/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b0e2a8ad-934c-4806-9154-24538b073a79/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a89cbf17-8504-4590-a4db-214adf91b473/reload HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:44 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8ac97f5b-697b-4d0c-b41e-d7d914bcc7e2/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b11da8d7-abb5-401e-a53a-3ce767c1a1bb/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/8ac97f5b-697b-4d0c-b41e-d7d914bcc7e2/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b11da8d7-abb5-401e-a53a-3ce767c1a1bb/resume HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:44 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a3b339db-0e1c-4d4c-8465-408429c7fa63/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0e7a38fe-7626-4d75-a545-8b0764472eec/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a3b339db-0e1c-4d4c-8465-408429c7fa63/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0e7a38fe-7626-4d75-a545-8b0764472eec/start HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:43 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:52 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e3748d02-e322-40cf-8b94-d5af6ee5e9cc/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/23d775e8-6206-4f15-9bad-3cc5c75dd219/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e3748d02-e322-40cf-8b94-d5af6ee5e9cc/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/23d775e8-6206-4f15-9bad-3cc5c75dd219/stop HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:43 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:52 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f0e9b164-6a0f-497d-aac2-c765b929dfba/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b3e67522-dd20-4bde-b2e8-43e815d65b6d/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/f0e9b164-6a0f-497d-aac2-c765b929dfba/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b3e67522-dd20-4bde-b2e8-43e815d65b6d/suspend HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:44 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:52 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend
@@ -7,19 +7,20 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes HTTP/1
HTTP/1.1 201
Connection: close
Content-Length: 489
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:44 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
{
"command_line": "",
"console": 5723,
"console": 5004,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/7646366b-a2c7-414d-a4b5-7d3f3ea961d0",
"node_id": "7646366b-a2c7-414d-a4b5-7d3f3ea961d0",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/54184038-3552-4386-8a8d-7c13080fae06",
"node_id": "54184038-3552-4386-8a8d-7c13080fae06",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/32835241-8384-44c3-a668-8e753e51b43c/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ed43313f-0b29-44a2-9183-a3703fe1aad0/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/32835241-8384-44c3-a668-8e753e51b43c/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ed43313f-0b29-44a2-9183-a3703fe1aad0/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@@ -10,10 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/328352
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:45 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:54 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4a397db4-613d-4e89-b721-311c5d8f94cd/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cfdc8b6c-4254-4f9c-9095-7886c4b8894a/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4a397db4-613d-4e89-b721-311c5d8f94cd/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cfdc8b6c-4254-4f9c-9095-7886c4b8894a/reload HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:45 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:54 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload
@@ -1,23 +1,24 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/72889faf-c7b2-4414-8fce-040eed462026/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/27e35650-731f-48a5-a318-92e2c00031a8/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/72889faf-c7b2-4414-8fce-040eed462026/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/27e35650-731f-48a5-a318-92e2c00031a8/start HTTP/1.1
{}
HTTP/1.1 200
Connection: close
Content-Length: 489
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:45 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:54 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
{
"command_line": "",
"console": 5723,
"console": 5004,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/72889faf-c7b2-4414-8fce-040eed462026",
"node_id": "72889faf-c7b2-4414-8fce-040eed462026",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/27e35650-731f-48a5-a318-92e2c00031a8",
"node_id": "27e35650-731f-48a5-a318-92e2c00031a8",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4e9a0a90-0bf3-4f7d-9ca2-be1d5c4af7c7/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bbe7cc55-ef05-4ae9-9d4c-b4aad8468c85/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4e9a0a90-0bf3-4f7d-9ca2-be1d5c4af7c7/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bbe7cc55-ef05-4ae9-9d4c-b4aad8468c85/stop HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:45 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:54 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop
+3 -2
View File
@@ -14,9 +14,10 @@ POST /v2/compute/qemu/img HTTP/1.1
HTTP/1.1 201
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:43 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:51 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/qemu/img
@@ -1,16 +1,17 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6268a74b-48da-44d7-95b9-af5e85b8290d' -d '{"name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/35d71fe5-356d-440e-a170-d88e35258f06' -d '{"name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6268a74b-48da-44d7-95b9-af5e85b8290d HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/35d71fe5-356d-440e-a170-d88e35258f06 HTTP/1.1
{
"name": "test"
}
HTTP/1.1 200
Content-Length: 3417
Connection: close
Content-Length: 3852
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:34 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:41 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
{
@@ -50,6 +51,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"special": true,
"type": "ethernet"
},
{
"name": "utun0",
"special": false,
"type": "ethernet"
},
{
"name": "vboxnet0",
"special": true,
@@ -142,7 +148,8 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
}
],
"name": "test",
"node_id": "6268a74b-48da-44d7-95b9-af5e85b8290d",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/builtin/35d71fe5-356d-440e-a170-d88e35258f06",
"node_id": "35d71fe5-356d-440e-a170-d88e35258f06",
"ports_mapping": [
{
"interface": "en0",
@@ -161,6 +168,12 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"name": "en2",
"port_number": 2,
"type": "ethernet"
},
{
"interface": "utun0",
"name": "utun0",
"port_number": 3,
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
@@ -1,8 +1,8 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/20c27db4-d76a-4f03-a00f-1bebdcce38e1' -d '{"console": 5716, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8df7b67d-41b8-48b7-a8b3-f25248b9af21' -d '{"console": 5006, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/20c27db4-d76a-4f03-a00f-1bebdcce38e1 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8df7b67d-41b8-48b7-a8b3-f25248b9af21 HTTP/1.1
{
"console": 5716,
"console": 5006,
"environment": "GNS3=1\nGNS4=0",
"name": "test",
"start_command": "yes"
@@ -10,16 +10,17 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/20c27
HTTP/1.1 200
Connection: close
Content-Length: 653
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:35 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:42 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
{
"adapters": 2,
"aux": 5715,
"console": 5716,
"aux": 5005,
"console": 5006,
"console_http_path": "/",
"console_http_port": 80,
"console_resolution": "1280x1024",
@@ -28,8 +29,8 @@ X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
"environment": "GNS3=1\nGNS4=0",
"image": "nginx:latest",
"name": "test",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_json5/project-files/docker/20c27db4-d76a-4f03-a00f-1bebdcce38e1",
"node_id": "20c27db4-d76a-4f03-a00f-1bebdcce38e1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/docker/8df7b67d-41b8-48b7-a8b3-f25248b9af21",
"node_id": "8df7b67d-41b8-48b7-a8b3-f25248b9af21",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"start_command": "yes",
"status": "stopped"
@@ -1,8 +1,8 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9e0aebf5-cb73-4d90-969f-8a82cc655f2c' -d '{"console": 5715, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8b936d3d-8b50-437f-a205-15ce77fd4240' -d '{"console": 5005, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9e0aebf5-cb73-4d90-969f-8a82cc655f2c HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8b936d3d-8b50-437f-a205-15ce77fd4240 HTTP/1.1
{
"console": 5715,
"console": 5005,
"ethernet_adapters": 4,
"iourc_content": "test",
"l1_keepalives": true,
@@ -16,29 +16,32 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9e0aebf5
HTTP/1.1 200
Content-Length: 707
Connection: close
Content-Length: 790
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:37 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:44 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
{
"command_line": "",
"console": 5715,
"console": 5005,
"console_type": "telnet",
"ethernet_adapters": 4,
"l1_keepalives": true,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "test",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_json5/project-files/iou/9e0aebf5-cb73-4d90-969f-8a82cc655f2c",
"node_id": "9e0aebf5-cb73-4d90-969f-8a82cc655f2c",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/iou/8b936d3d-8b50-437f-a205-15ce77fd4240",
"node_id": "8b936d3d-8b50-437f-a205-15ce77fd4240",
"nvram": 2048,
"path": "iou.bin",
"private_config": null,
"private_config_content": null,
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 512,
"serial_adapters": 0,
"startup_config": "startup-config.cfg",
"startup_config_content": "hostname test",
"status": "stopped",
"use_default_iou_values": true
}
@@ -1,27 +1,28 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/ad3edf65-c8e8-4e85-aa6b-052c261530cc' -d '{"name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/94f5a8c9-1e9e-42b0-bbba-5937d05c9c24' -d '{"name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/ad3edf65-c8e8-4e85-aa6b-052c261530cc HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/94f5a8c9-1e9e-42b0-bbba-5937d05c9c24 HTTP/1.1
{
"name": "test"
}
HTTP/1.1 200
Content-Length: 331
Connection: close
Content-Length: 334
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:38 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:46 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
{
"name": "test",
"node_id": "ad3edf65-c8e8-4e85-aa6b-052c261530cc",
"node_id": "94f5a8c9-1e9e-42b0-bbba-5937d05c9c24",
"ports_mapping": [
{
"interface": "gns3nat9",
"interface": "virbr0",
"name": "nat0",
"port_number": 0,
"type": "tap"
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
@@ -1,8 +1,8 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/63c3ba51-9d31-4b7b-a745-a517947787ee' -d '{"console": 5715, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a88ca6cb-fea5-40c2-ada6-73f056e94eb7' -d '{"console": 5006, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/63c3ba51-9d31-4b7b-a745-a517947787ee HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a88ca6cb-fea5-40c2-ada6-73f056e94eb7 HTTP/1.1
{
"console": 5715,
"console": 5006,
"hdb_disk_image": "linux\u8f7d.img",
"name": "test",
"ram": 1024
@@ -10,21 +10,24 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/63c3ba5
HTTP/1.1 200
Content-Length: 1456
Connection: close
Content-Length: 1509
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:41 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:49 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
{
"acpi_shutdown": false,
"adapter_type": "e1000",
"adapters": 1,
"bios_image": "",
"bios_image_md5sum": null,
"boot_priority": "c",
"cdrom_image": "",
"cdrom_image_md5sum": null,
"command_line": "",
"console": 5715,
"console": 5006,
"console_type": "telnet",
"cpu_throttling": 0,
"cpus": 1,
@@ -46,15 +49,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:87:ee:00",
"mac_address": "00:dd:80:4e:b7:00",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/63c3ba51-9d31-4b7b-a745-a517947787ee",
"node_id": "63c3ba51-9d31-4b7b-a745-a517947787ee",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/a88ca6cb-fea5-40c2-ada6-73f056e94eb7",
"node_id": "a88ca6cb-fea5-40c2-ada6-73f056e94eb7",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpf14u_0k4/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""
@@ -1,30 +1,31 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/62db6581-fbbf-402a-80f4-6c3d03255316' -d '{"console": 5724, "name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/26188067-49b1-40f6-8b2c-11ed74c7ac18' -d '{"console": 5005, "name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/62db6581-fbbf-402a-80f4-6c3d03255316 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/26188067-49b1-40f6-8b2c-11ed74c7ac18 HTTP/1.1
{
"console": 5724,
"console": 5005,
"name": "test"
}
HTTP/1.1 200
Content-Length: 469
Connection: close
Content-Length: 463
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:44 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
{
"acpi_shutdown": false,
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
"adapters": 0,
"console": 5724,
"enable_remote_console": false,
"console": 5005,
"console_type": "telnet",
"headless": false,
"linked_clone": false,
"name": "test",
"node_directory": null,
"node_id": "62db6581-fbbf-402a-80f4-6c3d03255316",
"node_id": "26188067-49b1-40f6-8b2c-11ed74c7ac18",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",
@@ -1,29 +1,29 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6bde4c72-dfab-4965-b824-0e441c88509f' -d '{"console": 5725, "name": "test", "startup_script": "ip 192.168.1.1"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/550cc2b9-d124-467d-9407-3754c6bc287d' -d '{"console": 5006, "name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6bde4c72-dfab-4965-b824-0e441c88509f HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/550cc2b9-d124-467d-9407-3754c6bc287d HTTP/1.1
{
"console": 5725,
"name": "test",
"startup_script": "ip 192.168.1.1"
"console": 5006,
"name": "test"
}
HTTP/1.1 200
Content-Length: 505
Connection: close
Content-Length: 484
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:45 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:55 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
{
"command_line": "",
"console": 5725,
"console": 5006,
"console_type": "telnet",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmps1t9o33m/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/6bde4c72-dfab-4965-b824-0e441c88509f",
"node_id": "6bde4c72-dfab-4965-b824-0e441c88509f",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/550cc2b9-d124-467d-9407-3754c6bc287d",
"node_id": "550cc2b9-d124-467d-9407-3754c6bc287d",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": "ip 192.168.1.1",
"startup_script_path": "startup.vpc",
"startup_script": null,
"startup_script_path": null,
"status": "stopped"
}
@@ -5,9 +5,10 @@ DELETE /v2/computes/my_compute_id HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:46 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:55 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/computes/{compute_id}
@@ -1,13 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/b0455c4a-bfc5-4a51-8af7-78e1e0ea633a'
curl -i -X DELETE 'http://localhost:3080/v2/projects/1dec0fc5-4480-403e-b86a-3c356920a828'
DELETE /v2/projects/b0455c4a-bfc5-4a51-8af7-78e1e0ea633a HTTP/1.1
DELETE /v2/projects/1dec0fc5-4480-403e-b86a-3c356920a828 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:54 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:32:02 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/projects/{project_id}
@@ -1,13 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/5506c6ec-6ad5-48d1-9f8a-64ffd935124c/drawings/a1b54140-aef4-48e4-9170-b746df992632'
curl -i -X DELETE 'http://localhost:3080/v2/projects/24ef7002-5dd6-4054-bf8a-d2aface0885e/drawings/b2f8b12f-a4cc-4621-affc-cf3dcd4ba513'
DELETE /v2/projects/5506c6ec-6ad5-48d1-9f8a-64ffd935124c/drawings/a1b54140-aef4-48e4-9170-b746df992632 HTTP/1.1
DELETE /v2/projects/24ef7002-5dd6-4054-bf8a-d2aface0885e/drawings/b2f8b12f-a4cc-4621-affc-cf3dcd4ba513 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:47 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:56 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/projects/{project_id}/drawings/{drawing_id}
@@ -1,13 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/9e65c1ba-14af-48e3-874e-763be80af860/links/e89eed96-a7f7-494c-b96c-21dc769ecc16'
curl -i -X DELETE 'http://localhost:3080/v2/projects/42a1b682-b5bf-4de4-b5af-5366fc20a111/links/105966d0-8a04-4cf5-95a4-ff13f1de7660'
DELETE /v2/projects/9e65c1ba-14af-48e3-874e-763be80af860/links/e89eed96-a7f7-494c-b96c-21dc769ecc16 HTTP/1.1
DELETE /v2/projects/42a1b682-b5bf-4de4-b5af-5366fc20a111/links/105966d0-8a04-4cf5-95a4-ff13f1de7660 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:49 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:58 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/projects/{project_id}/links/{link_id}
@@ -1,13 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/784f3991-a161-4251-a6fd-c48f98535ef5/nodes/ec5a58db-4d16-404d-8187-6fd42837b1ed'
curl -i -X DELETE 'http://localhost:3080/v2/projects/856d9a5f-f0fc-4a14-ab9c-6cd61abde4f6/nodes/5d7c89f2-3a82-4ad5-918d-798dc70aefb3'
DELETE /v2/projects/784f3991-a161-4251-a6fd-c48f98535ef5/nodes/ec5a58db-4d16-404d-8187-6fd42837b1ed HTTP/1.1
DELETE /v2/projects/856d9a5f-f0fc-4a14-ab9c-6cd61abde4f6/nodes/5d7c89f2-3a82-4ad5-918d-798dc70aefb3 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:51 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:32:00 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/projects/{project_id}/nodes/{node_id}
@@ -1,13 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/43208878-9c36-42e4-ae28-f57ece320261/snapshots/8e80f61f-b53a-4021-bee5-cb5421713f2a'
curl -i -X DELETE 'http://localhost:3080/v2/projects/c84befb2-e203-4357-9958-770bd92cb1f2/snapshots/c65dfead-1080-45a1-85bf-57b0fe5983a2'
DELETE /v2/projects/43208878-9c36-42e4-ae28-f57ece320261/snapshots/8e80f61f-b53a-4021-bee5-cb5421713f2a HTTP/1.1
DELETE /v2/projects/c84befb2-e203-4357-9958-770bd92cb1f2/snapshots/c65dfead-1080-45a1-85bf-57b0fe5983a2 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 20 Oct 2016 08:52:57 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:32:04 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id}
@@ -5,10 +5,11 @@ GET /v2/computes HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 387
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:46 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:55 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/computes
[
@@ -5,10 +5,11 @@ GET /v2/computes/my_compute_id HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 334
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:46 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:55 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/computes/{compute_id}
{
@@ -5,10 +5,11 @@ GET /v2/computes/my_compute/virtualbox/vms HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 2
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:46 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:56 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/computes/{compute_id}/{emulator}/{action:.+}
[]
@@ -5,10 +5,11 @@ GET /v2/computes/my_compute/qemu/images HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 95
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:46 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:55 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/computes/{compute_id}/{emulator}/images
[
+3 -2
View File
@@ -5,10 +5,11 @@ GET /v2/gns3vm HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 148
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:47 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:57 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/gns3vm
{
@@ -5,15 +5,16 @@ GET /v2/gns3vm/engines HTTP/1.1
HTTP/1.1 200
Content-Length: 1106
Connection: close
Content-Length: 1110
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:47 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:57 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/gns3vm/engines
[
{
"description": "VMware is the recommended choice for best performances.<br>The GNS3 VM can be <a href=\"https://github.com/GNS3/gns3-gui/releases/download/v2.0.0dev2/GNS3.VM.VMware.Workstation.2.0.0dev2.zip\">downloaded here</a>.",
"description": "VMware is the recommended choice for best performances.<br>The GNS3 VM can be <a href=\"https://github.com/GNS3/gns3-gui/releases/download/v2.0.0dev11/GNS3.VM.VMware.Workstation.2.0.0dev11.zip\">downloaded here</a>.",
"engine_id": "vmware",
"name": "VMware Fusion",
"support_headless": true,
@@ -21,7 +22,7 @@ X-Route: /v2/gns3vm/engines
"support_when_exit": true
},
{
"description": "VirtualBox doesn't support nested virtualization, this means running Qemu based VM could be very slow.<br>The GNS3 VM can be <a href=\"https://github.com/GNS3/gns3-gui/releases/download/v2.0.0dev2/GNS3.VM.VirtualBox.2.0.0dev2.zip\">downloaded here</a>",
"description": "VirtualBox doesn't support nested virtualization, this means running Qemu based VM could be very slow.<br>The GNS3 VM can be <a href=\"https://github.com/GNS3/gns3-gui/releases/download/v2.0.0dev11/GNS3.VM.VirtualBox.2.0.0dev11.zip\">downloaded here</a>",
"engine_id": "virtualbox",
"name": "VirtualBox",
"support_headless": true,
@@ -5,10 +5,11 @@ GET /v2/gns3vm/engines/vmware/vms HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 40
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:47 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:57 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/gns3vm/engines/{engine}/vms
[
@@ -5,10 +5,11 @@ GET /v2/projects HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 428
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:54 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:32:01 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/projects
[
@@ -18,7 +19,7 @@ X-Route: /v2/projects
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-53/test_list_projects1",
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_list_projects1",
"project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f",
"scene_height": 1000,
"scene_width": 2000,
@@ -1,14 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/projects/1072b2a5-82cc-45f9-bd3d-ff2387e2bfff'
curl -i -X GET 'http://localhost:3080/v2/projects/30013d5e-b284-4098-a12b-435d9ffdfc50'
GET /v2/projects/1072b2a5-82cc-45f9-bd3d-ff2387e2bfff HTTP/1.1
GET /v2/projects/30013d5e-b284-4098-a12b-435d9ffdfc50 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 379
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:54 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:32:02 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/projects/{project_id}
{
@@ -17,8 +18,8 @@ X-Route: /v2/projects/{project_id}
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9a94t05k/projects/1072b2a5-82cc-45f9-bd3d-ff2387e2bfff",
"project_id": "1072b2a5-82cc-45f9-bd3d-ff2387e2bfff",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpoa69sgpa/projects/30013d5e-b284-4098-a12b-435d9ffdfc50",
"project_id": "30013d5e-b284-4098-a12b-435d9ffdfc50",
"scene_height": 1000,
"scene_width": 2000,
"status": "opened"
@@ -1,20 +1,21 @@
curl -i -X GET 'http://localhost:3080/v2/projects/14d34aa3-2c4d-4737-b9b1-b9976a1c70f1/drawings'
curl -i -X GET 'http://localhost:3080/v2/projects/adb641a0-8ec9-4b5a-b8df-cc993638c601/drawings'
GET /v2/projects/14d34aa3-2c4d-4737-b9b1-b9976a1c70f1/drawings HTTP/1.1
GET /v2/projects/adb641a0-8ec9-4b5a-b8df-cc993638c601/drawings HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 363
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:47 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:56 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/projects/{project_id}/drawings
[
{
"drawing_id": "2f566962-18b6-420d-82c6-d68613957183",
"project_id": "14d34aa3-2c4d-4737-b9b1-b9976a1c70f1",
"drawing_id": "377bccc0-779a-44b0-ab5e-98dfd6dc46cd",
"project_id": "adb641a0-8ec9-4b5a-b8df-cc993638c601",
"rotation": 0,
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
"x": 10,
@@ -1,14 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/projects/69ab73a7-a498-49b2-968b-bc406897a545/links'
curl -i -X GET 'http://localhost:3080/v2/projects/19def516-231c-4a43-8fdb-1d49333c1f8e/links'
GET /v2/projects/69ab73a7-a498-49b2-968b-bc406897a545/links HTTP/1.1
GET /v2/projects/19def516-231c-4a43-8fdb-1d49333c1f8e/links HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 1111
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:48 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:58 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/projects/{project_id}/links
[
@@ -16,7 +17,7 @@ X-Route: /v2/projects/{project_id}/links
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "d9db6a61-ae1a-4f7d-991a-73c46f62dfab",
"link_id": "9b74fb50-652a-47de-aa7a-f936fad2623a",
"link_type": "ethernet",
"nodes": [
{
@@ -28,7 +29,7 @@ X-Route: /v2/projects/{project_id}/links
"x": -10,
"y": -10
},
"node_id": "fc041a38-4796-420d-bbe1-60c675aff332",
"node_id": "009935d3-bb71-48ee-8f8c-4160ecf36a1f",
"port_number": 3
},
{
@@ -40,10 +41,10 @@ X-Route: /v2/projects/{project_id}/links
"x": -10,
"y": -10
},
"node_id": "cbeaeb2c-4bbf-42e5-a86f-e358040d7a5e",
"node_id": "efd15e6d-cc6d-4b85-8e11-0389806f7231",
"port_number": 4
}
],
"project_id": "69ab73a7-a498-49b2-968b-bc406897a545"
"project_id": "19def516-231c-4a43-8fdb-1d49333c1f8e"
}
]
@@ -1,14 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/projects/9376e8ee-f9ee-4a3d-943c-a6b54c2ae475/nodes'
curl -i -X GET 'http://localhost:3080/v2/projects/387fb37d-314e-43b4-8fbd-4f1266662100/nodes'
GET /v2/projects/9376e8ee-f9ee-4a3d-943c-a6b54c2ae475/nodes HTTP/1.1
GET /v2/projects/387fb37d-314e-43b4-8fbd-4f1266662100/nodes HTTP/1.1
HTTP/1.1 200
Content-Length: 1264
Connection: close
Content-Length: 1303
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:49 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:59 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/projects/{project_id}/nodes
[
@@ -16,7 +17,7 @@ X-Route: /v2/projects/{project_id}/nodes
"command_line": null,
"compute_id": "example.com",
"console": 2048,
"console_host": "example.org",
"console_host": "<MagicMock name='mock.console_host' id='4439344576'>",
"console_type": null,
"first_port_name": null,
"height": 59,
@@ -29,7 +30,7 @@ X-Route: /v2/projects/{project_id}/nodes
},
"name": "test",
"node_directory": null,
"node_id": "25b75f46-61a5-4931-9d6e-18b32f0e7533",
"node_id": "af74aa64-c387-4903-9879-16e5fe26c0df",
"node_type": "vpcs",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
@@ -42,10 +43,10 @@ X-Route: /v2/projects/{project_id}/nodes
"link_type": "ethernet",
"name": "Ethernet0",
"port_number": 0,
"short_name": "e0/0"
"short_name": "e0"
}
],
"project_id": "9376e8ee-f9ee-4a3d-943c-a6b54c2ae475",
"project_id": "387fb37d-314e-43b4-8fbd-4f1266662100",
"properties": {
"startup_script": "echo test"
},
@@ -1,21 +1,22 @@
curl -i -X GET 'http://localhost:3080/v2/projects/b8e96d16-406c-47ad-aa38-af76c9ba22ef/nodes/1ebfcf89-b54b-4a72-bd86-c09bd2917796'
curl -i -X GET 'http://localhost:3080/v2/projects/b97cbb09-8eef-4def-b338-ab29d9942bc2/nodes/8d4fce2b-5b61-446d-b7a7-93b07e4cabac'
GET /v2/projects/b8e96d16-406c-47ad-aa38-af76c9ba22ef/nodes/1ebfcf89-b54b-4a72-bd86-c09bd2917796 HTTP/1.1
GET /v2/projects/b97cbb09-8eef-4def-b338-ab29d9942bc2/nodes/8d4fce2b-5b61-446d-b7a7-93b07e4cabac HTTP/1.1
HTTP/1.1 200
Content-Length: 1084
Connection: close
Content-Length: 1123
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:50 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:31:59 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/projects/{project_id}/nodes/{node_id}
{
"command_line": null,
"compute_id": "example.com",
"console": 2048,
"console_host": "example.org",
"console_host": "<MagicMock name='mock.console_host' id='4434431336'>",
"console_type": null,
"first_port_name": null,
"height": 59,
@@ -28,7 +29,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}
},
"name": "test",
"node_directory": null,
"node_id": "1ebfcf89-b54b-4a72-bd86-c09bd2917796",
"node_id": "8d4fce2b-5b61-446d-b7a7-93b07e4cabac",
"node_type": "vpcs",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
@@ -41,10 +42,10 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}
"link_type": "ethernet",
"name": "Ethernet0",
"port_number": 0,
"short_name": "e0/0"
"short_name": "e0"
}
],
"project_id": "b8e96d16-406c-47ad-aa38-af76c9ba22ef",
"project_id": "b97cbb09-8eef-4def-b338-ab29d9942bc2",
"properties": {
"startup_script": "echo test"
},
@@ -1,14 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/projects/a66001f2-2f0c-4ec2-8b76-0fb9e90db9d4/nodes/51dc598c-3eb9-4215-bba8-fc9bba496202/dynamips/auto_idlepc'
curl -i -X GET 'http://localhost:3080/v2/projects/5892e20f-136f-4a75-821d-004f039a7db4/nodes/3e529564-a1cd-4852-a4cc-2193da8782df/dynamips/auto_idlepc'
GET /v2/projects/a66001f2-2f0c-4ec2-8b76-0fb9e90db9d4/nodes/51dc598c-3eb9-4215-bba8-fc9bba496202/dynamips/auto_idlepc HTTP/1.1
GET /v2/projects/5892e20f-136f-4a75-821d-004f039a7db4/nodes/3e529564-a1cd-4852-a4cc-2193da8782df/dynamips/auto_idlepc HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 30
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:52 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:32:00 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/projects/{project_id}/nodes/{node_id}/dynamips/auto_idlepc
{
@@ -1,14 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/projects/1bbfd840-733c-4511-bc41-062351c3592c/nodes/08a38782-ba77-4890-941c-5c322218ffc1/dynamips/idlepc_proposals'
curl -i -X GET 'http://localhost:3080/v2/projects/f6d48c79-bbf2-48e9-87dd-706fcf40eb7b/nodes/3a1aa9c0-8ea9-4372-874a-412edc9022d5/dynamips/idlepc_proposals'
GET /v2/projects/1bbfd840-733c-4511-bc41-062351c3592c/nodes/08a38782-ba77-4890-941c-5c322218ffc1/dynamips/idlepc_proposals HTTP/1.1
GET /v2/projects/f6d48c79-bbf2-48e9-87dd-706fcf40eb7b/nodes/3a1aa9c0-8ea9-4372-874a-412edc9022d5/dynamips/idlepc_proposals HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 38
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:52 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:32:01 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/projects/{project_id}/nodes/{node_id}/dynamips/idlepc_proposals
[
@@ -1,21 +1,22 @@
curl -i -X GET 'http://localhost:3080/v2/projects/e833be41-24ed-45e3-86da-6aa77bf06f9c/snapshots'
curl -i -X GET 'http://localhost:3080/v2/projects/ea93460a-c843-4c89-b8ad-5cfd322292fc/snapshots'
GET /v2/projects/e833be41-24ed-45e3-86da-6aa77bf06f9c/snapshots HTTP/1.1
GET /v2/projects/ea93460a-c843-4c89-b8ad-5cfd322292fc/snapshots HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 197
Content-Type: application/json
Date: Thu, 20 Oct 2016 08:52:57 GMT
Server: Python/3.5 GNS3/2.0.0dev2
Date: Tue, 21 Mar 2017 09:32:04 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/projects/{project_id}/snapshots
[
{
"created_at": 1476953577,
"created_at": 1490088724,
"name": "test",
"project_id": "e833be41-24ed-45e3-86da-6aa77bf06f9c",
"snapshot_id": "25faccd8-e064-4c4f-81ac-45c16ea6350c"
"project_id": "ea93460a-c843-4c89-b8ad-5cfd322292fc",
"snapshot_id": "2f250c44-3f80-437a-bac7-b03e66e0482a"
}
]
Loaded 100 of 507 files, more files were not shown because too many files have changed in this diff. Show more