Compare commits

...
656 Commits
Author SHA1 Message Date
ziajka 6af64454d0 Release v2.1.2 2018-01-08 14:09:59 +01:00
grossmj 47ef7e2a5e Merge remote-tracking branch 'origin/2.1' into 2.1 2018-01-08 18:08:45 +07:00
grossmj 927f7e6b9d Do not show log message if configuration file doesn't exist. Fixes #1206. 2018-01-08 18:07:15 +07:00
Jeremy Grossmann 9ca56964f5 Merge pull request #1255 from ehlers/update-docs
Update API documentation
2018-01-08 02:46:06 -08:00
Bernhard Ehlers e6d2bd4424 Update API documentation 2018-01-08 09:26:44 +01:00
grossmj 21a7a68875 Merge remote-tracking branch 'origin/2.1' into 2.1 2018-01-08 11:57:24 +07:00
grossmj ffe21f6b73 Update API documentation. Fixes #1253. 2018-01-08 11:57:07 +07:00
Jeremy Grossmann 266916b092 Merge pull request #1252 from ehlers/api_links_drawings
GNS3-API: implement GET for specific drawing and link
2018-01-07 06:12:24 +01:00
Bernhard Ehlers 8907b3d58a GNS3-API: implement GET for specific drawing and link
Fixes #1249
2018-01-05 13:44:46 +01:00
ziajka d80e01a9c5 Development on v2.1.2dev1 2017-12-22 13:29:18 +01:00
ziajka 5dd0414ab3 Release v2.1.1 2017-12-22 13:27:20 +01:00
grossmj e8353e68bb Merge remote-tracking branch 'origin/2.1' into 2.1 2017-12-21 09:38:28 +01:00
grossmj 23c63bbd4d Protect variable replacement for Qemu options. Escape double quotes. 2017-12-21 09:38:18 +01:00
ziajka dadf11f69b Fix tests 2017-12-21 09:37:48 +01:00
ziajka 3efe753eee Add proper exception when cannot find tunnel on QEMU, Fixes: #1241 2017-12-21 08:55:49 +01:00
ziajka f48420af58 Increase timeout for creation of image, Ref. #2239 2017-12-21 08:46:20 +01:00
grossmj 79bca29b93 Protect variable replacement for Qemu options. 2017-12-20 20:46:16 +01:00
grossmj 0e4865e049 Bump version to 2.1.1dev2 2017-12-20 11:20:07 +01:00
grossmj 26567d9164 Merge remote-tracking branch 'origin/2.1' into 2.1 2017-12-18 12:08:23 +01:00
grossmj a8177d7afa Fix tests more reliably. Ref #0df997d. 2017-12-18 12:08:14 +01:00
ziajka a393e7f723 Merge pull request #1205 from GNS3/aiohttp-2.3.1
aiohttp 2.3 support.
2017-12-18 11:09:16 +01:00
grossmj 0df997d232 Fix tests. 2017-12-17 23:06:19 +01:00
grossmj 630afc5469 Do not overwrites persistent Docker volumes. Fixes #2358. 2017-12-17 22:35:26 +01:00
grossmj 3e3e1df051 Allow users to see an error when the server cannot stream a PCAP file. 2017-12-07 12:28:01 -06:00
grossmj 3a1ba8f42d Fix issue with Qemu + SPICE when IPv4 is not enabled. 2017-12-07 12:02:41 -06:00
grossmj 0a72e0db87 Fix more GNS3 VM related tests. 2017-12-05 20:38:48 -06:00
grossmj e3b3427cc6 Fix GNS3 VM start test. 2017-12-05 20:30:28 -06:00
grossmj dde2003168 Fix tests. 2017-12-05 16:56:50 -06:00
grossmj cfe8e9e85c Warn users if the GNS3 VM and local server are not in the same subnet. Fixes #1231. 2017-12-05 16:43:44 -06:00
grossmj 1699ce5d1c Add missing appliance files. 2017-11-27 13:43:47 +07:00
grossmj d0850927d0 Update appliance files. 2017-11-27 13:42:26 +07:00
grossmj 745532bf23 Fix auto idlepc test. 2017-11-23 23:46:22 +07:00
grossmj 78cf0309a0 Merge remote-tracking branch 'origin/2.1' into 2.1 2017-11-23 23:29:09 +07:00
grossmj 851fcf5c71 Fix compute auto idlepc test. 2017-11-23 23:28:52 +07:00
Jeremy Grossmann a80355998d Merge pull request #1230 from GNS3/consitance-about-exc
Keep consistance of aiohttp.web.HTTPForbidden() execution
2017-11-23 23:02:42 +07:00
grossmj e54d574e47 Fix auto idle-pc from preferences. 2017-11-23 23:00:31 +07:00
ziajka fe60c414b9 Keep consistance of aiohttp.web.HTTPForbidden() execution 2017-11-23 16:28:10 +01:00
grossmj efbf7728ea Fix Docker tests. 2017-11-23 11:27:17 +07:00
grossmj 061af38b5a Make sure connected links are removed when a node is deleted. 2017-11-23 11:19:41 +07:00
grossmj f48549a997 Validate idle-pc values for auto idle-pc feature. 2017-11-23 10:40:51 +07:00
grossmj 958ab2294c Merge remote-tracking branch 'origin/2.1' into 2.1 2017-11-23 10:04:46 +07:00
grossmj dd89b09f84 Fix error when updating packet filter on stopped Docker link. Fixes #1229. 2017-11-23 10:04:32 +07:00
Jeremy Grossmann 642536a070 Merge pull request #1228 from GNS3/es-console
Close telnet console after stopping the node. Ref gui/#2330
2017-11-20 22:02:58 +07:00
ziajka 860ca3b35d Remotely close telnet console. Ref #2330 2017-11-20 15:28:07 +01:00
ziajka 96a0b52cf8 EthernetSwitch closing connections, Ref: gui/#2330 2017-11-20 13:51:07 +01:00
Jeremy Grossmann 7c90c513d0 Merge pull request #1227 from GNS3/improved-export-project
Export files from remote server, Fixes: gui/#2271
2017-11-20 17:19:20 +07:00
ziajka fe59c937d5 Merge branch '2.1' into improved-export-project 2017-11-20 11:15:04 +01:00
ziajka b48f5df53f iExport files from remote server, Fixes: gui/#2271 2017-11-20 10:47:03 +01:00
grossmj 3e2e8e61f7 New option: require KVM. If false, Qemu VMs will not be prevented to run without KVM. 2017-11-19 12:39:37 +07:00
grossmj 068077c594 Remove forgotten debug. 2017-11-18 17:36:39 +07:00
grossmj e08aebf1f0 Implement variable replacement for Qemu VM options. 2017-11-18 17:36:11 +07:00
grossmj cfbcc1194d Avoid duplicate "-nographic" option. 2017-11-18 16:22:29 +07:00
grossmj 035a078b5e Show qemu-img stdout in case of an error. 2017-11-17 18:13:34 +07:00
grossmj cf14deb2fa Fix IOU tests. 2017-11-16 17:07:51 +07:00
grossmj e1fe34ca07 Use the correct NVRAM amount when pushing private config to IOU. 2017-11-16 16:52:19 +07:00
grossmj d3e55520d9 Merge remote-tracking branch 'remotes/origin/master' into 2.1 2017-11-16 15:03:20 +07:00
grossmj 4477cd4dfd Merge remote-tracking branch 'origin/2.1' 2017-11-16 14:54:53 +07:00
grossmj 967798a7de Check and fix corrupt Qemu disk images. Fixes #2301. 2017-11-16 14:54:37 +07:00
ziajka 61acb939a4 Update pyup config to use 2.2 branch 2017-11-15 13:20:31 +01:00
grossmj 8c11b649e5 Update warning messages when connecting to non custom adapter for VMware VMs. 2017-11-15 16:55:19 +07:00
grossmj b14e2e73ed Fix "Can't use VirtualBox VM when an interface is managed by VirtualBox". Fixes #2335. 2017-11-15 16:41:33 +07:00
ziajka 2235a8158f Update requirements.txt 2017-11-15 09:00:14 +01:00
grossmj 9afe756462 Add low disk space warning when creating a new project. 2017-11-14 18:22:59 +07:00
ziajka 135c529d4b Development on 2.1.1dev1 2017-11-09 10:49:56 +01:00
ziajka ce219e81ea Development on 2.1.0dev11 2017-11-09 10:48:48 +01:00
ziajka c2684f056c Release 2.1.0 2017-11-09 07:29:46 +01:00
ziajka 009677f019 Fix typo in vcpus on VirtualBoxVM, fixes: #1213 2017-11-07 11:15:49 +01:00
ziajka 9c3ee02797 Development on v2.1.0dev10 2017-11-07 10:19:19 +01:00
ziajka 50c8fe070d Release v2.1.0rc4 2017-11-07 08:47:40 +01:00
Jeremy Grossmann ace7b0c69f Merge pull request #1212 from GNS3/fix-vcpus-controll-on-vmware
Fix GNS3VM vCPUs control on VMware, fixes: #2324
2017-11-06 23:46:04 +08:00
ziajka 255dc7ed9b Fix GNS3VM vCPUs control on VMware, fixes: #2324 2017-11-06 15:15:37 +01:00
grossmj 75ceffb458 Fix typo in sample gns3_server.conf. Fixes #1210. 2017-11-03 16:15:03 +08:00
Jeremy Grossmann 21c2429aee Merge pull request #1209 from GNS3/ignore-env
Ignore env files
2017-10-30 17:43:39 +07:00
Jeremy Grossmann 8cc04f25e2 Merge pull request #1208 from GNS3/info-about-api
Warning for getting endpoint of compute
2017-10-30 17:41:31 +07:00
ziajka 815dca101f Ignore env files 2017-10-30 11:30:06 +01:00
ziajka 022d76e88a Warning for getting endpoint of compute 2017-10-30 11:26:57 +01:00
Jeremy Grossmann 2c0804d4ee Merge pull request #1204 from GNS3/loop-speed-on-win
Disable loop debug on default
2017-10-27 16:43:54 +07:00
ziajka b2c5e175d7 Enable debug loop only on debug mode 2017-10-27 11:19:06 +02:00
ziajka a7412d1c87 aiohttp 2.3.1 dependency 2017-10-26 16:29:01 +02:00
ziajka 2171072ae4 Enable debug mode on async loop only in dev/debug mode 2017-10-26 12:24:01 +02:00
grossmj 8fcfed53ed Add warning when using IOU with a hostname length above 15 characters. 2017-10-24 15:07:32 +07:00
grossmj df468bf2af Improve VMware VMs discovery process. Ref #1201. 2017-10-22 17:33:21 +07:00
grossmj 8930b4c6e5 Improve error message when IOU VM process is unexpectedly stopped. 2017-10-22 16:28:54 +07:00
grossmj b4307e6035 Improved error message when the number of network adapters is above the maximum for VirtualBox VMs.
Better support for potential future chipsets in addition of PIIX3 and ICH9.
2017-10-22 15:23:43 +07:00
ziajka 6a87047c18 Added localhost and gns3.github.io CORS 2017-10-20 13:21:43 +02:00
ziajka d918330472 Back to dev. at 2.1.0dev9 2017-10-20 08:37:47 +02:00
ziajka 8fde8789f1 Fix Travis deployment 2017-10-19 09:57:52 +02:00
ziajka aaa8c4895f Development on 2.1.0dev9 2017-10-19 08:58:28 +02:00
ziajka 66d5cb520d Release 2.1.0 rc3 2017-10-19 08:56:06 +02:00
Jeremy Grossmann d2a7f724e3 Merge pull request #1198 from GNS3/vmware-config
Set vhv.enable before run for VMware. Fixes #1184
2017-10-18 17:42:56 +07:00
Jeremy Grossmann c7015435c9 Update vmware_gns3_vm.py 2017-10-18 15:53:37 +07:00
ziajka 44efab109e Set vhv.enable before run for VMWare 14. Fixes #1184 2017-10-18 10:32:56 +02:00
grossmj 98b201e9e5 Tweak how VMware VMs are found with fallback to search in the default location for VMs. 2017-10-18 15:27:03 +07:00
Jeremy Grossmann 1f4b87ae9c Merge pull request #1197 from GNS3/fix-win-tests
fix passing tests on Windows
2017-10-16 19:44:22 +08:00
ziajka bc782b6896 fix passing tests on Windows 2017-10-16 13:02:44 +02:00
Jeremy Grossmann 4cae6b678a Merge pull request #1194 from GNS3/direct-file-uploads
Endpoint for obtaining direct action on compute
2017-10-16 17:27:35 +08:00
Jeremy Grossmann 3a5a771b19 Merge pull request #1195 from ddragic/qemu-log-macaddress
QEMU: fix logging of base mac address when creating a new node
2017-10-14 16:00:22 +02:00
Dušan Dragić 44bb912139 QEMU: fix logging of base mac address when creating a new node 2017-10-14 13:55:16 +02:00
grossmj 74e7201ea6 Sync appliance files. 2017-10-13 17:56:42 +08:00
grossmj 4f13c63a52 Do not use builtin name. 2017-10-13 17:51:19 +08:00
grossmj 02ad98664f Fix creation of an VMware VM failed with invalid JSON. Fixes #2282. 2017-10-13 17:50:23 +08:00
ziajka b654d78ea6 Endpoint for obtaining direct action on compute 2017-10-13 11:03:56 +02:00
grossmj 244a86bcbc Merge remote-tracking branch 'origin/2.1' into 2.1 2017-10-12 23:33:00 +08:00
grossmj 1524493c33 Fix IOU detection of layer 1 keepalive support. Fixes #1183. 2017-10-12 23:32:45 +08:00
Jeremy Grossmann e52b83be11 Merge pull request #1192 from GNS3/travis-docker-tests
Tests on TravisCI with docker compose
2017-10-12 01:52:03 -07:00
ziajka 0c7a92b710 Tests on TravisCI with docker compose 2017-10-12 10:40:49 +02:00
Jeremy Grossmann 67c78ba2e3 Merge pull request #1188 from GNS3/fix-post-file-normalization
Fixes path normalization during file upload on nodes (Fixes: #2276)
2017-10-05 02:07:02 -07:00
ziajka 9619827f44 Reenable tests and back to development on 2.1.0dev8 2017-10-04 13:05:00 +02:00
ziajka 5b645cd455 Temporary disable passing tests 2017-10-04 12:58:53 +02:00
ziajka 7d19312d44 Development on 2.1.0dev8 2017-10-04 11:39:52 +02:00
ziajka 81048f44d6 Release 2.1.0 rc2 2017-10-04 11:37:12 +02:00
Dominik Ziajka be35ad6874 Fixes path normalization during file upload on nodes (Fixes: #2276) 2017-10-03 18:13:19 +02:00
Jeremy Grossmann 897f7656da Merge pull request #1185 from GNS3/fix-delete-project
Don't create directory structure during json dump. Fixes #2270
2017-10-02 13:49:46 -07:00
ziajka 3d85bba9d4 Don't create directory structure during json dump. Fixes #2270 2017-10-02 10:41:57 +02:00
grossmj dbd41e44f8 Bump version to 2.1.0dev7 2017-10-02 04:04:38 +08:00
grossmj 7269285b0f Add more information when qemu-img fails. 2017-10-02 00:47:16 +08:00
grossmj 2a4ed9ba89 Fix issue with multidict when upgrading GNS3 VM to use dev channel. 2017-09-23 18:09:10 +08:00
grossmj a567b394f3 Restore file permissions fails for volumes with soft links. Fixes #1180. 2017-09-21 22:45:17 +08:00
grossmj d76bcf7078 Use RAW sockets by default on Linux. 2017-09-19 12:39:55 +07:00
grossmj fcd2c7b6d4 Add missing https console keyword in JSON schema. Fixes #1179. 2017-09-19 12:38:35 +07:00
grossmj 60bc386d6b Merge remote-tracking branch 'origin/2.1' into 2.1 2017-09-14 17:58:25 +07:00
grossmj e1c8df170a Allow projects to be opened even when a node port is already used. 2017-09-14 17:57:58 +07:00
ziajka cdfce26b61 Development on v2.1.0dev6 2017-09-13 09:31:30 +02:00
ziajka f415d38ccd Release v2.1.0rc1 2017-09-13 09:29:31 +02:00
grossmj 6a8f220ff1 Fix NAT test. 2017-09-11 15:09:32 +07:00
grossmj 9e4cfaf787 Fix NAT node not working on Windows. Fixes #1163. 2017-09-11 13:02:26 +07:00
grossmj 4a2dfb0037 Do not prevent a project to be deleted. Fixes #2237. 2017-09-06 18:12:22 +07:00
ziajka b538bd0a29 Back to development on v2.1.0dev5 2017-09-05 15:22:49 +02:00
ziajka 36210b10c6 Re-release 2.1.0b2 2017-09-05 11:22:43 +02:00
ziajka fd623a5ad2 Fix test_ubridge_apply_filters 2017-09-05 11:07:10 +02:00
ziajka e5a7eb74ed Fix project tests 2017-09-05 10:38:17 +02:00
ziajka daf7ed8c95 Development on 2.1.0dev5 2017-09-05 08:39:53 +02:00
ziajka 1f87d8222b Release 2.1.0 beta 2 2017-09-05 08:38:42 +02:00
grossmj 90e3a8d612 Round-robin nodes across all available compute resources. Fixes #1165. 2017-09-03 22:51:51 +07:00
grossmj c22229101f Try to improve error reporting when streaming a PCAP file. Ref #2235. 2017-09-01 17:10:24 +07:00
grossmj ee486b32bd Use Npcap DLL on Windows when checking for uBridge version. 2017-09-01 16:22:43 +07:00
Jeremy Grossmann 7492899b95 Merge pull request #1173 from GNS3/console-tests
Windows console bugfix tests
2017-08-29 17:45:29 +07:00
ziajka 807bea40d4 Fixes running switch console inside PyCharm terminal (Ref. #1172) 2017-08-29 12:28:53 +02:00
ziajka 4e3eee33fc Windows console bugfix tests 2017-08-29 10:08:10 +02:00
Jeremy Grossmann a7297ffca4 Merge pull request #1169 from GNS3/checking-nio-existance
Added checking if NIO exists (Fixes #1160)
2017-08-25 16:34:44 +08:00
Jeremy Grossmann 2806b7b286 Merge pull request #1170 from GNS3/load-meta-when-project-opens
Load meta of the project on loading time (Fixes #2225)
2017-08-25 16:30:23 +08:00
ziajka b0783eeccc Load meta of the project on loading time (Fixes #2225) 2017-08-22 09:36:52 +02:00
Julien Duponchelle 4fc29504f2 Merge pull request #1168 from GNS3/nat-on-windows
Fixes NAT node not working on Windows (#1163)
2017-08-21 14:24:05 +02:00
ziajka efae614af2 Added checking if NIO exists (Fixes #1160) 2017-08-21 11:03:23 +02:00
ziajka 7523e9c4bc Fixes NAT node not working on Windows (#1163) 2017-08-21 10:17:56 +02:00
Jeremy Grossmann 3dd5dbe0c1 Merge pull request #1161 from GNS3/empty-link-on-compute
Fixes loading project when link_id is not set (#1159)
2017-08-10 22:09:49 +08:00
ziajka e15d1cd350 Fixes loading project when link_id is not set (#1159) 2017-08-10 10:02:18 +02:00
Jeremy Grossmann fc7377e999 Merge pull request #1158 from GNS3/platform-on-appliances-list
Return platform value on appliances list (Fixes #2211)
2017-08-08 22:16:40 +08:00
ziajka 3fd86f5807 Return platform value on appliances list (Fixes #2211) 2017-08-08 13:58:43 +02:00
Jeremy Grossmann fc9d44011b Merge pull request #1157 from GNS3/bugfix-1156
Fixes not known category in Appliances (Fixes #1156)
2017-08-07 16:46:14 +08:00
ziajka 3a1fd892ac Fixes not known category in Appliances (Fixes #1156) 2017-08-07 10:00:46 +02:00
ziajka 3caba334c0 Development on 2.1.0dev4 2017-08-04 11:39:31 +02:00
ziajka e2de872036 Release 2.1.0 beta 1 2017-08-04 11:38:33 +02:00
Julien Duponchelle 44fc87a24c Sync appliances 2017-08-04 10:59:05 +02:00
Julien Duponchelle 2dc83d7894 Interface starting with gns3 are not display by default in the cloud
Fix https://github.com/GNS3/gns3-gui/issues/2199
2017-08-03 16:33:42 +02:00
Julien Duponchelle 211f48d981 Catch error when something that is not the GNS3 server answer to virtualbox requests
Fix #1155
2017-08-03 16:31:28 +02:00
Julien Duponchelle 3bb8cdafb2 Catch KeyError: <aiohttp.connector._TransportPlaceholder
Fix #1152
2017-08-02 10:16:49 +02:00
Julien Duponchelle e74eaa8ea8 Add a warning when you try to load and the server is not started with --local
Ref #1151
2017-08-02 09:52:31 +02:00
Jeremy Grossmann 8a028a6dce Merge pull request #1147 from GNS3/fix_docker_permission
Fix permission on exited container
2017-08-01 00:30:56 +08:00
Julien Duponchelle 1cde787ffa Sync appliances 2017-07-31 15:12:06 +02:00
ziajka 81d77cabf9 Development on 2.1.0dev3 2017-07-31 11:57:45 +02:00
ziajka 37c76189dc Release 2.1.0 alpha 2 2017-07-31 11:53:35 +02:00
Julien Duponchelle 6996b7094f Handle invalid appliances files
Fix #1150
2017-07-28 15:21:35 +02:00
Julien Duponchelle 2eead38cd8 Sync appliances 2017-07-28 14:41:19 +02:00
Julien Duponchelle 283b08c2a1 Fix naming of node with a number in the name
Fix #1149
2017-07-27 16:06:52 +02:00
Julien Duponchelle fc6b6b5e63 Fix race condition in startup of capture
Fix https://github.com/GNS3/gns3-gui/issues/2111
2017-07-27 15:32:46 +02:00
Julien Duponchelle 108a659ca4 Fix bug when exporting debug information with multiple remote servers
Fix #1100
2017-07-27 11:59:20 +02:00
Julien Duponchelle 7683a79bb1 Fix OSError when uploading images
Fix #1101
2017-07-27 11:42:10 +02:00
Julien Duponchelle 103be13ba4 Fix an error when a symbol is not available on filesystem
Fix #1102
2017-07-27 11:39:25 +02:00
Julien Duponchelle cc89099ea5 Fix ServerDisconnectedError for stop_all
Fix #1089
2017-07-27 11:33:27 +02:00
Jeremy Grossmann 2e68c90e25 Merge pull request #1148 from GNS3/fix_include_images
This fix the images always included in portable project
2017-07-26 23:14:15 +08:00
Julien Duponchelle 92c9e48f18 This fix the images always included in portable project
Also add test to avoid regressions on this.

Fix https://github.com/GNS3/gns3-gui/issues/2165
2017-07-26 16:46:29 +02:00
Julien Duponchelle a93f3b0576 Fix permission on exited container
If a container is exited we quickly start it to fix
the permissions.

Fix https://github.com/GNS3/gns3-gui/issues/2181
2017-07-26 14:52:16 +02:00
ziajka 86bd7b6058 Added missing corutine flag, fixes #1145 2017-07-26 11:37:09 +02:00
Julien Duponchelle 6aa6d96ba0 Fix support of docker appliance with a usage
Fix #1144
2017-07-26 10:52:43 +02:00
Julien Duponchelle 5dd5c21374 Merge pull request #1139 from GNS3/prompt-with-new-vpcs
Prompt with new vpcs, fixes: #1083
2017-07-26 10:20:03 +02:00
Jeremy Grossmann 136e483ace Merge pull request #1143 from GNS3/last_dynamips
Duplicate API for ATM, Ethernet Hub and Frame Relay Switch
2017-07-25 08:05:35 -07:00
Julien Duponchelle d69475cd44 Duplicate API for ATM, Ethernet Hub and Frame Relay Switch
Fix https://github.com/GNS3/gns3-gui/issues/1065
2017-07-25 16:51:49 +02:00
ziajka ac508435c3 History support for console and telnet application, Fixes: #1083
Arrows UP/DOWN for telnet, Ref. #1083

Typo, Ref. #1083

Support async commands, Ref. #1083

Small refactor, Ref. #1083

Asyncio telnet server - connections support, Ref. #10831

Prompt-toolkit in dependencies, ref. #1083

Few comments, ref. #1083

Direct imports, ref. #1083

Windows size changed support in telnet server, ref. #1139

Fake termios

Fake termios - different approach

InputStream - copied source from prompt_toolkit
2017-07-25 16:18:07 +02:00
Jeremy Grossmann bb90c0ba52 Merge pull request #1140 from GNS3/duplicate_docker
Support duplicate for Docker
2017-07-25 06:50:00 -07:00
Jeremy Grossmann a805b3c7c3 Merge pull request #1142 from GNS3/duplicate_iou
Duplicate IOU
2017-07-25 06:46:44 -07:00
Jeremy Grossmann f0343124ec Merge pull request #1138 from GNS3/duplicate_qemu
Duplicate support for qemu
2017-07-25 06:44:49 -07:00
Julien Duponchelle 27582bb68c Fix IOU image upload
Fix #1141
2017-07-25 14:59:55 +02:00
Julien Duponchelle 6d4529f445 Duplicate IOU
Ref https://github.com/GNS3/gns3-gui/issues/1065
2017-07-25 11:39:46 +02:00
Julien Duponchelle 16209a2b60 Support duplicate for Docker
Ref https://github.com/GNS3/gns3-gui/issues/1065
2017-07-25 11:32:09 +02:00
Julien Duponchelle 01be1b32c4 Duplicate support for qemu
Ref https://github.com/GNS3/gns3-gui/issues/1065
2017-07-25 10:02:40 +02:00
Julien Duponchelle 6514252a95 2.1.0dev2 2017-07-24 16:17:02 +02:00
Julien Duponchelle faed85e48b 2.1.0a1 2017-07-24 16:15:24 +02:00
Jeremy Grossmann 34c27bc18a Merge pull request #1137 from GNS3/duplicate
API for duplication a Node
2017-07-24 01:52:34 -07:00
grossmj 47e8392ceb Use uuid4() for temporary node name while duplicating a node. 2017-07-24 15:52:14 +07:00
Julien Duponchelle a0a7b0af10 Sync appliances 2017-07-24 10:39:06 +02:00
Julien Duponchelle 0854c04687 API for duplication a Node
Support:
* VPCS
* Dynamips router
* Ethernet switch

Ref #1065
2017-07-24 10:08:22 +02:00
Julien Duponchelle 0449a5b4ee Cleanup 2017-07-20 17:04:50 +02:00
Julien Duponchelle b37a282475 Raise a NotImplementedError for IPV6 support in old UDP cloud
Fix #1093
2017-07-20 16:23:32 +02:00
Julien Duponchelle 253e113168 Raise an error if the licence check setting is not a boolean
Fix #1099
2017-07-20 16:19:20 +02:00
Julien Duponchelle 87838cb574 Handle when pid file is corrupt
Fix #1090
2017-07-20 16:17:07 +02:00
Bernhard Ehlers ec4e69b0d8 Ensure, that the docker mount directory exists
Fix #1097

Signed-off-by: Julien Duponchelle <julien@gns3.net>
2017-07-20 16:12:20 +02:00
Julien Duponchelle c96694105c Handle broken appliance files
Fix #1135
2017-07-20 16:10:56 +02:00
Julien Duponchelle 46e5e8ac68 Log error if you invalid character in auth login
Fix #1088
2017-07-20 15:42:07 +02:00
Julien Duponchelle b33ba5f8ea Don't allow user to overwrite GNS3 docker environment variables
Fix #1098
2017-07-20 15:37:56 +02:00
Julien Duponchelle 8354beaa86 Return computer symbol if an appliance don't have symbol
Fix #1087
2017-07-20 15:13:58 +02:00
Jeremy Grossmann 27f733736e Merge pull request #1133 from GNS3/appliances_dir
Add an appliance templates directory
2017-07-19 22:10:13 -07:00
Jeremy Grossmann 90cdf14c2a Merge pull request #1134 from GNS3/suspend_link
Suspend link
2017-07-20 11:14:15 +07:00
grossmj ca3f6fb4b8 Update some sentences related to suspending a link. 2017-07-20 11:11:44 +07:00
Julien Duponchelle 5fd842e54d Suspend link 2017-07-19 17:30:25 +02:00
Julien Duponchelle bce9c61e41 Cleanup unused code in test_link 2017-07-19 16:02:14 +02:00
Julien Duponchelle f5e023222e Fix symbols permissions
Fix #1132
2017-07-19 13:57:19 +02:00
grossmj a7d2391608 Use the libpcap on Linux when blocking host originating packets on vmnet interfaces. Ref #1131. 2017-07-19 16:56:24 +07:00
Julien Duponchelle 7d123f334f Add an appliance templates directory
Fix https://github.com/GNS3/gns3-gui/issues/2133
2017-07-19 11:44:05 +02:00
Jeremy Grossmann c2fbe4f313 Merge pull request #1130 from GNS3/vmware_filters
Filters support for VMware
2017-07-19 14:59:25 +07:00
Jeremy Grossmann ac10ba370a Merge pull request #1129 from GNS3/filters_virtualbox
Packet filters support for VirtualBox
2017-07-19 13:34:48 +07:00
Julien Duponchelle fa211a82eb Filters support for VMware
Fix #1108
2017-07-18 18:04:03 +02:00
Julien Duponchelle d9b13fb0c5 Add test for the VMware compute API 2017-07-18 16:07:10 +02:00
Julien Duponchelle 54faaf5f6f Packet filters support for VirtualBox
Fix #1107
2017-07-18 14:59:47 +02:00
Julien Duponchelle 873418dbbe Fix a merge error 2017-07-18 09:24:36 +02:00
Jeremy Grossmann 7b8e4c1a60 Merge pull request #1127 from GNS3/filters_iou
Filters support for IOU
2017-07-17 23:15:37 +07:00
Julien Duponchelle 08d4c1a000 Merge branch '2.1' into filters_iou 2017-07-17 17:51:17 +02:00
Jeremy Grossmann 6d577406d7 Merge pull request #1128 from GNS3/filters_cloud
Filter implementation for cloud & Nat
2017-07-17 22:49:26 +07:00
Julien Duponchelle 536c708c16 Filter implementation for cloud & Nat
Fix #1111
2017-07-17 17:27:07 +02:00
Julien Duponchelle 03af9bd621 Sync appliances 2017-07-17 11:43:49 +02:00
Julien Duponchelle 5b839c22e9 Filters support for IOU
Fix #1113
2017-07-17 11:21:54 +02:00
Jeremy Grossmann 3487b657a7 Merge pull request #1125 from GNS3/docker_filters
Filter support for Docker
2017-07-13 13:22:22 +07:00
Julien Duponchelle 23c3d32e06 Filter support for Docker
Fix #1110
2017-07-12 19:44:15 +02:00
Julien Duponchelle f557ec4bda Fix regression in docker introduce by 2.0 merge 2017-07-12 17:59:29 +02:00
Jeremy Grossmann cf3b668cf1 Merge pull request #1124 from GNS3/filters_qemu
Qemu support for packet filtering
2017-07-12 21:57:15 +07:00
Julien Duponchelle e8a35ac41f Interface ending with -nic are special ethernet interface
It's libvirt internal stuff

Fix #1114
2017-07-12 16:13:46 +02:00
Julien Duponchelle 03f8c747cc Qemu support for packet filtering
Fix #1112
2017-07-12 14:50:33 +02:00
Julien Duponchelle 53c4cba1f6 Merge pull request #1117 from GNS3/remove_use_ubrige
Remove use_ubridge flag
2017-07-12 12:46:24 +02:00
Julien Duponchelle 9e2759a3f2 Merge branch '2.1' into remove_use_ubrige 2017-07-12 12:46:10 +02:00
Jeremy Grossmann 9d8a8c95f6 Merge pull request #1123 from GNS3/filters_dynamips
Support packet filtering for Dynamips
2017-07-12 17:23:34 +07:00
Julien Duponchelle 86f1201276 Support packet filtering for dynamips
Fix #1109
2017-07-12 12:08:02 +02:00
Julien Duponchelle 4a55a367e3 Missing file in previous commit 2017-07-12 11:42:37 +02:00
Julien Duponchelle cf17176bfc Fix recreate a link with dynamips
Fix #1122
2017-07-12 11:34:44 +02:00
Jeremy Grossmann 2e592d3199 Merge pull request #1121 from GNS3/bfp_filter
BPF filter support
2017-07-12 16:22:01 +07:00
grossmj b37f9eb4f0 Update schema for BPF filter. 2017-07-12 16:21:11 +07:00
Julien Duponchelle 7c6ffb3f49 Update error message when invalid aiohttp 2017-07-12 10:57:03 +02:00
Julien Duponchelle 4a05a4f7c5 Fix virtualbox links 2017-07-12 10:32:02 +02:00
Jeremy Grossmann 114b137b02 Merge pull request #1120 from GNS3/aiohttp_2.2
Upgrade to last aiohttp version
2017-07-12 15:20:02 +07:00
Julien Duponchelle 66d5d34877 Fix qemu hotlink 2017-07-12 10:07:21 +02:00
Julien Duponchelle 04303ca00c Fix VPCS ubridge usage 2017-07-12 09:55:23 +02:00
Julien Duponchelle fd0770158c Fix tests with Yarl 0.11 2017-07-12 09:34:40 +02:00
grossmj 5747aba83c Update error message to require aiohttp 2.2 2017-07-12 13:34:18 +07:00
Julien Duponchelle c8155aa14f Upgrade Yarl 2017-07-12 08:27:49 +02:00
Julien Duponchelle 5f874cca2c Merge branch 'master' into 2.1 2017-07-11 19:02:35 +02:00
Julien Duponchelle fc87871d46 Fix a bug in docker binary message handling 2017-07-11 19:00:29 +02:00
Julien Duponchelle 699ecb7c89 Merge branch 'master' into 2.1 2017-07-11 18:59:50 +02:00
Julien Duponchelle 8a8de1e2df BPF filter support
Fix https://github.com/GNS3/gns3-gui/issues/765
2017-07-11 17:30:29 +02:00
Jeremy Grossmann d525f721a6 Merge pull request #1119 from GNS3/fix_random_snap_failure
Test if a snapshot name already exists
2017-07-11 21:28:15 +07:00
Julien Duponchelle 357de50a1b Upgrade to last aiohttp version 2017-07-11 15:59:09 +02:00
Julien Duponchelle 450c089b6d Test if a snapshot name already exists
This fix random test failure when testing snapshots. It
seem under high load sometimes the previous snapshot folder
was not visible on disk. Perhaps a test isolation issue but
I don't see how.

But in any case it's better to test if the name is not already
use.

Fix #1118
2017-07-11 15:28:01 +02:00
grossmj 8eb060304a Correct typos in schemas. 2017-07-11 20:03:24 +07:00
Julien Duponchelle d112da400e Remove use_ubridge flag
Ref #1115
2017-07-11 13:58:59 +02:00
Jeremy Grossmann fcd7dfbde6 Merge pull request #1116 from GNS3/dynamips_ubridge
Use ubridge for dynamips routers
2017-07-11 12:37:20 +07:00
grossmj 5112f6fe56 Small changes for Dynamips NIO UDP. 2017-07-11 12:36:43 +07:00
Julien Duponchelle 557924e91a Use ubridge for dynamips routers
Ref #1109
2017-07-10 20:38:28 +02:00
Julien Duponchelle c6f28afb7c Fix a broken test 2017-07-10 20:35:02 +02:00
Julien Duponchelle 7f4eeb56fa Remove unusued code 2017-07-10 13:50:57 +02:00
Jeremy Grossmann 339ed8ab57 Merge pull request #1106 from GNS3/idlepc_apicall
Implement an api call for computing the IDLE PC
2017-07-10 11:33:16 +07:00
Jeremy Grossmann 5bdc239064 Merge pull request #1104 from GNS3/filters_api
Support packet filtering for VPCS
2017-07-08 18:50:00 +07:00
Julien Duponchelle 3eadbb9adb Implement an api call for computing the IDLE PC
Fix https://github.com/GNS3/gns3-gui/pull/2153
2017-07-07 17:50:40 +02:00
Julien Duponchelle d17b4eb053 Merge pull request #1105 from GNS3/bugfix-2136
Bugfix 2136 (gui) issue with UTF-8 characters and Docker
2017-07-07 09:04:47 +02:00
grossmj 8f260e0a83 Update field names for filters. 2017-07-06 16:53:05 +07:00
ziajka e0f0adf3c8 Added preferred Docker API version. Fixes #2136 2017-07-06 11:24:55 +02:00
ziajka 8e8b8bc5a5 WebSocket binary mode support for docker 2017-07-06 10:13:00 +02:00
Julien Duponchelle 4097bab565 Apply feedback from @grossmj 2017-07-05 16:36:39 +02:00
ziajka c6f9ec3758 More information on Docker WebSocket error 2017-07-05 10:36:58 +02:00
Julien Duponchelle dc7a9ffc51 Merge pull request #1103 from GNS3/graphics-settings
Graphics settings
2017-07-04 15:15:36 +02:00
Julien Duponchelle 08423eff96 Support packet filtering for VPCS
https://github.com/GNS3/gns3-gui/issues/765
2017-07-04 15:12:26 +02:00
ziajka dadbb0ab09 More options for drawing area 2017-07-03 10:01:22 +02:00
ziajka cc34f45677 Additional drawing options for Project 2017-06-30 14:31:25 +02:00
Jeremy Grossmann 3132dbd9eb Merge pull request #1096 from GNS3/bugfix-725
Enable binding server to an IPv6 host
2017-06-30 17:28:40 +08:00
ziajka b33a1f5214 Enable binding server to an IPv6 host 2017-06-30 10:21:15 +02:00
Julien Duponchelle 8f72356bab Rebuild the documentation 2017-06-29 17:14:46 +02:00
grossmj 63e9558b10 New VPCS base config. Fixes #786. 2017-06-28 17:40:54 +08:00
grossmj 5b19ef4862 Remove forgotten debug message. 2017-06-28 16:11:46 +08:00
Jeremy Grossmann 799a2d376e Merge pull request #1092 from GNS3/fix_vpcs_name
Fix the initial startup for VPCS is not used
2017-06-28 16:09:54 +08:00
Julien Duponchelle 0a6dc55645 Fix appliance properties lost when you create two node from template 2017-06-28 09:37:19 +02:00
Julien Duponchelle 617868402f Fix the initial startup for VPCS is not used
The default VPCS template didn't provide the base
startup config setting. This prevent the replacement
of the hostname in the configuration file.

Fix https://github.com/GNS3/gns3-gui/issues/2123
2017-06-27 18:44:31 +02:00
ziajka c1a4bba101 Merge pull request #1091 from GNS3/bugfix-557
Bugfix 557
2017-06-27 11:17:12 +02:00
ziajka 3c18150cdb Adjustment of IOU_OBJECT_SCHEMA 2017-06-27 11:14:34 +02:00
ziajka 931018b877 Fix passing tests 2017-06-27 11:11:07 +02:00
ziajka 6aa2afcf54 Fix #557 - mac addess collision when running IOU on multiple GNS3 servers 2017-06-27 10:09:21 +02:00
Julien Duponchelle a7170da93f Update bundled appliances 2017-06-26 11:00:55 +02:00
ziajka 1d09f423e5 Disable checking if IOU is on the same server 2017-06-23 12:20:49 +02:00
grossmj 1e37101641 Allow IOU 64-bit images. 2017-06-23 12:00:33 +02:00
Julien Duponchelle bcdac6c969 Fix test for ethernet switch show arp 2017-06-23 10:54:05 +02:00
Julien Duponchelle 3ed055dbb9 Merge pull request #1086 from GNS3/spice-qxl
spice - added qxl vga support
2017-06-23 09:57:32 +02:00
ziajka 7447b3190d spice - added qxl vga support 2017-06-22 12:56:28 +02:00
Jeremy Grossmann 1b6cefd82b Merge pull request #1055 from GNS3/embed_shell
Fake console for simple Ethernet switch
2017-06-22 00:24:14 +02:00
grossmj ad850f3857 Add port number in arp command output for Ethernet switch. 2017-06-22 00:23:33 +02:00
Julien Duponchelle 0ceec2629a Merge pull request #1081 from GNS3/spice-feature
Spice support
2017-06-21 15:16:30 +02:00
ziajka bc5ec98cd5 Spice support
* QEMU VNC options tests
* QEMU - SPICE support at build options and schemas
* SPICE console_type for nodes
2017-06-21 15:14:41 +02:00
Julien Duponchelle a8e8eac0b4 Merge remote-tracking branch 'origin/master' into 2.1 2017-06-21 15:13:04 +02:00
Julien Duponchelle 5a1d313fca Merge pull request #1080 from GNS3/spice-feature
Spice feature
2017-06-21 10:37:04 +02:00
Julien Duponchelle e7853a1be9 Merge pull request #1079 from GNS3/revert-1076-spice-feature
Revert "Spice feature"
2017-06-21 10:32:41 +02:00
Julien Duponchelle 36dc264a6c Revert "Spice feature" 2017-06-21 10:32:28 +02:00
Julien Duponchelle efd5d82c88 Merge pull request #1076 from GNS3/spice-feature
Spice feature
2017-06-21 10:28:43 +02:00
ziajka ea9f0e52c8 Fixes #2108 (gns3-gui): getting project file with leading slashes issue (#1078) 2017-06-21 10:26:36 +02:00
Jeremy Grossmann 6730cfe823 Merge pull request #1077 from GNS3/fix-win-tests
Fix tests on windows
2017-06-20 14:36:01 +02:00
ziajka 2e6366a766 Fix tests on windows 2017-06-20 13:46:03 +02:00
Julien Duponchelle e5bc7c7a66 Merge branch '2.1' into embed_shell 2017-06-19 11:10:24 +02:00
Julien Duponchelle e1c20e6a22 Fix merge 2.0 error 2017-06-19 10:50:45 +02:00
Julien Duponchelle 734ca7d2f9 Fix linked base & linked clone settings in appliance 2017-06-19 10:49:23 +02:00
Julien Duponchelle bb8097a052 Merge remote-tracking branch 'origin/master' into 2.1 2017-06-19 10:44:52 +02:00
Julien Duponchelle 8973cc6fee Merge branch '2.1' into embed_shell 2017-06-19 09:11:08 +02:00
Julien Duponchelle c8c991af78 Fix the error about appliance ID not found (#1075)
* Fix the error about appliance ID not found

* Copy appliance data before editing it
2017-06-19 08:47:50 +02:00
ziajka 61fda93611 SPICE console_type for nodes 2017-06-16 14:41:05 +02:00
ziajka 88c2353e2e QEMU - SPICE support at build options and schemas 2017-06-16 10:17:26 +02:00
ziajka c91a001729 QEMU VNC options tests 2017-06-16 10:03:33 +02:00
Julien Duponchelle b8a4785633 2.0.4dev1 2017-06-13 10:37:41 +02:00
Julien Duponchelle 41af46cdc5 2.0.3 release 2017-06-13 10:35:50 +02:00
ziajka 64a852f38f Fixes #1068 - handle zipfile encoding issues at project duplication 2017-06-09 15:32:25 +02:00
ziajka 5c0d955156 Fix: #1066 - Catching parsing errors at linked vbox file 2017-06-09 10:41:34 +02:00
Julien Duponchelle c1c3a9ed80 Drop debug 2017-06-09 09:31:18 +02:00
ziajka 0dd35e1cbe Ignoring virtualenv directory at gitignore 2017-06-09 09:14:25 +02:00
ziajka 7235a312ab Escaping VPCS name in regex #1067 2017-06-09 09:14:25 +02:00
Julien Duponchelle ae328e5c50 Merge branch '2.1' into embed_shell 2017-06-07 18:21:41 +02:00
Julien Duponchelle 40cc5d76b3 Fix racecondition when listing interface
Fix #1060
2017-06-07 15:57:05 +02:00
ziajka b9e2b7945a Removed gc collection at testing 2017-06-07 14:39:47 +02:00
ziajka eb6068c3d3 Fix Qemu disk creation with unicode characters not supported by local filesystem #1058 (#1063) 2017-06-07 12:35:41 +02:00
Julien Duponchelle c538ec5937 Fix tests on case sensitive file system 2017-06-07 11:20:55 +02:00
ziajka e0b519eced Fix when config file doesn't have computes section (#1062) 2017-06-07 10:50:40 +02:00
Julien Duponchelle cdcdba7411 Fix installation issue with Python 3.4 and aiohttp cors 2017-06-06 17:41:36 +02:00
Julien Duponchelle 2fe589b1a8 Fix invalid test for 1.3 topology conversion to GNS3 2.1 2017-06-06 16:07:27 +02:00
Julien Duponchelle ca3f8d0b43 Provide easy to test a shell by using stdin as an input 2017-06-02 14:50:34 +02:00
Julien Duponchelle 88cd804274 Update readme 2017-06-02 11:40:39 +02:00
Julien Duponchelle 6a0345897d Connector is no longer supported in ws_connect by aiohttp 2.0 2017-06-02 10:42:40 +02:00
Julien Duponchelle 7dfb634376 Fix for websocket usage with aiohttp 2.0
Fix #1050
2017-06-01 18:39:55 +02:00
Julien Duponchelle 823288dd0b Fix a crash in some cases 2017-06-01 18:35:03 +02:00
Julien Duponchelle ed656b7ab2 Merge branch '2.0' into 2.1 2017-05-31 17:07:13 +02:00
Julien Duponchelle e74e66b203 Typo in error message 2017-05-31 17:04:14 +02:00
Julien Duponchelle 93adef91d8 Merge branch '2.0' into 2.1 2017-05-31 16:58:31 +02:00
Julien Duponchelle 6fa27c6885 Check aiohttp version 2017-05-31 16:56:46 +02:00
pyup.io bot 07049562a4 Update pytest from 3.1.0 to 3.1.1 (#1056) 2017-05-31 15:34:36 +02:00
Julien Duponchelle 5616ab0e9a Fake console for simple Ethernet switch
Fix #454
2017-05-31 15:13:29 +02:00
Julien Duponchelle 4f6cca0019 Fix errors when enabling chunking 2017-05-31 11:17:28 +02:00
Julien Duponchelle 7044c8c9ff Fix the GUI disconnect from the server
Fix https://github.com/GNS3/gns3-gui/issues/2084
2017-05-31 11:03:44 +02:00
Julien Duponchelle 7913646ce3 2.0.3dev1 2017-05-30 08:58:05 +02:00
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 89394ba7e0 Drop SSL support 2017-05-26 15:54:08 +02:00
Julien Duponchelle b8ee8d69c8 Fix unexpected keyword argument 'conn_timeout'
Fix #1047
2017-05-26 15:42:46 +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
Jeremy Grossmann 82f1ab2be2 Merge pull request #1036 from GNS3/aiohttp_2.0
Aiohttp 2.0
2017-05-22 22:41:01 +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 bdd980d6a2 Ignore console_hsot when loading topologie 2017-05-22 11:42:50 +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
Julien Duponchelle 624a2c02c5 FIX iou creation
Fix https://github.com/GNS3/gns3-gui/issues/2065
2017-05-18 17:13:40 +02:00
Julien Duponchelle 189ad994c8 Symbols are returned with a content length 2017-05-18 16:37:44 +02:00
Julien Duponchelle a4245fcf44 Aiohttp 2.0
Ref #1000
2017-05-17 18:42:17 +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
grossmj f338158654 Use 127.0.0.1 for local UDP tunnels to uBridge for Qemu. Ref #664. 2017-05-16 20:51:14 +02:00
Julien Duponchelle e9fef928b0 Fix dynamips node creation error 2017-05-16 10:49:45 +02:00
Julien Duponchelle 5c5caf8418 Add comment about why we change linked_base to linked_clone 2017-05-16 10:38:58 +02:00
Julien Duponchelle aff5554528 Rename old properties from gui linked_base to linked_clone
Fix #1034
2017-05-16 10:33:37 +02:00
Julien Duponchelle 2a159c06c5 Fix forwarding properties
Fix #2005, #2002
2017-05-16 10:22:55 +02:00
Julien Duponchelle c231e2bbf1 Merge branch '2.0' into 2.1 2017-05-16 09:30:07 +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 bef1b2e8f1 Merge branch '2.0' into 2.1 2017-05-16 08:38:13 +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 cd17ef6b12 Merge branch '2.0' into 2.1 2017-05-15 15:46:50 +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
Jeremy Grossmann 633cdef0bc Merge pull request #987 from GNS3/nat_vmware
NAT node can use the VMware NAT
2017-05-11 14:03:34 +08: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 56d91b648c 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:06:43 +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 a6d085bf61 Fix server startup on windows 2017-04-28 11:06:39 +02:00
Julien Duponchelle b0f45035a9 NAT node can use the VMware NAT
On Windows and Mac OS this allow the NAT node to use the
VMware nat (it's always vmnet8). On Linux we still use the
libvirt NAT
2017-04-27 15:26:58 +02:00
Julien Duponchelle 273a711459 Merge branch '2.0' into 2.1 2017-04-26 17:22:14 +02:00
Julien Duponchelle c3aecf935f Add new appliances 2017-04-26 17:02:33 +02:00
Julien Duponchelle 629443a5e5 Sync appliances 2017-04-26 16:27:59 +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 9dc6f0f486 Embed the appliances in the server. (#927)
This add a /appliances call
2017-04-12 14:35:49 +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 4f1b738ef5 Merge branch '2.0' into 2.1 2017-03-30 10:16:16 +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 99ee40df3d Do not return broken appliances like ASA 8 2017-03-09 15:44:48 +01:00
Julien Duponchelle 21849656d1 Merge branch '2.0' into 2.1 2017-03-08 18:17:15 +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 5036079deb Merge branch '2.0' into 2.1 2017-03-07 16:48:31 +01:00
Julien Duponchelle 7b642552dd Fix GNS3VM settings are lost at startup
Fix #926
2017-03-07 15:36:35 +01:00
Julien Duponchelle 6017ebbd97 Merge branch '2.0' into 2.1 2017-03-07 11:16:05 +01:00
Julien Duponchelle d89ea83746 When we receive settings from the client save them on disk 2017-03-07 11:12:51 +01:00
Jeremy Grossmann e3974377ed Merge pull request #888 from GNS3/embed_appliances
Embed the appliances in the server.
2017-03-06 17:43:15 -07: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 5a399b90fe Merge branch '2.1' into embed_appliances 2017-02-28 14:55:33 +01:00
Julien Duponchelle 583327ad33 Merge branch '2.0' into 2.1 2017-02-28 14:32:40 +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 1ab9ca2333 Merge branch '2.0' into 2.1 2017-02-28 14:25:38 +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
Jeremy Grossmann 5672b4b748 Merge pull request #890 from GNS3/base_config_server_side
Manage base configuration on server
2017-02-19 22:59:06 -08:00
Jeremy Grossmann aee7208f7b Merge pull request #895 from GNS3/qemu_more_adapters
Allow up to 275 adapters for qemu
2017-02-17 01:40:41 -08:00
Jeremy Grossmann 635e163954 Update qemu_vm.py 2017-02-17 17:37:06 +08:00
Julien Duponchelle 99f817392d Raise an error if you use Qemu < 2.4 and try to use large number of adapters 2017-02-17 09:55:50 +01:00
Julien Duponchelle 51bf979284 Merge branch '2.0' into 2.1 2017-02-16 16:24:57 +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 2a840da462 Create an ApplianceTemplate class 2017-02-08 15:40:56 +01:00
Julien Duponchelle 8d86d959de "/appliances" => "/appliances/templates" 2017-02-08 14:51:00 +01:00
Julien Duponchelle b0567772f7 Allow up to 275 adapters for qemu
See #889 for more details
2017-02-07 17:04:29 +01:00
Julien Duponchelle 5e02a9d450 Merge branch '2.0' into 2.1 2017-02-07 15:03:24 +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 e892e5dfab Manage base configuration on server
Fix #786
2017-02-03 13:19:14 +01:00
Julien Duponchelle afcd27f348 Merge branch '2.0' into 2.1 2017-02-02 15:35:04 +01:00
Julien Duponchelle 63b888a57e Drop unused code 2017-02-02 15:34:39 +01:00
Julien Duponchelle 842e2c7fbf Merge branch '2.0' into 2.1 2017-02-02 11:54:03 +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 dc6756d5ae Embed the appliances in the server.
This add a /appliances call
2017-02-01 11:30:14 +01:00
Julien Duponchelle 5204cec9e6 Merge branch '2.0' into 2.1 2017-02-01 10:08:38 +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 d901efae51 2.1.0dev1 2017-01-24 10:37:23 +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
719 changed files with 34125 additions and 3991 deletions

No files matched your search

+4
View File
@@ -53,3 +53,7 @@ docs/_build
vpcs.hist
startup.vpcs
.gns3_shell_history
# Virtualenv
env
.ropeproject
+1 -1
View File
@@ -1,2 +1,2 @@
branch:
2.0
2.2
+28 -8
View File
@@ -1,10 +1,30 @@
language: python
python:
- '3.5'
sudo: false
cache: pip
sudo: required
services:
- docker
install:
- python setup.py install
- pip install -rdev-requirements.txt
- sed -e 's/${PYTHON_VERSION}/'${PYTHON_VERSION}/g DockerfileTests.tpl > /tmp/DockerfileTests
- docker-compose build
script:
- py.test -v -s tests
- docker-compose run tests
before_deploy:
- sudo pip install twine
- sudo pip install urllib3[secure]
deploy:
provider: pypi
user: noplay
password:
secure: Fa66zp8ML4oSGwzkUMZi07MIYfO3tbS5gHFUaLN2mk2MBknhCjDYexmFJqT//sC/+xqv6sSJE6rz1EPoy/THbxj8R96ZgIyiUZIbDCbzgdy92d7J/eusrDoNdpApBLke8NqQqtFETb3addMZZNofQ3IDANFD2m2jY+KECU8z8NI=
on:
tags: true
repo: GNS3/gns3-server
env:
matrix:
- PYTHON_VERSION=3.4
- PYTHON_VERSION=3.5
- PYTHON_VERSION=3.6
+346 -1
View File
@@ -1,5 +1,350 @@
# Change Log
## 2.1.2 08/01/2018
* Do not show log message if configuration file doesn't exist. Fixes #1206.
* Update API documentation
* Update API documentation. Fixes #1253.
* GNS3-API: implement GET for specific drawing and link Fixes #1249
## 2.1.1 22/12/2017
* Protect variable replacement for Qemu options. Escape double quotes.
* Add proper exception when cannot find tunnel on QEMU, Fixes: #1241
* Increase timeout for creation of image, Ref. #2239
* Protect variable replacement for Qemu options.
* Do not overwrites persistent Docker volumes. Fixes #2358.
* Allow users to see an error when the server cannot stream a PCAP file.
* Fix issue with Qemu + SPICE when IPv4 is not enabled.
* Warn users if the GNS3 VM and local server are not in the same subnet. Fixes #1231.
* Add missing appliance files.
* Update appliance files.
* Fix auto idle-pc from preferences.
* Keep consistance of aiohttp.web.HTTPForbidden() execution
* Make sure connected links are removed when a node is deleted.
* Validate idle-pc values for auto idle-pc feature.
* Fix error when updating packet filter on stopped Docker link. Fixes #1229.
* Remotely close telnet console. Ref #2330
* EthernetSwitch closing connections, Ref: gui/#2330
* Export files from remote server, Fixes: gui/#2271
* New option: require KVM. If false, Qemu VMs will not be prevented to run without KVM.
* Implement variable replacement for Qemu VM options.
* Avoid duplicate "-nographic" option.
* Show qemu-img stdout in case of an error.
* Use the correct NVRAM amount when pushing private config to IOU.
* Check and fix corrupt Qemu disk images. Fixes #2301.
* Update warning messages when connecting to non custom adapter for VMware VMs.
* Fix "Can't use VirtualBox VM when an interface is managed by VirtualBox". Fixes #2335.
* Add low disk space warning when creating a new project.
## 2.1.0 09/11/2017
* Fix typo in vcpus on VirtualBoxVM, fixes: #1213
## 2.1.0rc4 07/11/2017
* Fix GNS3VM vCPUs control on VMware, fixes: #2324
* Fix typo in sample gns3_server.conf. Fixes #1210.
* Warning for getting endpoint of compute
* Enable debug mode on async loop only in dev/debug mode
* Add warning when using IOU with a hostname length above 15 characters.
* Improve VMware VMs discovery process. Ref #1201.
* Improve error message when IOU VM process is unexpectedly stopped.
* Improved error message when the number of network adapters is above the maximum for VirtualBox VMs. Better support for potential future chipsets in addition of PIIX3 and ICH9.
* Added localhost and gns3.github.io CORS
## 2.1.0rc3 19/10/2017
* Set vhv.enable before run for VMWare 14. Fixes #1184
* Tweak how VMware VMs are found with fallback to search in the default location for VMs.
* QEMU: fix logging of base mac address when creating a new node
* Sync appliance files.
* Fix creation of an VMware VM failed with invalid JSON. Fixes #2282.
* Endpoint for obtaining direct action on compute
* Fix IOU detection of layer 1 keepalive support. Fixes #1183.
* Fixes path normalization during file upload on nodes (Fixes: #2276)
## 2.1.0rc2 04/10/2017
* Don't create directory structure during json dump. Fixes #2270
* Add more information when qemu-img fails.
* Fix issue with multidict when upgrading GNS3 VM to use dev channel.
* Restore file permissions fails for volumes with soft links. Fixes #1180.
* Use RAW sockets by default on Linux.
* Add missing https console keyword in JSON schema. Fixes #1179.
* Allow projects to be opened even when a node port is already used.
## 2.1.0rc1 13/09/2017
* Fix NAT node not working on Windows. Fixes #1163.
* Do not prevent a project to be deleted. Fixes #2237.
## 2.1.0b2 05/09/2017
* Round-robin nodes across all available compute resources. Fixes #1165.
* Try to improve error reporting when streaming a PCAP file. Ref #2235.
* Use Npcap DLL on Windows when checking for uBridge version.
* Fixes running switch console inside PyCharm terminal (Ref. #1172)
* Load meta of the project on loading time (Fixes #2225)
* Added checking if NIO exists (Fixes #1160)
* Fixes NAT node not working on Windows (#1163)
* Fixes loading project when link_id is not set (#1159)
* Return platform value on appliances list (Fixes #2211)
* Fixes not known category in Appliances (Fixes #1156)
## 2.1.0b1 04/08/2017
* Sync appliances
* Interface starting with gns3 are not display by default in the cloud
* Catch error when something that is not the GNS3 server answer to virtualbox requests
* Catch KeyError: <aiohttp.connector._TransportPlaceholder
* Add a warning when you try to load and the server is not started with --local
* Sync appliances
* Fix permission on exited container
## 2.1.0a2 31/07/2017
* Handle invalid appliances files
* Sync appliances
* Fix naming of node with a number in the name
* Fix race condition in startup of capture
* Fix bug when exporting debug information with multiple remote servers
* Fix OSError when uploading images
* Fix an error when a symbol is not available on filesystem
* Fix ServerDisconnectedError for stop_all
* This fix the images always included in portable project
* Fix support of docker appliance with a usage
* Duplicate API for ATM, Ethernet Hub and Frame Relay Switch
* History support for console and telnet application
* Fix IOU image upload
* Duplicate IOU
* Support duplicate for Docker
* Duplicate support for qemu
## 2.1.0a1 24/07/2017
* Packet filtering
* Suspend a link
* Duplicate a node
* Move config to central server
* Appliance templates on server
## 2.0.3 13/06/2017
* Fixes #1068 - handle zipfile encoding issues at project duplication
* Fix: #1066 - Catching parsing errors at linked vbox file
* Ignoring virtualenv directory at gitignore
* Escaping VPCS name in regex #1067
* Fix racecondition when listing interface
* Fix Qemu disk creation with unicode characters not supported by local filesystem #1058 (#1063)
* Fix when config file doesn't have computes section (#1062)
* Check aiohttp version
## 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
@@ -45,7 +390,7 @@
* Replace JSONDecodeError by ValueError (Python 3.4 compatibility)
* Catch an error when we can't create the IOU directory
## 1.5.3 12/01/2016
## 1.5.3 12/01/2017
* Fix sporadically systemd is unable to start gns3-server
+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
@@ -0,0 +1,15 @@
FROM python:${PYTHON_VERSION}
RUN pip install -U setuptools pip
ADD requirements.txt /server/requirements.txt
ADD dev-requirements.txt /server/dev-requirements.txt
RUN pip install -r/server/dev-requirements.txt
RUN useradd -ms /bin/bash gns3
USER gns3
ADD . /server
WORKDIR /server
+16 -1
View File
@@ -22,7 +22,7 @@ master
master is the next stable release, you can test it in your day to day activities.
Bug fixes or small improvements pull requests go here.
1.x (1.4 for example)
2.x (2.1 for example)
********
Next major release
@@ -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"
+7 -1
View File
@@ -11,9 +11,13 @@ certkey=/home/gns3/.config/GNS3/ssl/server.key
; Path where devices images are stored
images_path = /home/gns3/GNS3/images
; Path where user projects are stored
projects_path = /home/gns3/GNS3/projects
; Path where user appliances are stored
appliances_path = /home/gns3/GNS3/appliances
; Option to automatically send crash reports to the GNS3 team
report_errors = True
@@ -24,7 +28,7 @@ console_end_port_range = 10000
; First port of the range allocated for inter-device communication. Two ports are allocated per link.
udp_start_port_range = 10000
; Last port of the range allocated for inter-device communication. Two ports are allocated per link
udp_start_end_range = 20000
udp_end_port_range = 20000
; uBridge executable location, default: search in PATH
;ubridge_path = ubridge
@@ -59,3 +63,5 @@ license_check = True
[Qemu]
; !! Remember to add the gns3 user to the KVM group, otherwise you will not have read / write permssions to /dev/kvm !!
enable_kvm = True
; Require KVM to be installed in order to start VMs
require_kvm = True
+2 -2
View File
@@ -1,7 +1,7 @@
-rrequirements.txt
sphinx==1.5.1
pytest==3.0.5
sphinx==1.6.2
pytest==3.1.1
pep8==1.7.0
pytest-catchlog==1.2.2
pytest-timeout==1.2.0
+4
View File
@@ -0,0 +1,4 @@
tests:
build: .
dockerfile: /tmp/DockerfileTests
command: py.test -v -s tests
@@ -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, 03 Nov 2016 17:19:55 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:55 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/f071242d-f471-48b3-b963-c668718b7f2a'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b5a23628-0043-4eeb-86b7-d55b6909b9b7'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f071242d-f471-48b3-b963-c668718b7f2a HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b5a23628-0043-4eeb-86b7-d55b6909b9b7 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:52 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:44 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/f9aa4e6e-1082-472d-ab1b-803eaa542adb/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a979dd8e-8c34-4a5a-98de-f50cf4fcce8c/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f9aa4e6e-1082-472d-ab1b-803eaa542adb/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a979dd8e-8c34-4a5a-98de-f50cf4fcce8c/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:52 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:43 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/991594a0-9c41-451d-ad22-d56ed44e8ea8/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8c0aeb7d-1f06-425c-9e03-f16182fae5b8/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/991594a0-9c41-451d-ad22-d56ed44e8ea8/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8c0aeb7d-1f06-425c-9e03-f16182fae5b8/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:52 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:46 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/ff87fec7-46c6-4d68-960a-01aec1f810f7'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/33edb045-964b-4089-857b-cfc31fff99b7'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/ff87fec7-46c6-4d68-960a-01aec1f810f7 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/33edb045-964b-4089-857b-cfc31fff99b7 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:54 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:48 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/99997a0b-3740-4565-b1fd-712bc3aba780/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/642df0c1-b531-4c9b-8643-25282fcdbda6/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/99997a0b-3740-4565-b1fd-712bc3aba780/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/642df0c1-b531-4c9b-8643-25282fcdbda6/adapters/1/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:54 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:48 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/ed141b3d-812b-411f-b7b6-e242b3f48706'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/924bd83c-8b35-4e7d-b3fd-8903deaf3eec'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/ed141b3d-812b-411f-b7b6-e242b3f48706 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/924bd83c-8b35-4e7d-b3fd-8903deaf3eec HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:55 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:52 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/d5453617-a24e-4ff4-9cfb-ab9e59bfe888/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8cbe8570-b6f2-489a-b7fc-69aafaf24bf0/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d5453617-a24e-4ff4-9cfb-ab9e59bfe888/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8cbe8570-b6f2-489a-b7fc-69aafaf24bf0/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:55 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:49 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/dcac780f-c640-47bb-9e68-f06220db3d70'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/153aafd0-e32b-456a-8502-cd07b2ecc94b'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dcac780f-c640-47bb-9e68-f06220db3d70 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/153aafd0-e32b-456a-8502-cd07b2ecc94b HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:56 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:56 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/09fac426-76fd-4ce1-9762-ddeb6fb17baa/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7d6b86b2-510e-4f1c-99ae-dd945b3479d1/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/09fac426-76fd-4ce1-9762-ddeb6fb17baa/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7d6b86b2-510e-4f1c-99ae-dd945b3479d1/adapters/1/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:57 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:56 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/7d36663b-94f8-41e8-be89-ae87c53bbd7a/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/88bb1118-bdf4-43af-aa30-8883e0ab6a4b/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7d36663b-94f8-41e8-be89-ae87c53bbd7a/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/88bb1118-bdf4-43af-aa30-8883e0ab6a4b/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:58 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:58 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
@@ -0,0 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/18cb778e-37a5-485d-8ee5-42e42d78ed3e/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/18cb778e-37a5-485d-8ee5-42e42d78ed3e/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:16:08 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/vmware/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/17e0476a-e63c-4227-9e08-74086d3a8419'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8b556295-efa1-46ae-ad46-8f9e38ed879e'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/17e0476a-e63c-4227-9e08-74086d3a8419 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8b556295-efa1-46ae-ad46-8f9e38ed879e HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:59 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:16:11 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/e3d75d10-4ed3-4c81-a91e-1f23b9a7f483/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/881b9fcf-316f-4a25-9807-a23363c0ed63/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e3d75d10-4ed3-4c81-a91e-1f23b9a7f483/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/881b9fcf-316f-4a25-9807-a23363c0ed63/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:58 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:16:11 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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
Connection: close
Content-Length: 347
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:51 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:42 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/capabilities
{
@@ -28,5 +29,5 @@ X-Route: /v2/compute/capabilities
"iou"
],
"platform": "linuxdebian",
"version": "2.0.0dev4"
"version": "2.1.2dev1"
}
+3 -2
View File
@@ -5,10 +5,11 @@ GET /v2/compute/iou/images HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 149
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:54 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:48 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/iou/images
[
@@ -5,17 +5,18 @@ GET /v2/compute/network/interfaces HTTP/1.1
HTTP/1.1 200
Content-Length: 5489
Connection: close
Content-Length: 1461
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:55 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:54 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/network/interfaces
[
{
"id": "bridge0",
"ip_address": "",
"mac_address": "3e:07:54:87:bc:00",
"mac_address": "ca:2a:14:12:34:00",
"name": "bridge0",
"netmask": "",
"special": true,
@@ -24,7 +25,7 @@ X-Route: /v2/compute/network/interfaces
{
"id": "en0",
"ip_address": "",
"mac_address": "3c:07:54:78:07:cc",
"mac_address": "c8:2a:14:21:cf:c8",
"name": "en0",
"netmask": "",
"special": false,
@@ -32,8 +33,8 @@ X-Route: /v2/compute/network/interfaces
},
{
"id": "en1",
"ip_address": "192.168.84.156",
"mac_address": "68:a8:6d:4a:c3:16",
"ip_address": "192.168.1.10",
"mac_address": "10:9a:dd:a4:f1:6a",
"name": "en1",
"netmask": "255.255.255.0",
"special": false,
@@ -42,7 +43,7 @@ X-Route: /v2/compute/network/interfaces
{
"id": "en2",
"ip_address": "",
"mac_address": "d2:00:1b:c0:17:80",
"mac_address": "d2:00:18:cc:6a:60",
"name": "en2",
"netmask": "",
"special": false,
@@ -51,7 +52,7 @@ X-Route: /v2/compute/network/interfaces
{
"id": "fw0",
"ip_address": "",
"mac_address": "3c:07:54:ff:fe:bc:01:78",
"mac_address": "c8:2a:14:ff:fe:8c:c6:a6",
"name": "fw0",
"netmask": "",
"special": true,
@@ -69,172 +70,10 @@ X-Route: /v2/compute/network/interfaces
{
"id": "p2p0",
"ip_address": "",
"mac_address": "0a:a8:6d:4a:c3:16",
"mac_address": "02:9a:dd:a4:f1:6a",
"name": "p2p0",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet0",
"ip_address": "",
"mac_address": "0a:00:27:00:00:00",
"name": "vboxnet0",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet1",
"ip_address": "",
"mac_address": "0a:00:27:00:00:01",
"name": "vboxnet1",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet2",
"ip_address": "",
"mac_address": "0a:00:27:00:00:02",
"name": "vboxnet2",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet3",
"ip_address": "",
"mac_address": "0a:00:27:00:00:03",
"name": "vboxnet3",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet4",
"ip_address": "",
"mac_address": "0a:00:27:00:00:04",
"name": "vboxnet4",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet5",
"ip_address": "192.168.33.1",
"mac_address": "0a:00:27:00:00:05",
"name": "vboxnet5",
"netmask": null,
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet6",
"ip_address": "",
"mac_address": "0a:00:27:00:00:06",
"name": "vboxnet6",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet7",
"ip_address": "",
"mac_address": "0a:00:27:00:00:07",
"name": "vboxnet7",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet1",
"ip_address": "172.16.16.1",
"mac_address": "00:50:56:c0:00:01",
"name": "vmnet1",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet10",
"ip_address": "172.16.7.1",
"mac_address": "00:50:56:c0:00:0a",
"name": "vmnet10",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet2",
"ip_address": "172.16.0.1",
"mac_address": "00:50:56:c0:00:02",
"name": "vmnet2",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet3",
"ip_address": "172.16.1.1",
"mac_address": "00:50:56:c0:00:03",
"name": "vmnet3",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet4",
"ip_address": "172.16.2.1",
"mac_address": "00:50:56:c0:00:04",
"name": "vmnet4",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet5",
"ip_address": "172.16.3.1",
"mac_address": "00:50:56:c0:00:05",
"name": "vmnet5",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet6",
"ip_address": "172.16.4.1",
"mac_address": "00:50:56:c0:00:06",
"name": "vmnet6",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet7",
"ip_address": "172.16.5.1",
"mac_address": "00:50:56:c0:00:07",
"name": "vmnet7",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet8",
"ip_address": "192.168.229.1",
"mac_address": "00:50:56:c0:00:08",
"name": "vmnet8",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet9",
"ip_address": "172.16.6.1",
"mac_address": "00:50:56:c0:00:09",
"name": "vmnet9",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
}
]
+3 -2
View File
@@ -5,10 +5,11 @@ GET /v2/compute/projects HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 198
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:55 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:55 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects
[
@@ -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, 03 Nov 2016 17:19:55 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:55 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/27e91192-5c83-4c98-af0f-b25b156c22b0'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/870c464a-d236-4a5e-8a1d-87893c493f4c'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/27e91192-5c83-4c98-af0f-b25b156c22b0 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/870c464a-d236-4a5e-8a1d-87893c493f4c HTTP/1.1
HTTP/1.1 200
Content-Length: 3420
Connection: close
Content-Length: 1584
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:51 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:42 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
{
@@ -47,100 +48,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"name": "p2p0",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet0",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet1",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet2",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet3",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet4",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet5",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet6",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet7",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet1",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet10",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet2",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet3",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet4",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet5",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet6",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet7",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet8",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet9",
"special": true,
"type": "ethernet"
}
],
"name": "Cloud 1",
"node_id": "27e91192-5c83-4c98-af0f-b25b156c22b0",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/870c464a-d236-4a5e-8a1d-87893c493f4c",
"node_id": "870c464a-d236-4a5e-8a1d-87893c493f4c",
"ports_mapping": [
{
"interface": "en0",
@@ -1,33 +1,33 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/85fe2caa-d9a7-46c3-b9bb-34e229c2594b'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f1e67396-246b-4edb-bfeb-cfd6bd028ae1'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/85fe2caa-d9a7-46c3-b9bb-34e229c2594b HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f1e67396-246b-4edb-bfeb-cfd6bd028ae1 HTTP/1.1
HTTP/1.1 200
Content-Length: 697
Connection: close
Content-Length: 665
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:53 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:47 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
{
"application_id": 1,
"command_line": "",
"console": 5000,
"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-105/test_json5/project-files/iou/85fe2caa-d9a7-46c3-b9bb-34e229c2594b",
"node_id": "85fe2caa-d9a7-46c3-b9bb-34e229c2594b",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/f1e67396-246b-4edb-bfeb-cfd6bd028ae1",
"node_id": "f1e67396-246b-4edb-bfeb-cfd6bd028ae1",
"nvram": 128,
"path": "iou.bin",
"private_config": null,
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 256,
"serial_adapters": 2,
"startup_config": 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/351021bf-5bbf-4bd4-beff-19b62b447f05'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2d520206-fba0-4b14-9fac-c065701eab55'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/351021bf-5bbf-4bd4-beff-19b62b447f05 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2d520206-fba0-4b14-9fac-c065701eab55 HTTP/1.1
HTTP/1.1 200
Content-Length: 332
Connection: close
Content-Length: 335
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:54 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:49 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
{
"name": "Nat 1",
"node_id": "351021bf-5bbf-4bd4-beff-19b62b447f05",
"node_id": "2d520206-fba0-4b14-9fac-c065701eab55",
"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/4a4b647d-f696-4a21-9fc2-2a56cdad39dd'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/24403711-3db5-4cae-abae-956bfbf08519'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4a4b647d-f696-4a21-9fc2-2a56cdad39dd HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/24403711-3db5-4cae-abae-956bfbf08519 HTTP/1.1
HTTP/1.1 200
Content-Length: 1415
Connection: close
Content-Length: 1468
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:56 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:55 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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": 5000,
"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:39:dd:00",
"mac_address": "00:dd:80:85:19:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/4a4b647d-f696-4a21-9fc2-2a56cdad39dd",
"node_id": "4a4b647d-f696-4a21-9fc2-2a56cdad39dd",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/24403711-3db5-4cae-abae-956bfbf08519",
"node_id": "24403711-3db5-4cae-abae-956bfbf08519",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""
@@ -1,26 +1,28 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afdfa713-f35c-4749-b165-77e9afd1a853'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0e9631fd-c8b4-4a21-bba1-2fe71d2387e0'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afdfa713-f35c-4749-b165-77e9afd1a853 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0e9631fd-c8b4-4a21-bba1-2fe71d2387e0 HTTP/1.1
HTTP/1.1 200
Content-Length: 435
Connection: close
Content-Length: 465
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:58 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:57 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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": 5000,
"console": 5004,
"console_type": "telnet",
"headless": false,
"linked_clone": false,
"name": "VMTEST",
"node_directory": null,
"node_id": "afdfa713-f35c-4749-b165-77e9afd1a853",
"node_id": "0e9631fd-c8b4-4a21-bba1-2fe71d2387e0",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",
@@ -0,0 +1,30 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/1cb7bfee-78f2-442d-8c62-da5fba43c91a'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/1cb7bfee-78f2-442d-8c62-da5fba43c91a HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 688
Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:59 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}
{
"acpi_shutdown": false,
"adapter_type": "e1000",
"adapters": 0,
"console": 5004,
"console_type": "telnet",
"headless": false,
"linked_clone": false,
"name": "VMTEST",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/1cb7bfee-78f2-442d-8c62-da5fba43c91a",
"node_id": "1cb7bfee-78f2-442d-8c62-da5fba43c91a",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped",
"use_any_adapter": false,
"vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_get0/test.vmx"
}
@@ -1,25 +1,24 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ea81751a-8e28-4226-942d-b56e3f3e5709'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ba38f0b3-b87d-4f60-a2b8-47fef0cf9ab7'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ea81751a-8e28-4226-942d-b56e3f3e5709 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ba38f0b3-b87d-4f60-a2b8-47fef0cf9ab7 HTTP/1.1
HTTP/1.1 200
Content-Length: 489
Connection: close
Content-Length: 428
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:58 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:16:11 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
{
"command_line": "",
"console": 5000,
"console": 5004,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/ea81751a-8e28-4226-942d-b56e3f3e5709",
"node_id": "ea81751a-8e28-4226-942d-b56e3f3e5709",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/ba38f0b3-b87d-4f60-a2b8-47fef0cf9ab7",
"node_id": "ba38f0b3-b87d-4f60-a2b8-47fef0cf9ab7",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,
"status": "stopped"
}
@@ -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, 03 Nov 2016 17:19:57 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:57 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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, 03 Nov 2016 17:19:57 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:57 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/qemu/capabilities
{
+4 -3
View File
@@ -5,13 +5,14 @@ GET /v2/compute/version HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 49
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:57 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:57 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/version
{
"local": true,
"version": "2.0.0dev4"
"version": "2.1.2dev1"
}
+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, 03 Nov 2016 17:19:55 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:54 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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, 03 Nov 2016 17:19:55 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:55 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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: 1584
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:51 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:42 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes
{
@@ -49,100 +50,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
"name": "p2p0",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet0",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet1",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet2",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet3",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet4",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet5",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet6",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet7",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet1",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet10",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet2",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet3",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet4",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet5",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet6",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet7",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet8",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet9",
"special": true,
"type": "ethernet"
}
],
"name": "Cloud 1",
"node_id": "c02a0a78-b84e-44b9-b151-0a650ecd7bb8",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/f5c51574-0032-419f-af7e-87edd8cab649",
"node_id": "f5c51574-0032-419f-af7e-87edd8cab649",
"ports_mapping": [
{
"interface": "en0",
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/69c8e1b3-c2e2-48a1-a647-2ab7b44152dc/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/dbff6f53-7446-4c8f-bebb-38b568b1edc6/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/69c8e1b3-c2e2-48a1-a647-2ab7b44152dc/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/dbff6f53-7446-4c8f-bebb-38b568b1edc6/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/69c8e
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:52 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:43 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/56c56eaa-3262-4459-9dc4-7225ed4eb3d5/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/22a7d45d-7024-4303-bfd6-bedd6bab4037/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/56c56eaa-3262-4459-9dc4-7225ed4eb3d5/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/22a7d45d-7024-4303-bfd6-bedd6bab4037/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/56c5
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:52 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:46 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/e2694da2-b2a4-4c7a-87aa-22814f7bbc75/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/283cc38e-c13f-41e9-951e-42c9723fb3bc/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/e2694da2-b2a4-4c7a-87aa-22814f7bbc75/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/283cc38e-c13f-41e9-951e-42c9723fb3bc/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/e269
HTTP/1.1 200
Content-Length: 146
Connection: close
Content-Length: 145
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:53 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:46 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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-105/test_json5/tmp/captures/test.pcap"
"pcap_file_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/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/a6e26e68-18ed-4303-85cd-a342503a2ea0/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b25504e3-b9a3-42c4-8280-bc590448deb4/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a6e26e68-18ed-4303-85cd-a342503a2ea0/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b25504e3-b9a3-42c4-8280-bc590448deb4/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, 03 Nov 2016 17:19:53 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:47 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
@@ -0,0 +1,17 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3abf5f1e-3d86-41f1-8fe7-9b6e2b89f236/duplicate' -d '{"destination_node_id": "933fb9ff-759b-4781-8da7-ff28bd3c4a8d"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3abf5f1e-3d86-41f1-8fe7-9b6e2b89f236/duplicate HTTP/1.1
{
"destination_node_id": "933fb9ff-759b-4781-8da7-ff28bd3c4a8d"
}
HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:47 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/duplicate
true
@@ -1,38 +1,38 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "4ade4a52-c7b2-4ed8-abce-3598e4214c0a", "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": "2a40df31-c258-409e-8aa3-466baab4bb1a", "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": "4ade4a52-c7b2-4ed8-abce-3598e4214c0a",
"node_id": "2a40df31-c258-409e-8aa3-466baab4bb1a",
"path": "iou.bin",
"startup_config_content": "hostname test"
}
HTTP/1.1 201
Content-Length: 713
Connection: close
Content-Length: 665
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:53 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:47 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes
{
"application_id": 1,
"command_line": "",
"console": 5000,
"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-105/test_json5/project-files/iou/4ade4a52-c7b2-4ed8-abce-3598e4214c0a",
"node_id": "4ade4a52-c7b2-4ed8-abce-3598e4214c0a",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/2a40df31-c258-409e-8aa3-466baab4bb1a",
"node_id": "2a40df31-c258-409e-8aa3-466baab4bb1a",
"nvram": 128,
"path": "iou.bin",
"private_config": null,
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 256,
"serial_adapters": 2,
"startup_config": "startup-config.cfg",
"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/1dd3b2b3-3d60-466f-9204-378b6b368572/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/bde9180a-13f9-484b-93b7-7cd79dd12e59/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1dd3b2b3-3d60-466f-9204-378b6b368572/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/bde9180a-13f9-484b-93b7-7cd79dd12e59/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/1dd3b2b
HTTP/1.1 201
Connection: close
Content-Length: 64
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:54 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:48 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/68117b25-55ae-4066-b1b0-80551439d8e3/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/2c1dfb5a-629f-4f71-a28b-32b5afdda38c/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/68117b25-55ae-4066-b1b0-80551439d8e3/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2c1dfb5a-629f-4f71-a28b-32b5afdda38c/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/68117b2
HTTP/1.1 200
Content-Length: 146
Connection: close
Content-Length: 145
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:54 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:48 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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-105/test_json5/tmp/captures/test.pcap"
"pcap_file_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/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/56bdd97b-c85e-45ba-b8d3-23214cc65684/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1fe06fbf-df85-4a1e-8719-9bcee87e95c3/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/56bdd97b-c85e-45ba-b8d3-23214cc65684/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1fe06fbf-df85-4a1e-8719-9bcee87e95c3/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, 03 Nov 2016 17:19:54 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:48 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
@@ -0,0 +1,17 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5004383e-1288-434b-bb06-86d2831b3197/duplicate' -d '{"destination_node_id": "10e25f8a-476d-46d0-a152-ffce1c0a1e6d"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5004383e-1288-434b-bb06-86d2831b3197/duplicate HTTP/1.1
{
"destination_node_id": "10e25f8a-476d-46d0-a152-ffce1c0a1e6d"
}
HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:49 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/duplicate
true
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f207ba5a-a9f9-4104-a216-814cae606bc2/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/920627e2-ac0a-4ff5-b7f0-92146d119cfa/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f207ba5a-a9f9-4104-a216-814cae606bc2/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/920627e2-ac0a-4ff5-b7f0-92146d119cfa/reload HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:53 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:47 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload
@@ -1,35 +1,35 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9b1a4092-9c1e-4714-97eb-2c9099a36f74/start' -d '{"iourc_content": "test"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7aaf8730-a591-434b-832c-545c3fdace21/start' -d '{"iourc_content": "test"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9b1a4092-9c1e-4714-97eb-2c9099a36f74/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7aaf8730-a591-434b-832c-545c3fdace21/start HTTP/1.1
{
"iourc_content": "test"
}
HTTP/1.1 200
Content-Length: 697
Connection: close
Content-Length: 665
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:53 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:47 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
{
"application_id": 1,
"command_line": "",
"console": 5000,
"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-105/test_json5/project-files/iou/9b1a4092-9c1e-4714-97eb-2c9099a36f74",
"node_id": "9b1a4092-9c1e-4714-97eb-2c9099a36f74",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/7aaf8730-a591-434b-832c-545c3fdace21",
"node_id": "7aaf8730-a591-434b-832c-545c3fdace21",
"nvram": 128,
"path": "iou.bin",
"private_config": null,
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 256,
"serial_adapters": 2,
"startup_config": 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/04a1ad32-27f8-4162-9c97-e2ab0051b57b/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/815fcdf5-75d2-48a4-99b1-f4651460c031/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/04a1ad32-27f8-4162-9c97-e2ab0051b57b/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/815fcdf5-75d2-48a4-99b1-f4651460c031/stop HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:53 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:47 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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, 03 Nov 2016 17:19:54 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:49 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes
{
"name": "Nat 1",
"node_id": "f8572394-f4a6-41c2-8990-76191f85976c",
"node_id": "bb9f6090-ce62-461c-8457-babcbabe1417",
"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/2e34595b-ab09-4df5-b0d5-27d26fc8cfeb/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/7ac53432-e8aa-41ab-b3fe-a0278f0dd73b/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/2e34595b-ab09-4df5-b0d5-27d26fc8cfeb/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7ac53432-e8aa-41ab-b3fe-a0278f0dd73b/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/2e34595
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:55 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:49 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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, 03 Nov 2016 17:19:55 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:54 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/tmp4__9bvkj/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/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/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/tmp4__9bvkj/qemu-system-x86_64",
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64",
"ram": 1024
}
HTTP/1.1 201
Content-Length: 1461
Connection: close
Content-Length: 1514
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:56 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:55 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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": 5000,
"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:04:23:00",
"mac_address": "00:dd:80:61:ca:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/26ee1a57-b93e-49e3-bcab-f495734c0423",
"node_id": "26ee1a57-b93e-49e3-bcab-f495734c0423",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/c5506ba4-66a1-4b97-b632-0b73291161ca",
"node_id": "c5506ba4-66a1-4b97-b632-0b73291161ca",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""
@@ -1,20 +1,25 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/cd663ba1-9a14-4c86-9c5e-5e5122b15519/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/61a9f99e-3542-49a5-b082-fd154577b1da/adapters/1/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/qemu/nodes/cd663ba1-9a14-4c86-9c5e-5e5122b15519/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/61a9f99e-3542-49a5-b082-fd154577b1da/adapters/1/ports/0/nio HTTP/1.1
{
"ethernet_device": "eth0",
"type": "nio_ethernet"
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
HTTP/1.1 409
Content-Length: 81
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:57 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:56 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"message": "NIO of type nio_ethernet is not supported",
"status": 409
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
@@ -0,0 +1,17 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/991224a4-0c6a-46f5-a9cf-7a7b03dd2f7f/duplicate' -d '{"destination_node_id": "ddc56104-6d5b-44b8-8883-560df43c12d4"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/991224a4-0c6a-46f5-a9cf-7a7b03dd2f7f/duplicate HTTP/1.1
{
"destination_node_id": "ddc56104-6d5b-44b8-8883-560df43c12d4"
}
HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:57 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/duplicate
true
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8f74240d-cbc9-4b97-b27a-336ef70b8304/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a5001f88-4ea1-4c30-b150-0b64d6468114/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8f74240d-cbc9-4b97-b27a-336ef70b8304/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a5001f88-4ea1-4c30-b150-0b64d6468114/reload HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:56 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:56 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/08a64ae9-b47a-478c-92ce-4646c795c433/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/47c84302-343c-49ec-88aa-d6df5c12ca76/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/08a64ae9-b47a-478c-92ce-4646c795c433/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/47c84302-343c-49ec-88aa-d6df5c12ca76/resume HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:56 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:56 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/12876bc4-6262-41d0-87bf-2a0762d63290/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/549b4a45-e05f-46f7-9162-9c8917cfdbd2/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/12876bc4-6262-41d0-87bf-2a0762d63290/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/549b4a45-e05f-46f7-9162-9c8917cfdbd2/start HTTP/1.1
{}
HTTP/1.1 200
Content-Length: 1415
Connection: close
Content-Length: 1468
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:56 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:56 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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": 5000,
"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:32:90:00",
"mac_address": "00:dd:80:db:d2:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/12876bc4-6262-41d0-87bf-2a0762d63290",
"node_id": "12876bc4-6262-41d0-87bf-2a0762d63290",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/549b4a45-e05f-46f7-9162-9c8917cfdbd2",
"node_id": "549b4a45-e05f-46f7-9162-9c8917cfdbd2",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/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/d6886ce2-45ec-4a17-891d-7dd00e32784b/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/76838b21-f233-49fc-8b9e-efb44e924770/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d6886ce2-45ec-4a17-891d-7dd00e32784b/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/76838b21-f233-49fc-8b9e-efb44e924770/stop HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:56 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:56 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/5c8d29b0-ca7e-4430-aaca-a2528cfec782/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0e83b0b6-4a6a-4c59-9f1d-cd38eef8d8c3/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5c8d29b0-ca7e-4430-aaca-a2528cfec782/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0e83b0b6-4a6a-4c59-9f1d-cd38eef8d8c3/suspend HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:56 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:56 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend
@@ -9,22 +9,24 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes
HTTP/1.1 201
Content-Length: 429
Connection: close
Content-Length: 459
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:57 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:57 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
{
"acpi_shutdown": false,
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
"adapters": 0,
"console": 5000,
"console": 5004,
"console_type": "telnet",
"headless": false,
"linked_clone": false,
"name": "VM1",
"node_directory": null,
"node_id": "91fe27cf-47af-40a9-85a1-d4e3c80dc826",
"node_id": "dbbae445-fdee-4985-ab03-9fd20c4dd5c1",
"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/a6a1fde9-419d-481d-ad56-154da1d8fdcb/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/acf82559-f05c-4623-8607-f4725c99dd19/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/a6a1fde9-419d-481d-ad56-154da1d8fdcb/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/acf82559-f05c-4623-8607-f4725c99dd19/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, 03 Nov 2016 17:19:58 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:58 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/106d35ba-148b-4a00-8e4b-275f56f0a9c7/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dec54572-148b-4d8a-b8e6-fed0f2f0e27a/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/106d35ba-148b-4a00-8e4b-275f56f0a9c7/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dec54572-148b-4d8a-b8e6-fed0f2f0e27a/reload HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:58 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:58 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/7b408f89-7560-473e-a95d-eaf6cf7cc9d8/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/890d1ef3-de36-4215-a3d2-2e7735238784/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7b408f89-7560-473e-a95d-eaf6cf7cc9d8/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/890d1ef3-de36-4215-a3d2-2e7735238784/resume HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:58 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:58 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/90c774f6-2f06-4085-9e1a-f069aa558063/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/14876fc1-ed1f-45c6-9fe5-03c5c1de21be/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/90c774f6-2f06-4085-9e1a-f069aa558063/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/14876fc1-ed1f-45c6-9fe5-03c5c1de21be/start HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:58 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:57 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/a1a6ae70-9521-40ab-ae07-c4afaa5276e6/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/030a16df-bb45-476b-8b4a-ad82e6a03859/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a1a6ae70-9521-40ab-ae07-c4afaa5276e6/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/030a16df-bb45-476b-8b4a-ad82e6a03859/stop HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:58 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:58 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/dd4fec46-330e-4ac9-bd33-bbe627eb58dd/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c3f25ab6-15b2-472f-b9c8-a3e9d2db521e/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dd4fec46-330e-4ac9-bd33-bbe627eb58dd/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c3f25ab6-15b2-472f-b9c8-a3e9d2db521e/suspend HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:58 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:58 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend
@@ -0,0 +1,34 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes' -d '{"linked_clone": false, "name": "VM1", "vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_create0/test.vmx"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes HTTP/1.1
{
"linked_clone": false,
"name": "VM1",
"vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_create0/test.vmx"
}
HTTP/1.1 201
Connection: close
Content-Length: 688
Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:58 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes
{
"acpi_shutdown": false,
"adapter_type": "e1000",
"adapters": 0,
"console": 5004,
"console_type": "telnet",
"headless": false,
"linked_clone": false,
"name": "VM1",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/363338c7-451e-4f3d-a74a-5d7400b2325b",
"node_id": "363338c7-451e-4f3d-a74a-5d7400b2325b",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped",
"use_any_adapter": false,
"vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_create0/test.vmx"
}
@@ -0,0 +1,25 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8bd601b4-b70c-455d-86a8-656a844523bf/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/vmware/nodes/8bd601b4-b70c-455d-86a8-656a844523bf/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Mon, 08 Jan 2018 08:16:06 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
@@ -0,0 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f29ee895-6312-4c95-813a-2194257925f3/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f29ee895-6312-4c95-813a-2194257925f3/reload HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:16:05 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/reload
@@ -0,0 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/5b5cf295-69cf-4c7f-8dbe-cd34d8a50b96/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/5b5cf295-69cf-4c7f-8dbe-cd34d8a50b96/resume HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:16:04 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/resume
@@ -0,0 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/3284972b-259f-4c32-804c-f95253a2b272/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/3284972b-259f-4c32-804c-f95253a2b272/start HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:16:00 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/start
@@ -0,0 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/5d67e87b-35c7-484b-924c-44934ade59b9/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/5d67e87b-35c7-484b-924c-44934ade59b9/stop HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:16:01 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/stop
@@ -0,0 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/020c5143-2385-4b7e-84ab-2fa6235d7d44/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/020c5143-2385-4b7e-84ab-2fa6235d7d44/suspend HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Mon, 08 Jan 2018 08:16:02 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/suspend
@@ -7,21 +7,20 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes HTTP/1
HTTP/1.1 201
Content-Length: 489
Connection: close
Content-Length: 428
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:58 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:16:11 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
{
"command_line": "",
"console": 5000,
"console": 5004,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/97bd62ea-c059-43f0-a5a1-016d7eb0d921",
"node_id": "97bd62ea-c059-43f0-a5a1-016d7eb0d921",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/de5b89af-2907-411f-bc88-d7aacc015763",
"node_id": "de5b89af-2907-411f-bc88-d7aacc015763",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,
"status": "stopped"
}
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/edf434e7-d3f1-44c6-ad60-e539bf2a4a6e/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/eb360fb6-4941-4f14-9145-e7d64369bc3c/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/edf434e7-d3f1-44c6-ad60-e539bf2a4a6e/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/eb360fb6-4941-4f14-9145-e7d64369bc3c/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/edf434
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:58 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:16:11 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
@@ -0,0 +1,17 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3cd0a1d7-b074-4bf6-8c33-626f97ad8559/duplicate' -d '{"destination_node_id": "79886fa2-4320-419e-9044-e445694394d6"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3cd0a1d7-b074-4bf6-8c33-626f97ad8559/duplicate HTTP/1.1
{
"destination_node_id": "79886fa2-4320-419e-9044-e445694394d6"
}
HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Mon, 08 Jan 2018 08:16:11 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/duplicate
true
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9d873d6-d53e-4765-b026-1571f5df4a38/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/aaa4c50f-2c60-40ca-971d-d86a4433de82/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9d873d6-d53e-4765-b026-1571f5df4a38/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/aaa4c50f-2c60-40ca-971d-d86a4433de82/reload HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:59 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:16:11 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload
@@ -1,25 +1,24 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/9c0b927b-a48b-41c7-ad94-4006669f49f5/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/9c0b927b-a48b-41c7-ad94-4006669f49f5/start HTTP/1.1
{}
HTTP/1.1 200
Content-Length: 489
Connection: close
Content-Length: 428
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:59 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:16:11 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
{
"command_line": "",
"console": 5000,
"console": 5004,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff",
"node_id": "cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/9c0b927b-a48b-41c7-ad94-4006669f49f5",
"node_id": "9c0b927b-a48b-41c7-ad94-4006669f49f5",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,
"status": "stopped"
}
@@ -1,13 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1077534f-0902-487a-9826-df49dfd223eb/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/92b13851-ebaf-4966-a013-e0e4514848b2/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1077534f-0902-487a-9826-df49dfd223eb/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/92b13851-ebaf-4966-a013-e0e4514848b2/stop HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 03 Nov 2016 17:19:59 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:16:11 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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, 03 Nov 2016 17:19:57 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:57 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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/1609e4ce-3925-4dfa-beb9-a37bb6e4eba8' -d '{"name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f5393b54-aad6-4233-acfa-ab20d9cb0e43' -d '{"name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/1609e4ce-3925-4dfa-beb9-a37bb6e4eba8 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f5393b54-aad6-4233-acfa-ab20d9cb0e43 HTTP/1.1
{
"name": "test"
}
HTTP/1.1 200
Content-Length: 3417
Connection: close
Content-Length: 1581
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:52 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:46 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
{
@@ -49,100 +50,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"name": "p2p0",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet0",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet1",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet2",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet3",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet4",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet5",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet6",
"special": true,
"type": "ethernet"
},
{
"name": "vboxnet7",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet1",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet10",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet2",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet3",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet4",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet5",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet6",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet7",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet8",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet9",
"special": true,
"type": "ethernet"
}
],
"name": "test",
"node_id": "1609e4ce-3925-4dfa-beb9-a37bb6e4eba8",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/f5393b54-aad6-4233-acfa-ab20d9cb0e43",
"node_id": "f5393b54-aad6-4233-acfa-ab20d9cb0e43",
"ports_mapping": [
{
"interface": "en0",
@@ -0,0 +1,27 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/02dbb665-8582-4d4f-ab65-59d371b6dd26/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/02dbb665-8582-4d4f-ab65-59d371b6dd26/adapters/0/ports/0/nio HTTP/1.1
{
"filters": {},
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
HTTP/1.1 201
Connection: close
Content-Length: 108
Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:43 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"filters": {},
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
@@ -1,8 +1,8 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8' -d '{"console": 5003, "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/22396e9c-c6a0-4d55-82f0-fff20006a4a3' -d '{"console": 5006, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/22396e9c-c6a0-4d55-82f0-fff20006a4a3 HTTP/1.1
{
"console": 5003,
"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/5ffe5
HTTP/1.1 200
Content-Length: 654
Connection: close
Content-Length: 653
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:52 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:46 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
{
"adapters": 2,
"aux": 5002,
"console": 5003,
"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-105/test_json5/project-files/docker/5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8",
"node_id": "5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/docker/22396e9c-c6a0-4d55-82f0-fff20006a4a3",
"node_id": "22396e9c-c6a0-4d55-82f0-fff20006a4a3",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"start_command": "yes",
"status": "stopped"
@@ -0,0 +1,25 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7536b21f-e0e1-4b0e-be34-b27c5bee5dc1/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7536b21f-e0e1-4b0e-be34-b27c5bee5dc1/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:46 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
@@ -1,44 +1,42 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2aec8581-8312-4c46-9c64-8801854aea79' -d '{"console": 5002, "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/2e54bfd5-33e4-4958-9eb5-9344095bcf3c' -d '{"console": 5005, "ethernet_adapters": 4, "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "use_default_iou_values": true}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2aec8581-8312-4c46-9c64-8801854aea79 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2e54bfd5-33e4-4958-9eb5-9344095bcf3c HTTP/1.1
{
"console": 5002,
"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
}
HTTP/1.1 200
Content-Length: 708
Connection: close
Content-Length: 660
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:54 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:48 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
{
"application_id": 1,
"command_line": "",
"console": 5002,
"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-105/test_json5/project-files/iou/2aec8581-8312-4c46-9c64-8801854aea79",
"node_id": "2aec8581-8312-4c46-9c64-8801854aea79",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/2e54bfd5-33e4-4958-9eb5-9344095bcf3c",
"node_id": "2e54bfd5-33e4-4958-9eb5-9344095bcf3c",
"nvram": 2048,
"path": "iou.bin",
"private_config": null,
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 512,
"serial_adapters": 0,
"startup_config": "startup-config.cfg",
"status": "stopped",
"use_default_iou_values": true
}
@@ -0,0 +1,26 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e50dc2a-4a1e-44b7-8d5a-6b7de6f4ff07/adapters/1/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e50dc2a-4a1e-44b7-8d5a-6b7de6f4ff07/adapters/1/ports/0/nio HTTP/1.1
{
"filters": {},
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:48 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
@@ -1,27 +1,28 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7061bfeb-39f5-4b27-9557-2420b81fac6c' -d '{"name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/c567edc8-9230-41b5-a32c-cda1403eb187' -d '{"name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7061bfeb-39f5-4b27-9557-2420b81fac6c HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/c567edc8-9230-41b5-a32c-cda1403eb187 HTTP/1.1
{
"name": "test"
}
HTTP/1.1 200
Content-Length: 331
Connection: close
Content-Length: 334
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:55 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:54 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
{
"name": "test",
"node_id": "7061bfeb-39f5-4b27-9557-2420b81fac6c",
"node_id": "c567edc8-9230-41b5-a32c-cda1403eb187",
"ports_mapping": [
{
"interface": "gns3nat9",
"interface": "virbr0",
"name": "nat0",
"port_number": 0,
"type": "tap"
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
@@ -0,0 +1,27 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/e44156c3-1ac8-4af3-81a1-049b7c441054/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/e44156c3-1ac8-4af3-81a1-049b7c441054/adapters/0/ports/0/nio HTTP/1.1
{
"filters": {},
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
HTTP/1.1 201
Connection: close
Content-Length: 108
Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:49 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"filters": {},
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
@@ -1,8 +1,8 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b99813b1-5ff4-485e-9f83-8e3cb55649fb' -d '{"console": 5002, "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/2b036990-caf0-422c-b18b-5b218bbe4504' -d '{"console": 5006, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b99813b1-5ff4-485e-9f83-8e3cb55649fb HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2b036990-caf0-422c-b18b-5b218bbe4504 HTTP/1.1
{
"console": 5002,
"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/b99813b
HTTP/1.1 200
Content-Length: 1456
Connection: close
Content-Length: 1509
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:56 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:56 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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": 5002,
"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:49:fb:00",
"mac_address": "00:dd:80:45:04:00",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/b99813b1-5ff4-485e-9f83-8e3cb55649fb",
"node_id": "b99813b1-5ff4-485e-9f83-8e3cb55649fb",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/2b036990-caf0-422c-b18b-5b218bbe4504",
"node_id": "2b036990-caf0-422c-b18b-5b218bbe4504",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""
@@ -0,0 +1,27 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b299b291-ca8d-4d12-b12a-2eab780a7a0a/adapters/1/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b299b291-ca8d-4d12-b12a-2eab780a7a0a/adapters/1/ports/0/nio HTTP/1.1
{
"filters": {},
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
HTTP/1.1 201
Connection: close
Content-Length: 108
Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:56 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"filters": {},
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
@@ -1,29 +1,31 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/99b36e74-6202-4c94-a64a-4e90a177fb19' -d '{"console": 5002, "name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/07ae8a79-9a4c-4987-8fc9-e5c3c2ca541d' -d '{"console": 5005, "name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/99b36e74-6202-4c94-a64a-4e90a177fb19 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/07ae8a79-9a4c-4987-8fc9-e5c3c2ca541d HTTP/1.1
{
"console": 5002,
"console": 5005,
"name": "test"
}
HTTP/1.1 200
Content-Length: 433
Connection: close
Content-Length: 463
Content-Type: application/json
Date: Thu, 03 Nov 2016 17:19:58 GMT
Server: Python/3.5 GNS3/2.0.0dev4
Date: Mon, 08 Jan 2018 08:15:58 GMT
Server: Python/3.6 GNS3/2.1.2dev1
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": 5002,
"console": 5005,
"console_type": "telnet",
"headless": false,
"linked_clone": false,
"name": "test",
"node_directory": null,
"node_id": "99b36e74-6202-4c94-a64a-4e90a177fb19",
"node_id": "07ae8a79-9a4c-4987-8fc9-e5c3c2ca541d",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",
@@ -0,0 +1,27 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0676cad3-3893-4a88-9535-f4a248723907/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0676cad3-3893-4a88-9535-f4a248723907/adapters/0/ports/0/nio HTTP/1.1
{
"filters": {},
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
HTTP/1.1 201
Connection: close
Content-Length: 108
Content-Type: application/json
Date: Mon, 08 Jan 2018 08:15:58 GMT
Server: Python/3.6 GNS3/2.1.2dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
"filters": {},
"lport": 4242,
"rhost": "127.0.0.1",
"rport": 4343,
"type": "nio_udp"
}
Loaded 100 of 719 files, more files were not shown because too many files have changed in this diff. Show more