Compare commits

...
519 Commits
Author SHA1 Message Date
ziajka 0b742fc43d Release v2.1.7 2018-06-12 11:12:59 +02:00
Jeremy Grossmann 72cc3961dd Merge pull request #1351 from acaudwell/udp-ports-fix
Don't release NIO UDP ports when updating docker container.
2018-06-11 22:36:17 +07:00
Andrew Caudwell b2e0a1b291 Don't release NIO UDP ports when updating docker container.
When a docker container was updated, the NIO UDP ports were being released
from port_manager, but they were still stored in self._ethernet_adapters.
When the container was restarted, the same NIO ports would be used. However,
if a new connection was then added, it could assign a port that was already
in use. The end result was that traffic would be bridged across the wrong
interface connection.
2018-06-11 15:17:13 +12:00
grossmj 45edc40948 Timeout for stream file. 2018-06-10 21:18:16 +07:00
grossmj 34fcbd68f3 Fix switching console type from telnet to VNC throws error. 2018-06-09 22:08:30 +07:00
grossmj 6caf38206c Fix tests. 2018-06-07 22:37:29 +07:00
grossmj 8851a55199 Fix timeout error with "save as" for large projects. 2018-06-07 22:26:23 +07:00
ziajka c18d855a10 Merge branch '2.1' of github.com:GNS3/gns3-server into 2.1 2018-06-07 11:58:30 +02:00
Jeremy Grossmann ae0c362427 Merge pull request #1348 from ehlers/api-docs
Update API documentation
2018-06-07 15:57:11 +07:00
Bernhard Ehlers 60a3ab87dc Update API documentation 2018-06-07 10:26:06 +02:00
grossmj 62f87de23a Add API endpoint to return all links attached to a node. 2018-06-06 20:46:44 +07:00
grossmj fd5df0052a Fix issue with some SVG symbols that could not be used in GNS3.
This was due to the height and width values being percentages.
2018-06-06 16:32:51 +07:00
grossmj 19c5ff8521 Show correct free disk space value. 2018-06-06 14:59:44 +07:00
grossmj 31a268e756 Force prompt-toolkit to version 1.0.15 2018-06-06 01:36:43 +07:00
grossmj fbfa75830e Bump version to 2.1.7dev1 2018-06-05 16:46:11 +07:00
grossmj f8bf749577 Remove unwanted trailing characters and other white spaces when reading .md5sum files. 2018-06-05 00:01:20 +07:00
grossmj 051eedb406 Change order to find vnetlib on Windows (PATH -> Registry -> Default directories). 2018-06-04 21:57:34 +07:00
ziajka e026c6415e Add dev1 to the version 2018-05-24 13:11:57 +02:00
ziajka b0c89a4f2c Development on v2.1.7dev1 2018-05-22 14:14:31 +02:00
ziajka eafe27e684 Release v2.1.6 2018-05-22 14:11:48 +02:00
ziajka c52342907a Merge pull request #1332 from GNS3/global-vars
Docker `ExtraHosts`, global variables for project and supplier support, Fixes: #2482
2018-05-15 09:23:54 +02:00
ziajka 5a0e21f58d Locks down async-timeout<3.0.0 for P3.4 support; Fixes: #1331 2018-05-11 13:37:04 +02:00
ziajka f3c6faed75 Removed unnecessary line 2018-05-09 15:53:50 +02:00
ziajka 7b3d5ae5e3 Create/update project on compute when variables changes 2018-05-09 15:29:35 +02:00
ziajka 83445214be Support for nested global variables 2018-05-09 11:25:55 +02:00
ziajka 0bcc657bf1 Don't clean logo images when applied to the project 2018-05-08 16:22:35 +02:00
ziajka f2700ed445 Support of supplier and variables in topology 2018-05-08 10:07:42 +02:00
ziajka e4436096c2 Fix tests 2018-05-07 15:18:19 +02:00
ziajka 132c7c8f5b Fix tests 2018-05-07 12:55:32 +02:00
ziajka e267f8a8b8 Project global variables 2018-05-04 14:34:44 +02:00
grossmj 202e7362a5 Add command information when uBridge has an error. Ref #1289 2018-04-28 18:48:52 +07:00
grossmj 305fe2e817 Handle asyncio timeouts. Ref #1307. 2018-04-28 17:42:02 +07:00
grossmj a56d5b453f Fix project export tests. 2018-04-28 16:46:47 +07:00
grossmj 3b94484914 Fix bug with export project. Ref #1187 #1307. 2018-04-28 16:38:52 +07:00
grossmj 50a922f83e Offload slow file operations to threads for snapshots and project "save as". Ref #1187 #1307. 2018-04-28 16:01:43 +07:00
ziajka 80958e8a6d support based on init.sh, Ref: #2482 2018-04-27 14:33:07 +02:00
grossmj 20294e284c Fix exception from send_signal() on Windows. 2018-04-27 17:00:28 +07:00
ziajka 43081152ef Add support of ExtraHosts for Docker, Ref. gns3-gui#2482 2018-04-25 16:03:01 +02:00
ziajka 747814f083 Development on v2.1.6 2018-04-18 11:41:30 +02:00
ziajka 2e9c5590a8 Release v2.1.5 2018-04-18 11:29:02 +02:00
grossmj cfd0216554 Disable TraceNG for version 2.1.5 2018-04-18 17:19:44 +08:00
grossmj 9ecb058343 Fix tests. 2018-04-18 16:13:59 +08:00
grossmj 013c74f6d8 Sync appliance files. 2018-04-18 16:12:30 +08:00
grossmj fff2e128eb Set the first byte to 0C when generating a random MAC address for a Qemu VM. Ref #1267. 2018-04-18 16:06:51 +08:00
grossmj 5690d350bd Update appliance files. 2018-04-17 12:58:37 +08:00
grossmj 1fea086f13 Do not use VMnet0 when allocating VMnet adapters. 2018-04-17 11:47:25 +08:00
grossmj dd9c18b9f8 Use SO_REUSEADDR before calling bind() where missing. Fixes #1289. 2018-04-16 16:36:36 +08:00
grossmj 5c4f6dd3dc Do not fail a Dynamips project conversion if a file being used. 2018-04-16 15:45:43 +08:00
grossmj a12c5a95b0 Catch exceptions when using AsyncioTelnetServer. Fixes #1321. 2018-04-16 15:30:06 +08:00
grossmj 025441f027 Add default destination setting for traceng + some checks. 2018-04-16 15:03:22 +08:00
grossmj 801547983a Fix tests. 2018-04-13 17:04:19 +08:00
grossmj 2de182eff4 Grid size support for projects. 2018-04-13 16:54:57 +08:00
grossmj 9adfb1820d Remove 'include INSTALL' from MANIFEST. 2018-04-13 14:17:18 +08:00
grossmj 297bbd91ec Fix traceng tests. 2018-03-30 12:10:57 +07:00
grossmj 47e5dfabd8 Merge branch 'traceng' into 2.1 2018-03-29 15:17:41 +07:00
grossmj 898f180310 Fix issue with start all. 2018-03-29 13:32:56 +07:00
grossmj b61bd2dc67 Merge remote-tracking branch 'origin/traceng' into traceng 2018-03-29 13:29:56 +07:00
grossmj b7780ba7cc Check for valid IP address and prevent to run on non-Windows platforms. 2018-03-29 13:26:43 +07:00
grossmj c053a2f350 Enable UDP tunnel option and use ICMP probing by default. 2018-03-28 04:26:40 -07:00
grossmj 05ec14e888 Use the configured IP address to trace. 2018-03-27 03:43:50 -07:00
grossmj d08c08617c Support for source and destination for traceNG. 2018-03-27 16:58:49 +07:00
grossmj 8e695c8af1 Have TraceNG start without needing cmd.exe 2018-03-27 01:19:24 -07:00
grossmj a4626a2b79 Custom icons and small fixes for TraceNG integration. 2018-03-14 16:56:37 +07:00
grossmj 397c1322b4 Base support for TraceNG. 2018-03-12 17:57:13 +07:00
ziajka 148baaf465 Back to development on v2.1.5dev1 2018-03-12 11:27:02 +01:00
ziajka aaac2a2d93 Fix issue with temporary travis deploy issues 2018-03-12 09:43:57 +01:00
ziajka e54a94240d Re-release v2.1.4 2018-03-12 09:40:42 +01:00
ziajka 4ca216b181 Development on v2.1.5dev1 2018-03-12 09:26:07 +01:00
ziajka e417ee8fed Release v2.1.4 2018-03-12 09:19:18 +01:00
grossmj 3201a996ed Add Juniper JunOS space appliance. 2018-03-11 23:02:43 +07:00
grossmj 1df03d052f Sync checkpoint gaia appliance template. 2018-03-09 15:41:17 +07:00
grossmj da31358a65 Sync appliance templates. 2018-03-09 15:26:40 +07:00
grossmj 0bd7736460 Make sure we use an IPv4 address in the remote install script. 2018-03-08 21:09:00 +07:00
grossmj 38f458db7c Delete old pcap file when starting a new packet capture. 2018-03-08 16:00:05 +07:00
grossmj 233e41d006 Fix export project test. 2018-03-08 00:39:08 +07:00
grossmj 22db13d2bf Fix bug preventing to export portable projects with IOU images. 2018-03-08 00:13:35 +07:00
grossmj 0fde1cf54a Ignore invalid BPF filters. Ref #1290. 2018-03-07 21:37:15 +07:00
grossmj 00e781826b Different approach to handle no data returned by uBridge hypervisors. Fixes #1289. 2018-03-07 19:42:19 +07:00
grossmj 7c14e21f4a Different approach to handle no data returned by Dynamips or uBridge hypervisors. Fixes #1289. 2018-03-07 19:33:19 +07:00
grossmj a3a0657502 Do not raise exception if Dynamips or uBridge hypervisor don't return data and are still running. Fixes #1289 2018-03-07 19:11:34 +07:00
grossmj 3ca4f72b99 Fix Dynamips private config not loaded into nvram when starting a router. Fixes #1313. 2018-03-07 18:18:51 +07:00
grossmj d911e82dc4 Merge remote-tracking branch 'origin/2.1' into 2.1 2018-03-07 16:42:12 +07:00
grossmj c93d0d8d12 Make sure we don't try to read when opening a file in binary more. Fixes #1301. 2018-03-07 16:39:04 +07:00
ziajka 53a229f8e9 Fix never reached condition 2018-03-05 11:16:03 +01:00
ziajka 419797dd92 Merge pull request #1312 from GNS3/controller-compat
Compatybility with controller, default_symbol and hover_symbol, Fixes…
2018-03-02 13:49:32 +01:00
ziajka 05b6be2e42 Compatybility with controller, default_symbol and hover_symbol, Fixes: #2444 2018-03-02 13:48:27 +01:00
ziajka c714c9c8de Merge pull request #1310 from GNS3/fix-1297
Filter snapshots directory during the snapshot, Fixes: #1297
2018-02-28 16:40:18 +01:00
ziajka 9be76d98a2 Filter snapshots directory during the snapshot, Fixes: #1297 2018-02-28 16:38:32 +01:00
ziajka 9e73ca6620 Merge pull request #1309 from GNS3/fix-2420
Handle docker env with last empty line, Fixes: #2420
2018-02-27 16:41:24 +01:00
ziajka e79e27a73f Handle docker env with last empty line, Fixes: #2420 2018-02-27 16:33:55 +01:00
ziajka 7beae4e451 Merge pull request #1308 from GNS3/pywin32-dep
Pywin32 instead of pypiwin32, Ref. #1276
2018-02-27 09:27:54 +01:00
Jeremy Grossmann a0f2dd374e Require uBridge version 0.9.14 on Linux 2018-02-26 23:18:44 +07:00
ziajka b1657996e3 Pywin32 instead of pypiwin32, Ref. #1276 2018-02-26 16:25:31 +01:00
Jeremy Grossmann e83ed3b4b5 Merge pull request #1295 from ehlers/fix_cpuload
Implement a minimum interval between psutil calls. Fixes #2262
2018-02-26 13:08:10 +06:30
ziajka 2111f549c9 Merge pull request #1302 from nabilbendafi/master
Fix missing 'locales' package in base image
2018-02-21 10:14:01 +01:00
Nabil BENDAFI 3a15839272 Fix missing 'locales' package in base image
`/bin/sh: 1: locale-gen: not found`
2018-02-20 16:43:22 +01:00
Bernhard Ehlers 3a09bd43dc Implement a minimum interval between psutil calls. Fixes #2262 2018-02-13 11:31:04 +01:00
grossmj 17422bc461 Fix appliance loading test (missing category). 2018-02-06 16:55:40 +08:00
grossmj 935b8981ea Fix appliance loading test. 2018-02-06 16:15:34 +08:00
grossmj fff593b358 Fix error when appliance template is broken (missing fields). Fixes #1287. 2018-02-06 16:07:23 +08:00
grossmj abbe3d3a31 Fix "Change of linked base VM doesn't work with templates migrated from 2.0" 2018-02-05 16:42:29 +08:00
grossmj 52b690b683 Fix "Unable to override non-custom VMware adapter". 2018-02-04 22:08:41 +08:00
grossmj 654aa18d09 Fix get_port test. 2018-02-02 22:14:50 +08:00
grossmj 519df3ab35 Let a project be opened when a port cannot be found (can happens if a project is corrupted). 2018-02-02 22:05:51 +08:00
grossmj 4ba523a0d7 Add an error message when Docker container is not ready to be started. Ref #1281. 2018-02-02 16:29:08 +08:00
grossmj 07d2d7b340 Update documentation. 2018-01-31 23:37:02 +07:00
grossmj e5a4afaeb1 Sync appliance files. 2018-01-31 19:05:03 +07:00
grossmj 3802a3d70b Fix more IOU tests. 2018-01-31 16:34:41 +07:00
grossmj 0ee87c9110 Fix IOU tests. 2018-01-31 16:12:55 +07:00
grossmj e5c76750b1 Fix issue when running multiple project containing IOU nodes on the same server. Ref #1239. 2018-01-31 15:51:29 +07:00
grossmj 1045364adc Set first byte to 52 when generating a random MAC address for a Qemu VM. Ref #1267. 2018-01-30 18:26:38 +07:00
grossmj 008baad86a Update link state and save project when a link is suspended or filters are added/removed (without node properties set). 2018-01-30 17:39:33 +07:00
ziajka 4f2a50894b Merge pull request #1277 from GNS3/av-pywin32
Fix AppVeyor crashes with pypiwin32-222 Ref. #1276
2018-01-30 08:52:35 +01:00
ziajka 889aa3ba94 More generic dependency for pypiwin32, Ref. #1276 2018-01-29 15:26:45 +01:00
ziajka cbb15c7a84 Check if locking version of pypiwin32==220 helps, Ref. #1276 2018-01-29 15:16:38 +01:00
ziajka 8268e76a86 Check if passes tests on 2.1 2018-01-29 15:09:03 +01:00
ziajka daf058a306 Merge tag 'v2.1.3' 2018-01-24 10:09:31 +01:00
ziajka f7d82059d5 Development on v2.1.4dev1 2018-01-19 07:18:00 +01:00
ziajka d2faaee099 Release v2.1.3 2018-01-19 07:15:39 +01:00
grossmj 6fee543ce7 Fix more client/server version tests. 2018-01-18 16:14:09 +08:00
grossmj 2e40fb8608 Fix client/server version test. 2018-01-18 16:04:31 +08:00
grossmj d4f1084391 Bump version number to 2.1.3dev1 2018-01-18 15:32:06 +08:00
ziajka b792be00f9 Merge tag 'v2.1.2' 2018-01-18 08:29:40 +01:00
grossmj cf4477ce34 Merge remote-tracking branch 'origin/unlock-yarl' into 2.1 2018-01-18 12:10:19 +08:00
grossmj f525bd2ce1 Update appliance files. 2018-01-18 11:57:48 +08:00
grossmj bd8816d14c Suspend for Docker nodes. 2018-01-18 11:43:04 +08:00
ziajka 34acb1f185 Unlock yarl version and multidict 2018-01-17 10:26:22 +01:00
grossmj 7ded71142f Fix same MAC address for duplicated Qemu nodes. 2018-01-17 14:13:06 +08:00
grossmj c281f55fb2 Fix same base MAC for duplicated IOS routers. Fixes #1264. 2018-01-17 14:01:44 +08:00
grossmj e5e2b7a8ac Fix "Creating multiple IOU nodes at once assigns the same application id". Fixes #1239. 2018-01-15 18:09:05 +07:00
grossmj 30e8949985 Fix "Transport selection via DSN is deprecated" message. Sync is configured with HTTPTransport. 2018-01-15 16:56:15 +07:00
grossmj 393ac85bca Merge remote-tracking branch 'origin/2.1' into 2.1 2018-01-15 14:42:25 +07:00
grossmj 9d9dc037d8 Refresh CPU/RAM info every 1 second. Ref #2262. 2018-01-15 14:42:01 +07:00
Jeremy Grossmann 32f56feca2 Merge pull request #1263 from ddragic/eth_switch_cmd
Rename ethernet switch shell command arp to mac
2018-01-15 08:20:39 +01:00
Dušan Dragić 5d86f06390 Rename ethernet switch arp command to mac, also rename in test 2018-01-14 17:50:21 +01:00
Dušan Dragić 6789989cb9 Rename ethernet switch arp command to mac 2018-01-14 17:10:26 +01:00
grossmj ffc7024b64 Fix error while getting appliance list. Fixes #1258. 2018-01-14 20:29:17 +07:00
grossmj ed275e4ec5 Fix UnboundLocalError: local variable 'node' referenced before assignment. Fixes #1256. 2018-01-14 19:06:35 +07:00
grossmj 4143ee8178 first commit 2018-01-14 10:52:59 +07:00
grossmj 88989cc274 Default symbol must be computer.svg 2018-01-12 21:46:48 +07:00
grossmj ab6fe6da1d Compatibility for old node templates (those with default_symbol and hover_symbol properties). 2018-01-12 17:34:37 +07:00
grossmj 8b1c68a0b7 Fix problem when searching for VBoxManage. Fixes #1261. 2018-01-12 13:17:16 +07:00
grossmj 97cfb892a6 Improve the search for VBoxManage. 2018-01-11 16:33:15 +07:00
grossmj f9c7c15f95 Fixing race condition when starting the GNS3 VM. 2018-01-10 16:22:55 +07:00
grossmj 5f14f8eb46 Default VPCS name format is now PC-{0}. 2018-01-09 23:40:35 +07:00
ziajka 7c91e46812 Development on v2.1.3dev1 2018-01-08 14:21:04 +01:00
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 840aa39457 Merge remote-tracking branch 'origin/2.1' 2017-11-16 15:04:33 +07:00
grossmj d3e55520d9 Merge remote-tracking branch 'remotes/origin/master' into 2.1 2017-11-16 15:03:20 +07:00
grossmj fb2e10d3c1 Merge remote-tracking branch 'remotes/origin/master' 2017-11-16 14:59:57 +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 ae328e5c50 Merge branch '2.1' into embed_shell 2017-06-07 18:21:41 +02:00
ziajka b9e2b7945a Removed gc collection at testing 2017-06-07 14:39:47 +02:00
Julien Duponchelle c538ec5937 Fix tests on case sensitive file system 2017-06-07 11:20:55 +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 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 93adef91d8 Merge branch '2.0' into 2.1 2017-05-31 16:58:31 +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 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
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 bdd980d6a2 Ignore console_hsot when loading topologie 2017-05-22 11:42:50 +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
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 bef1b2e8f1 Merge branch '2.0' into 2.1 2017-05-16 08:38:13 +02:00
Julien Duponchelle cd17ef6b12 Merge branch '2.0' into 2.1 2017-05-15 15:46:50 +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
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
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 9dc6f0f486 Embed the appliances in the server. (#927)
This add a /appliances call
2017-04-12 14:35:49 +02:00
Julien Duponchelle 4f1b738ef5 Merge branch '2.0' into 2.1 2017-03-30 10:16:16 +02: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 5036079deb Merge branch '2.0' into 2.1 2017-03-07 16:48:31 +01:00
Julien Duponchelle 6017ebbd97 Merge branch '2.0' into 2.1 2017-03-07 11:16:05 +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 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 1ab9ca2333 Merge branch '2.0' into 2.1 2017-02-28 14:25:38 +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 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 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 842e2c7fbf Merge branch '2.0' into 2.1 2017-02-02 11:54:03 +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 d901efae51 2.1.0dev1 2017-01-24 10:37:23 +01:00
652 changed files with 37306 additions and 3260 deletions

No files matched your search

+3 -1
View File
@@ -39,6 +39,7 @@ nosetests.xml
.project
.pydevproject
.settings
.vscode
# Pycharm
.idea
@@ -55,4 +56,5 @@ startup.vpcs
.gns3_shell_history
# Virtualenv
env
env
.ropeproject
+1 -1
View File
@@ -1,2 +1,2 @@
branch:
2.0
2.2
+22 -11
View File
@@ -1,21 +1,32 @@
language: python
python:
- '3.4'
- '3.5'
- '3.6'
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:
- mkdir ‡
- py.test -v -s tests --basetemp=‡
- docker-compose run tests
before_deploy:
- sudo pip install twine
- sudo pip install urllib3[secure]
deploy:
provider: pypi
edge:
branch: v1.8.45
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
+227
View File
@@ -1,5 +1,232 @@
# Change Log
## 2.1.7 12/06/2018
* Don't release NIO UDP ports when updating docker container.
* Timeout for stream file.
* Fix switching console type from telnet to VNC throws error.
* Fix timeout error with "save as" for large projects.
* Update API documentation
* Add API endpoint to return all links attached to a node.
* Fix issue with some SVG symbols that could not be used in GNS3. This was due to the height and width values being percentages.
* Show correct free disk space value.
* Force prompt-toolkit to version 1.0.15
* Remove unwanted trailing characters and other white spaces when reading .md5sum files.
* Change order to find vnetlib on Windows (PATH -> Registry -> Default directories).
## 2.1.6 22/05/2018
* Locks down async-timeout<3.0.0 for P3.4 support; Fixes: #1331
* Create/update project on compute when variables changes
* Support for nested global variables
* Don't clean logo images when applied to the project
* Support of supplier and variables in topology
* Project global variables
* Add command information when uBridge has an error. Ref #1289
* Handle asyncio timeouts. Ref #1307.
* Fix bug with export project. Ref #1187 #1307.
* Offload slow file operations to threads for snapshots and project "save as". Ref #1187 #1307.
* support based on init.sh, Ref: #2482
* Fix exception from send_signal() on Windows.
* Add support of ExtraHosts for Docker, Ref. gns3-gui#2482
## 2.1.5 18/04/2018
* Set the first byte to 0C when generating a random MAC address for a Qemu VM. Ref #1267.
* Update appliance files.
* Do not use VMnet0 when allocating VMnet adapters.
* Use SO_REUSEADDR before calling bind() where missing. Fixes #1289.
* Do not fail a Dynamips project conversion if a file being used.
* Catch exceptions when using AsyncioTelnetServer. Fixes #1321.
* Grid size support for projects.
* Remove 'include INSTALL' from MANIFEST.
* Fix issue with start all.
* Check for valid IP address and prevent to run on non-Windows platforms.
* Enable UDP tunnel option and use ICMP probing by default.
* Use the configured IP address to trace.
* Have TraceNG start without needing cmd.exe
## 2.1.4 12/03/2018
* Add Juniper JunOS space appliance.
* Sync checkpoint gaia appliance template.
* Sync appliance templates.
* Make sure we use an IPv4 address in the remote install script.
* Delete old pcap file when starting a new packet capture.
* Fix bug preventing to export portable projects with IOU images.
* Ignore invalid BPF filters. Ref #1290.
* Different approach to handle no data returned by uBridge hypervisors. Fixes #1289.
* Do not raise exception if Dynamips or uBridge hypervisor don't return data and are still running. Fixes #1289
* Fix Dynamips private config not loaded into nvram when starting a router. Fixes #1313.
* Make sure we don't try to read when opening a file in binary more. Fixes #1301.
* Compatybility with controller, default_symbol and hover_symbol, Fixes: #2444
* Filter snapshots directory during the snapshot, Fixes: #1297
* Handle docker env with last empty line, Fixes: #2420
* Require uBridge version 0.9.14 on Linux
* Pywin32 instead of pypiwin32, Ref. #1276
* Fix missing 'locales' package in base image
* Implement a minimum interval between psutil calls. Fixes #2262
* Fix error when appliance template is broken (missing fields). Fixes #1287.
* Fix "Change of linked base VM doesn't work with templates migrated from 2.0"
* Fix "Unable to override non-custom VMware adapter".
* Let a project be opened when a port cannot be found (can happens if a project is corrupted).
* Add an error message when Docker container is not ready to be started. Ref #1281.
* Update documentation.
* Sync appliance files.
* Fix issue when running multiple project containing IOU nodes on the same server. Ref #1239.
* Set first byte to 52 when generating a random MAC address for a Qemu VM. Ref #1267.
* Update link state and save project when a link is suspended or filters are added/removed (without node properties set).
* More generic dependency for pypiwin32, Ref. #1276
## 2.1.3 19/01/2018
* Update appliance files.
* Suspend for Docker nodes.
* Unlock yarl version and multidict
* Fix same MAC address for duplicated Qemu nodes.
* Fix same base MAC for duplicated IOS routers. Fixes #1264.
* Fix "Creating multiple IOU nodes at once assigns the same application id". Fixes #1239.
* Fix "Transport selection via DSN is deprecated" message. Sync is configured with HTTPTransport.
* Refresh CPU/RAM info every 1 second. Ref #2262.
* Rename ethernet switch arp command to mac
* Fix error while getting appliance list. Fixes #1258.
* Fix UnboundLocalError: local variable 'node' referenced before assignment. Fixes #1256.
* Default symbol must be computer.svg
* Compatibility for old node templates (those with default_symbol and hover_symbol properties).
* Fix problem when searching for VBoxManage. Fixes #1261.
* Improve the search for VBoxManage.
* Fixing race condition when starting the GNS3 VM.
* Default VPCS name format is now PC-{0}.
## 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
+3 -1
View File
@@ -5,7 +5,6 @@ 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
@@ -13,6 +12,7 @@ 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 \
locales \
python3-pip \
python3-dev \
qemu-system-x86 \
@@ -21,6 +21,8 @@ RUN apt-get update && apt-get install -y \
libvirt-bin \
x11vnc
RUN locale-gen en_US.UTF-8
# Install uninstall to install dependencies
RUN apt-get install -y vpcs ubridge
+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
-1
View File
@@ -1,6 +1,5 @@
include README.rst
include AUTHORS
include INSTALL
include LICENSE
include MANIFEST.in
include tox.ini
+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
+4
View File
@@ -0,0 +1,4 @@
tests:
build: .
dockerfile: /tmp/DockerfileTests
command: py.test -v -s tests
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:47 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:25 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}
@@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/eeee4a80-b66d-4865-b9e6-92582712210c'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/ff343cd6-7fac-420e-a426-1ad7ad5b71ee'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/eeee4a80-b66d-4865-b9e6-92582712210c HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/ff343cd6-7fac-420e-a426-1ad7ad5b71ee HTTP/1.1
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:16 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
@@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/85766740-75a7-40e7-9dc2-31af994af8cd/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/bc74c090-0772-4300-a93b-04f6ea2647a0/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/85766740-75a7-40e7-9dc2-31af994af8cd/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/bc74c090-0772-4300-a93b-04f6ea2647a0/adapters/0/ports/0/nio HTTP/1.1
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:14 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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 DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/908a6d69-00ce-403a-9627-a5a874acd69e/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7117741a-0e1a-4b84-87c6-20de525d9f68/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/908a6d69-00ce-403a-9627-a5a874acd69e/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7117741a-0e1a-4b84-87c6-20de525d9f68/adapters/0/ports/0/nio HTTP/1.1
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:42 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:18 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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 DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e3bd45e7-0097-4fa6-af79-017a6f20d7c5'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d3f81178-d4d7-4799-94be-5e5fb5c46aa4'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e3bd45e7-0097-4fa6-af79-017a6f20d7c5 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d3f81178-d4d7-4799-94be-5e5fb5c46aa4 HTTP/1.1
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:44 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:20 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
@@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9a33b2e9-8964-4ebc-bd59-054de444cf4f/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f5b0d377-3983-4483-a367-9c98f07a9852/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9a33b2e9-8964-4ebc-bd59-054de444cf4f/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f5b0d377-3983-4483-a367-9c98f07a9852/adapters/1/ports/0/nio HTTP/1.1
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:44 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:21 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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 DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/92b25428-6f34-41f0-b7ed-876cf67528c4'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/12b2d7f3-e7c7-46df-92a5-2758c8120fc2'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/92b25428-6f34-41f0-b7ed-876cf67528c4 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/12b2d7f3-e7c7-46df-92a5-2758c8120fc2 HTTP/1.1
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:23 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
@@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d468a9d2-40ce-4bda-92cf-0861eed15000/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/66b72078-b41c-44d8-bd8b-aba42d3f8401/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d468a9d2-40ce-4bda-92cf-0861eed15000/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/66b72078-b41c-44d8-bd8b-aba42d3f8401/adapters/0/ports/0/nio HTTP/1.1
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:22 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
@@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/80371207-d146-4f75-ac1f-efa58b2fbc0a'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5f7dc680-8b8f-426a-a551-d9fd65c9fb87'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/80371207-d146-4f75-ac1f-efa58b2fbc0a HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5f7dc680-8b8f-426a-a551-d9fd65c9fb87 HTTP/1.1
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:49 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
@@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/13ae9cf1-8289-4d3f-b97b-cc677f9dc8c8/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/65b29b91-c439-4dd1-b26d-9810d4d2c664/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/13ae9cf1-8289-4d3f-b97b-cc677f9dc8c8/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/65b29b91-c439-4dd1-b26d-9810d4d2c664/adapters/1/ports/0/nio HTTP/1.1
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:50 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:27 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/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/traceng/nodes/9af8deca-3a3c-4a62-871e-1f03ce648219'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/9af8deca-3a3c-4a62-871e-1f03ce648219 HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
@@ -0,0 +1,14 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/ff09abc5-54be-484b-8ce4-541c3540391b/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/ff09abc5-54be-484b-8ce4-541c3540391b/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
@@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/62493495-be49-416b-8761-4d9ed3709a80/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a738b8f9-c9fd-4c8d-a501-3d155372fd35/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/62493495-be49-416b-8761-4d9ed3709a80/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a738b8f9-c9fd-4c8d-a501-3d155372fd35/adapters/0/ports/0/nio HTTP/1.1
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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/245b57d1-8bc1-4eea-ab06-b52dba8b66e9/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/245b57d1-8bc1-4eea-ab06-b52dba8b66e9/adapters/0/ports/0/nio HTTP/1.1
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 07 Jun 2018 08:13:40 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
@@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/07f5aea7-ca70-4efb-b103-1033630ca889'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5181c59d-825a-49a1-99e7-13e86f32be4a'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/07f5aea7-ca70-4efb-b103-1033630ca889 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5181c59d-825a-49a1-99e7-13e86f32be4a HTTP/1.1
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:55 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:43 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
@@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f663baf3-b84f-4ad0-a8b8-b8a43ebd8a2d/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fc54e02b-6f48-46f8-9854-8424524f908b/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f663baf3-b84f-4ad0-a8b8-b8a43ebd8a2d/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fc54e02b-6f48-46f8-9854-8424524f908b/adapters/0/ports/0/nio HTTP/1.1
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:54 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:43 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
@@ -6,10 +6,10 @@ GET /v2/compute/capabilities HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 348
Content-Length: 366
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:14 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/capabilities
{
@@ -25,9 +25,10 @@ X-Route: /v2/compute/capabilities
"atm_switch",
"qemu",
"vmware",
"traceng",
"docker",
"iou"
],
"platform": "linuxdebian",
"version": "2.0.0dev11"
"version": "2.1.7dev1"
}
+2 -2
View File
@@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 149
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:21 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/iou/images
[
@@ -6,17 +6,17 @@ GET /v2/compute/network/interfaces HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 5665
Content-Length: 4266
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:46 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:24 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/network/interfaces
[
{
"id": "bridge0",
"ip_address": "",
"mac_address": "d2:00:1b:c0:17:80",
"mac_address": "ca:2a:14:12:34:00",
"name": "bridge0",
"netmask": "",
"special": true,
@@ -25,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,
@@ -33,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,
@@ -43,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,
@@ -52,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,
@@ -70,96 +70,15 @@ 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": "utun0",
"ip_address": "",
"mac_address": "",
"name": "utun0",
"netmask": "",
"special": false,
"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": "",
"mac_address": "0a:00:27:00:00:05",
"name": "vboxnet5",
"netmask": "",
"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",
"ip_address": "172.20.1.1",
"mac_address": "00:50:56:c0:00:01",
"name": "vmnet1",
"netmask": "255.255.255.0",
@@ -168,7 +87,7 @@ X-Route: /v2/compute/network/interfaces
},
{
"id": "vmnet10",
"ip_address": "172.16.7.1",
"ip_address": "172.20.10.1",
"mac_address": "00:50:56:c0:00:0a",
"name": "vmnet10",
"netmask": "255.255.255.0",
@@ -176,75 +95,93 @@ X-Route: /v2/compute/network/interfaces
"type": "ethernet"
},
{
"id": "vmnet2",
"ip_address": "172.16.0.1",
"mac_address": "00:50:56:c0:00:02",
"name": "vmnet2",
"id": "vmnet11",
"ip_address": "172.20.11.1",
"mac_address": "00:50:56:c0:00:0b",
"name": "vmnet11",
"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",
"id": "vmnet12",
"ip_address": "172.20.12.1",
"mac_address": "00:50:56:c0:00:0c",
"name": "vmnet12",
"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",
"id": "vmnet13",
"ip_address": "172.20.13.1",
"mac_address": "00:50:56:c0:00:0d",
"name": "vmnet13",
"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",
"id": "vmnet14",
"ip_address": "172.20.14.1",
"mac_address": "00:50:56:c0:00:0e",
"name": "vmnet14",
"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",
"id": "vmnet15",
"ip_address": "172.20.15.1",
"mac_address": "00:50:56:c0:00:0f",
"name": "vmnet15",
"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",
"id": "vmnet16",
"ip_address": "172.20.16.1",
"mac_address": "00:50:56:c0:00:10",
"name": "vmnet16",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet17",
"ip_address": "172.20.17.1",
"mac_address": "00:50:56:c0:00:11",
"name": "vmnet17",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet18",
"ip_address": "172.20.18.1",
"mac_address": "00:50:56:c0:00:12",
"name": "vmnet18",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet19",
"ip_address": "172.20.19.1",
"mac_address": "00:50:56:c0:00:13",
"name": "vmnet19",
"netmask": "255.255.255.0",
"special": true,
"type": "ethernet"
},
{
"id": "vmnet8",
"ip_address": "192.168.229.1",
"ip_address": "192.168.100.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"
}
]
+7 -5
View File
@@ -6,19 +6,21 @@ GET /v2/compute/projects HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 198
Content-Length: 252
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:47 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:25 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects
[
{
"name": "test",
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f",
"variables": null
},
{
"name": "test",
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b",
"variables": null
}
]
@@ -6,13 +6,14 @@ GET /v2/compute/projects/40010203-0405-0607-0809-0a0b0c0d0e02 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 80
Content-Length: 103
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:46 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:25 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}
{
"name": "test",
"project_id": "40010203-0405-0607-0809-0a0b0c0d0e02"
"project_id": "40010203-0405-0607-0809-0a0b0c0d0e02",
"variables": null
}
@@ -1,15 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/689c58e7-9112-4d4f-b5ea-37c5b478c332'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b766dfcb-041e-48a5-a06e-612c4628a95f'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/689c58e7-9112-4d4f-b5ea-37c5b478c332 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b766dfcb-041e-48a5-a06e-612c4628a95f HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 3855
Content-Length: 2926
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:14 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
{
@@ -49,51 +49,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"special": true,
"type": "ethernet"
},
{
"name": "utun0",
"special": false,
"type": "ethernet"
},
{
"name": "vboxnet0",
"special": true,
"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,
@@ -105,32 +60,47 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"type": "ethernet"
},
{
"name": "vmnet2",
"name": "vmnet11",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet3",
"name": "vmnet12",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet4",
"name": "vmnet13",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet5",
"name": "vmnet14",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet6",
"name": "vmnet15",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet7",
"name": "vmnet16",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet17",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet18",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet19",
"special": true,
"type": "ethernet"
},
@@ -138,16 +108,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"name": "vmnet8",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet9",
"special": true,
"type": "ethernet"
}
],
"name": "Cloud 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/builtin/689c58e7-9112-4d4f-b5ea-37c5b478c332",
"node_id": "689c58e7-9112-4d4f-b5ea-37c5b478c332",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/b766dfcb-041e-48a5-a06e-612c4628a95f",
"node_id": "b766dfcb-041e-48a5-a06e-612c4628a95f",
"ports_mapping": [
{
"interface": "en0",
@@ -166,12 +131,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"name": "en2",
"port_number": 2,
"type": "ethernet"
},
{
"interface": "utun0",
"name": "utun0",
"port_number": 3,
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
@@ -1,18 +1,19 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/61f62c73-8480-4598-92ec-178b2046a5da'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/00997700-f754-409b-bbf9-2774b17ade3c'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/61f62c73-8480-4598-92ec-178b2046a5da HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/00997700-f754-409b-bbf9-2774b17ade3c HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 768
Content-Length: 665
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:43 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:19 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
{
"application_id": 1,
"command_line": "",
"console": 5004,
"console_type": "telnet",
@@ -20,17 +21,13 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/iou/61f62c73-8480-4598-92ec-178b2046a5da",
"node_id": "61f62c73-8480-4598-92ec-178b2046a5da",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/00997700-f754-409b-bbf9-2774b17ade3c",
"node_id": "00997700-f754-409b-bbf9-2774b17ade3c",
"nvram": 128,
"path": "iou.bin",
"private_config": null,
"private_config_content": null,
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 256,
"serial_adapters": 2,
"startup_config": null,
"startup_config_content": null,
"status": "stopped",
"use_default_iou_values": true
}
@@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/cd149043-78a0-4fda-aa96-e74c3abd90e8'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d84b342a-2d54-444d-bb3b-61d7ff3cfa94'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/cd149043-78a0-4fda-aa96-e74c3abd90e8 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d84b342a-2d54-444d-bb3b-61d7ff3cfa94 HTTP/1.1
@@ -8,13 +8,13 @@ HTTP/1.1 200
Connection: close
Content-Length: 335
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:22 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
{
"name": "Nat 1",
"node_id": "cd149043-78a0-4fda-aa96-e74c3abd90e8",
"node_id": "d84b342a-2d54-444d-bb3b-61d7ff3cfa94",
"ports_mapping": [
{
"interface": "virbr0",
@@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6bdb5099-446a-43c4-9734-a2037011df6b'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6db387ed-c99c-4ecf-b7c5-882771ce8f9b'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6bdb5099-446a-43c4-9734-a2037011df6b HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6db387ed-c99c-4ecf-b7c5-882771ce8f9b HTTP/1.1
@@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 1468
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:48 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
{
@@ -44,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:df:6b:00",
"mac_address": "0c:dd:80:8f:9b:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/6bdb5099-446a-43c4-9734-a2037011df6b",
"node_id": "6bdb5099-446a-43c4-9734-a2037011df6b",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/6db387ed-c99c-4ecf-b7c5-882771ce8f9b",
"node_id": "6db387ed-c99c-4ecf-b7c5-882771ce8f9b",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""
@@ -0,0 +1,26 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/64614fb7-5040-4046-893d-35a8b6c75bb7'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/64614fb7-5040-4046-893d-35a8b6c75bb7 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 487
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
{
"command_line": "",
"console": 5004,
"console_type": "none",
"default_destination": "",
"ip_address": "",
"name": "TraceNG TEST 1",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/64614fb7-5040-4046-893d-35a8b6c75bb7",
"node_id": "64614fb7-5040-4046-893d-35a8b6c75bb7",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}
@@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/29d6dc03-42e5-4c3b-9892-4e69a3dbac7c'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afe8cb47-ddf2-4563-b821-12e9207ab994'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/29d6dc03-42e5-4c3b-9892-4e69a3dbac7c HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afe8cb47-ddf2-4563-b821-12e9207ab994 HTTP/1.1
@@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 465
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:52 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
{
@@ -22,7 +22,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
"linked_clone": false,
"name": "VMTEST",
"node_directory": null,
"node_id": "29d6dc03-42e5-4c3b-9892-4e69a3dbac7c",
"node_id": "afe8cb47-ddf2-4563-b821-12e9207ab994",
"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/574e26a7-a3be-4770-9a5e-1976b6621a15'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/574e26a7-a3be-4770-9a5e-1976b6621a15 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 688
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:31 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/574e26a7-a3be-4770-9a5e-1976b6621a15",
"node_id": "574e26a7-a3be-4770-9a5e-1976b6621a15",
"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,15 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8adc20e6-687b-4246-a470-be4a171ebd98'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/30bdb318-3e61-4679-a102-bf397bcaf821'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8adc20e6-687b-4246-a470-be4a171ebd98 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/30bdb318-3e61-4679-a102-bf397bcaf821 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 489
Content-Length: 428
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:42 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
{
@@ -17,10 +17,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
"console": 5004,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/8adc20e6-687b-4246-a470-be4a171ebd98",
"node_id": "8adc20e6-687b-4246-a470-be4a171ebd98",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/30bdb318-3e61-4679-a102-bf397bcaf821",
"node_id": "30bdb318-3e61-4679-a102-bf397bcaf821",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,
"status": "stopped"
}
@@ -12,8 +12,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 212
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:50 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:27 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/qemu/binaries
[
@@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 39
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:51 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:27 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/qemu/capabilities
{
+4 -4
View File
@@ -6,13 +6,13 @@ GET /v2/compute/version HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 50
Content-Length: 49
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:51 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/version
{
"local": true,
"version": "2.0.0dev11"
"version": "2.1.7dev1"
}
+5 -4
View File
@@ -9,13 +9,14 @@ POST /v2/compute/projects HTTP/1.1
HTTP/1.1 201
Connection: close
Content-Length: 80
Content-Length: 103
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:46 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:25 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects
{
"name": "test",
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f"
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
"variables": null
}
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:47 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:25 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/close
@@ -8,10 +8,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/
HTTP/1.1 201
Connection: close
Content-Length: 3855
Content-Length: 2926
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:14 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes
{
@@ -51,51 +51,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
"special": true,
"type": "ethernet"
},
{
"name": "utun0",
"special": false,
"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,
@@ -107,32 +62,47 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
"type": "ethernet"
},
{
"name": "vmnet2",
"name": "vmnet11",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet3",
"name": "vmnet12",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet4",
"name": "vmnet13",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet5",
"name": "vmnet14",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet6",
"name": "vmnet15",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet7",
"name": "vmnet16",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet17",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet18",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet19",
"special": true,
"type": "ethernet"
},
@@ -140,16 +110,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
"name": "vmnet8",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet9",
"special": true,
"type": "ethernet"
}
],
"name": "Cloud 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/builtin/c435790d-867a-4e10-8c1c-7faa9b0f8700",
"node_id": "c435790d-867a-4e10-8c1c-7faa9b0f8700",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/bd7f1bd9-2752-46bf-a09d-ba0190ac226b",
"node_id": "bd7f1bd9-2752-46bf-a09d-ba0190ac226b",
"ports_mapping": [
{
"interface": "en0",
@@ -168,12 +133,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
"name": "en2",
"port_number": 2,
"type": "ethernet"
},
{
"interface": "utun0",
"name": "utun0",
"port_number": 3,
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/91f7220f-e7da-4f00-b5bc-ef63c70b9f5b/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/be3c2398-9092-4d78-92af-215ba584ca89/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/91f7220f-e7da-4f00-b5bc-ef63c70b9f5b/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/be3c2398-9092-4d78-92af-215ba584ca89/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:14 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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/798507d5-9725-4bfa-945b-6a22d6c80f0f/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/3d15b76d-633d-495e-969f-bbada9d23583/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/798507d5-9725-4bfa-945b-6a22d6c80f0f/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3d15b76d-633d-495e-969f-bbada9d23583/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:42 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:18 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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/fd243cd9-627a-4aa5-89af-b935882611e5/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/a6cfdbb2-2e1f-498a-9bcd-26f93a3f7d91/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/fd243cd9-627a-4aa5-89af-b935882611e5/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a6cfdbb2-2e1f-498a-9bcd-26f93a3f7d91/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@@ -11,10 +11,10 @@ HTTP/1.1 200
Connection: close
Content-Length: 145
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:42 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:19 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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-51/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,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c58d8241-4b6c-439a-95dd-b259d221df8c/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/1da544b5-fbfe-4090-bfaf-ad29be48682e/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c58d8241-4b6c-439a-95dd-b259d221df8c/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/1da544b5-fbfe-4090-bfaf-ad29be48682e/adapters/0/ports/0/stop_capture HTTP/1.1
{}
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:42 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:19 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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/5bea2912-ed23-40f0-bb6f-ece2adab635d/duplicate' -d '{"destination_node_id": "0cc7ed41-e403-41ec-84ad-4322a5f68dd0"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5bea2912-ed23-40f0-bb6f-ece2adab635d/duplicate HTTP/1.1
{
"destination_node_id": "0cc7ed41-e403-41ec-84ad-4322a5f68dd0"
}
HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:19 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/duplicate
true
@@ -1,9 +1,9 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "fc04f13f-c54d-421e-9a05-bb2fcc16857a", "path": "iou.bin", "startup_config_content": "hostname test"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "aa8e15e5-218e-4333-9ef0-08b09f4841eb", "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": "fc04f13f-c54d-421e-9a05-bb2fcc16857a",
"node_id": "aa8e15e5-218e-4333-9ef0-08b09f4841eb",
"path": "iou.bin",
"startup_config_content": "hostname test"
}
@@ -11,13 +11,14 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.
HTTP/1.1 201
Connection: close
Content-Length: 792
Content-Length: 665
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:43 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:19 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes
{
"application_id": 1,
"command_line": "",
"console": 5004,
"console_type": "telnet",
@@ -25,17 +26,13 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/iou/fc04f13f-c54d-421e-9a05-bb2fcc16857a",
"node_id": "fc04f13f-c54d-421e-9a05-bb2fcc16857a",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/aa8e15e5-218e-4333-9ef0-08b09f4841eb",
"node_id": "aa8e15e5-218e-4333-9ef0-08b09f4841eb",
"nvram": 128,
"path": "iou.bin",
"private_config": null,
"private_config_content": null,
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 256,
"serial_adapters": 2,
"startup_config": "startup-config.cfg",
"startup_config_content": "echo hello",
"status": "stopped",
"use_default_iou_values": true
}
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1120208e-153d-4328-bf77-7c87de8b14d2/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/1bff8a0e-b7b7-42bb-9992-841feb5f0735/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1120208e-153d-4328-bf77-7c87de8b14d2/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1bff8a0e-b7b7-42bb-9992-841feb5f0735/adapters/1/ports/0/nio HTTP/1.1
{
"ethernet_device": "bridge0",
"type": "nio_ethernet"
@@ -11,8 +11,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 64
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:44 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:21 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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/9593ac62-eb3a-4f09-b351-90c26ed94b7e/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/17acdd5b-0e7e-43d0-97ad-56b3c028b933/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/9593ac62-eb3a-4f09-b351-90c26ed94b7e/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/17acdd5b-0e7e-43d0-97ad-56b3c028b933/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@@ -11,10 +11,10 @@ HTTP/1.1 200
Connection: close
Content-Length: 145
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:21 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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-51/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,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/61d07cd7-336f-43c9-8d54-148cf0b7cb49/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/eaa6bbcb-aa29-4ab3-89f9-c386f7c0c018/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/61d07cd7-336f-43c9-8d54-148cf0b7cb49/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/eaa6bbcb-aa29-4ab3-89f9-c386f7c0c018/adapters/0/ports/0/stop_capture HTTP/1.1
{}
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:21 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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/2dd69453-966f-4a15-83cd-10996ddfec7d/duplicate' -d '{"destination_node_id": "4970e2f4-c1d4-48c5-acb7-43c8f62ad6ec"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2dd69453-966f-4a15-83cd-10996ddfec7d/duplicate HTTP/1.1
{
"destination_node_id": "4970e2f4-c1d4-48c5-acb7-43c8f62ad6ec"
}
HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:22 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/duplicate
true
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/18fbfbba-4ccd-43e7-9f8b-5555e224809c/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/dee609a7-04c8-4434-9927-97fd71a5d2ed/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/18fbfbba-4ccd-43e7-9f8b-5555e224809c/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/dee609a7-04c8-4434-9927-97fd71a5d2ed/reload HTTP/1.1
{}
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:44 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:20 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/22195b00-9af2-48d0-9e98-7f31463c7fd2/start' -d '{"iourc_content": "test"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4040cc6-0b70-4855-a036-1b978d3851d7/start' -d '{"iourc_content": "test"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/22195b00-9af2-48d0-9e98-7f31463c7fd2/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4040cc6-0b70-4855-a036-1b978d3851d7/start HTTP/1.1
{
"iourc_content": "test"
}
@@ -8,13 +8,14 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/22195b0
HTTP/1.1 200
Connection: close
Content-Length: 768
Content-Length: 665
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:43 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:19 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
{
"application_id": 1,
"command_line": "",
"console": 5004,
"console_type": "telnet",
@@ -22,17 +23,13 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/iou/22195b00-9af2-48d0-9e98-7f31463c7fd2",
"node_id": "22195b00-9af2-48d0-9e98-7f31463c7fd2",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/b4040cc6-0b70-4855-a036-1b978d3851d7",
"node_id": "b4040cc6-0b70-4855-a036-1b978d3851d7",
"nvram": 128,
"path": "iou.bin",
"private_config": null,
"private_config_content": null,
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 256,
"serial_adapters": 2,
"startup_config": null,
"startup_config_content": null,
"status": "stopped",
"use_default_iou_values": true
}
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7b8cc3ee-4ed4-425b-85e4-673b79804390/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/548bb70c-74b2-460f-b5fd-de9e5729f5ab/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7b8cc3ee-4ed4-425b-85e4-673b79804390/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/548bb70c-74b2-460f-b5fd-de9e5729f5ab/stop HTTP/1.1
{}
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:43 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:20 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop
@@ -10,13 +10,13 @@ HTTP/1.1 201
Connection: close
Content-Length: 335
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:22 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes
{
"name": "Nat 1",
"node_id": "681a2b8d-0213-4851-9a40-9ecd68165e8e",
"node_id": "86f1f9e2-6d50-405f-93a2-dfa80867011a",
"ports_mapping": [
{
"interface": "virbr0",
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b952ac47-f2b1-4683-8e67-84b35c017b4e/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/01468e6b-9b4a-4c7f-b70f-558e1eb96f5f/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/b952ac47-f2b1-4683-8e67-84b35c017b4e/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/01468e6b-9b4a-4c7f-b70f-558e1eb96f5f/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:22 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{
@@ -8,8 +8,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 25
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:46 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:24 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/ports/udp
{
@@ -1,10 +1,10 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64", "ram": 1024}'
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/tmpuv9ozeux/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/tmp9s3gyopf/qemu-system-x86_64",
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
"ram": 1024
}
@@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 1514
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:48 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes
{
@@ -49,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:71:32:00",
"mac_address": "0c:dd:80:55:b9:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/e49b7703-f596-4e60-9e30-f5bc6f917132",
"node_id": "e49b7703-f596-4e60-9e30-f5bc6f917132",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/ae5793fb-4872-4b81-8255-3203266a55b9",
"node_id": "ae5793fb-4872-4b81-8255-3203266a55b9",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""
@@ -1,21 +1,25 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a6011c49-adf8-4e1e-8731-4c963315f662/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/efed1192-7f96-4a02-bea0-62b706547da4/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/a6011c49-adf8-4e1e-8731-4c963315f662/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/efed1192-7f96-4a02-bea0-62b706547da4/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
HTTP/1.1 201
Connection: close
Content-Length: 81
Content-Length: 89
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:50 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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/a24f3dd4-3216-4b8a-ac23-bec412dfaf91/duplicate' -d '{"destination_node_id": "89fbd11f-87db-4aca-ade9-8cc0cf335f33"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a24f3dd4-3216-4b8a-ac23-bec412dfaf91/duplicate HTTP/1.1
{
"destination_node_id": "89fbd11f-87db-4aca-ade9-8cc0cf335f33"
}
HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:27 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/duplicate
true
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/64933f6c-e8cb-480c-81a2-075de93d09d9/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/48ffbc55-174e-4e12-ac4d-70f4eaa52762/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/64933f6c-e8cb-480c-81a2-075de93d09d9/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/48ffbc55-174e-4e12-ac4d-70f4eaa52762/reload HTTP/1.1
{}
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:49 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/84a63d18-61c2-4a77-97eb-4d54b19b8825/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9bd844e1-0cd0-4924-a12f-2a8d7711746d/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/84a63d18-61c2-4a77-97eb-4d54b19b8825/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9bd844e1-0cd0-4924-a12f-2a8d7711746d/resume HTTP/1.1
{}
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:49 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0ec7c554-3bc6-42e2-9284-11b6b1e51db1/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d49b3617-cdad-4d3c-99e7-77ae9aad537f/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0ec7c554-3bc6-42e2-9284-11b6b1e51db1/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d49b3617-cdad-4d3c-99e7-77ae9aad537f/start HTTP/1.1
{}
@@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 1468
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:48 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
{
@@ -44,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:1d:b1:00",
"mac_address": "0c:dd:80:53:7f:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/0ec7c554-3bc6-42e2-9284-11b6b1e51db1",
"node_id": "0ec7c554-3bc6-42e2-9284-11b6b1e51db1",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/d49b3617-cdad-4d3c-99e7-77ae9aad537f",
"node_id": "d49b3617-cdad-4d3c-99e7-77ae9aad537f",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0c174db5-a2c4-464f-98e7-153b83532e35/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/90288c66-d6bb-4f80-9420-1a6d48e4d370/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0c174db5-a2c4-464f-98e7-153b83532e35/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/90288c66-d6bb-4f80-9420-1a6d48e4d370/stop HTTP/1.1
{}
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:48 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3668274c-d74e-4f59-ab74-ab52442ccf61/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/734f4016-698b-4907-a225-e690214811f3/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3668274c-d74e-4f59-ab74-ab52442ccf61/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/734f4016-698b-4907-a225-e690214811f3/suspend HTTP/1.1
{}
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:49 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:26 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend
@@ -0,0 +1,28 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes' -d '{"name": "TraceNG TEST 1"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes HTTP/1.1
{
"name": "TraceNG TEST 1"
}
HTTP/1.1 201
Connection: close
Content-Length: 487
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes
{
"command_line": "",
"console": 5004,
"console_type": "none",
"default_destination": "",
"ip_address": "",
"name": "TraceNG TEST 1",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/e12be8ef-0fb0-4199-ba0e-c7de6e538c40",
"node_id": "e12be8ef-0fb0-4199-ba0e-c7de6e538c40",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}
@@ -0,0 +1,25 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/45c99055-403f-4da2-a435-626c591d6185/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/traceng/nodes/45c99055-403f-4da2-a435-626c591d6185/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: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/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,17 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/5e8cf930-0ad4-4ebd-a16b-5b4d42b20115/duplicate' -d '{"destination_node_id": "e97a5cfc-4ac1-409c-a909-93a9902ae606"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/5e8cf930-0ad4-4ebd-a16b-5b4d42b20115/duplicate HTTP/1.1
{
"destination_node_id": "e97a5cfc-4ac1-409c-a909-93a9902ae606"
}
HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/duplicate
true
@@ -0,0 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/59be71df-e2e3-4f0b-bfe8-acace5dddcd6/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/59be71df-e2e3-4f0b-bfe8-acace5dddcd6/reload HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/reload
@@ -0,0 +1,28 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/4422948c-70b0-42ab-8448-ad136e433915/start' -d '{"destination": "192.168.1.2"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/4422948c-70b0-42ab-8448-ad136e433915/start HTTP/1.1
{
"destination": "192.168.1.2"
}
HTTP/1.1 200
Connection: close
Content-Length: 487
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/start
{
"command_line": "",
"console": 5004,
"console_type": "none",
"default_destination": "",
"ip_address": "",
"name": "TraceNG TEST 1",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/4422948c-70b0-42ab-8448-ad136e433915",
"node_id": "4422948c-70b0-42ab-8448-ad136e433915",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"status": "stopped"
}
@@ -0,0 +1,14 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/1b41defb-4fae-4681-89d1-a62fff2bfb70/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/1b41defb-4fae-4681-89d1-a62fff2bfb70/stop HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 07 Jun 2018 08:13:28 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/stop
@@ -12,8 +12,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 459
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:52 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
{
@@ -26,7 +26,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
"linked_clone": false,
"name": "VM1",
"node_directory": null,
"node_id": "4c74d21f-6af2-4fde-82a6-5e15c3037dd8",
"node_id": "e649e24c-a24b-4f43-8d60-42a054924fde",
"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/950553f4-1f4c-4d47-ab35-b00817c9dae9/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/de29fdcc-31c0-4884-9f3e-70ca810e4226/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/950553f4-1f4c-4d47-ab35-b00817c9dae9/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/de29fdcc-31c0-4884-9f3e-70ca810e4226/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/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/virtualbox/nodes/a89cbf17-8504-4590-a4db-214adf91b473/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3ebf79be-e793-4206-a3f3-6d152e44b25f/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a89cbf17-8504-4590-a4db-214adf91b473/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3ebf79be-e793-4206-a3f3-6d152e44b25f/reload HTTP/1.1
{}
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b11da8d7-abb5-401e-a53a-3ce767c1a1bb/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c28189c8-7850-4cdf-bc46-4eacb04e2248/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b11da8d7-abb5-401e-a53a-3ce767c1a1bb/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c28189c8-7850-4cdf-bc46-4eacb04e2248/resume HTTP/1.1
{}
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0e7a38fe-7626-4d75-a545-8b0764472eec/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/eab8b767-7449-4aa0-9462-92bb2310d1fa/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0e7a38fe-7626-4d75-a545-8b0764472eec/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/eab8b767-7449-4aa0-9462-92bb2310d1fa/start HTTP/1.1
{}
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:52 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/23d775e8-6206-4f15-9bad-3cc5c75dd219/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7bbe36bc-56a6-4dd4-9249-87fe3b6441db/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/23d775e8-6206-4f15-9bad-3cc5c75dd219/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7bbe36bc-56a6-4dd4-9249-87fe3b6441db/stop HTTP/1.1
{}
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:52 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b3e67522-dd20-4bde-b2e8-43e815d65b6d/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1178060c-aab7-4b6e-86ae-5bc25e7ea2fc/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b3e67522-dd20-4bde-b2e8-43e815d65b6d/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1178060c-aab7-4b6e-86ae-5bc25e7ea2fc/suspend HTTP/1.1
{}
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:52 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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: Thu, 07 Jun 2018 08:13:29 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/049de18e-e9b8-4b96-85b7-b81ef50ca43b",
"node_id": "049de18e-e9b8-4b96-85b7-b81ef50ca43b",
"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/a5bc0194-75eb-4b7f-a078-e201109e2054/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/a5bc0194-75eb-4b7f-a078-e201109e2054/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: Thu, 07 Jun 2018 08:13:38 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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/f54d856e-ee53-481b-a97b-42e86fcc8565/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f54d856e-ee53-481b-a97b-42e86fcc8565/reload HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 07 Jun 2018 08:13:36 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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/8f555145-eb0a-4456-8996-662e78098f00/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8f555145-eb0a-4456-8996-662e78098f00/resume HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 07 Jun 2018 08:13:35 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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/6a2fecb3-368c-497f-8c80-f732fdb611f3/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/6a2fecb3-368c-497f-8c80-f732fdb611f3/start HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 07 Jun 2018 08:13:32 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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/bdf5c29d-d011-4eaa-9ca3-6581d247fcb4/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/bdf5c29d-d011-4eaa-9ca3-6581d247fcb4/stop HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 07 Jun 2018 08:13:33 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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/ed27e250-ecb3-4a6d-a16f-73cb112f2cff/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/ed27e250-ecb3-4a6d-a16f-73cb112f2cff/suspend HTTP/1.1
{}
HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Thu, 07 Jun 2018 08:13:34 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/suspend
@@ -8,10 +8,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes HTTP/1
HTTP/1.1 201
Connection: close
Content-Length: 489
Content-Length: 428
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:42 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
{
@@ -19,10 +19,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
"console": 5004,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/54184038-3552-4386-8a8d-7c13080fae06",
"node_id": "54184038-3552-4386-8a8d-7c13080fae06",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/dd2fd65a-97d2-4e59-9627-b733fe88ee78",
"node_id": "dd2fd65a-97d2-4e59-9627-b733fe88ee78",
"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/ed43313f-0b29-44a2-9183-a3703fe1aad0/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/b1f7cb30-08aa-48cb-9059-2e741c8148aa/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/ed43313f-0b29-44a2-9183-a3703fe1aad0/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b1f7cb30-08aa-48cb-9059-2e741c8148aa/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:54 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:43 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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/ee94b631-1c6b-4ff6-ac7d-240900774ad3/duplicate' -d '{"destination_node_id": "1cdcdbf2-20bf-41f5-98dd-70fb9dc8773e"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ee94b631-1c6b-4ff6-ac7d-240900774ad3/duplicate HTTP/1.1
{
"destination_node_id": "1cdcdbf2-20bf-41f5-98dd-70fb9dc8773e"
}
HTTP/1.1 201
Connection: close
Content-Length: 4
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:43 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/duplicate
true
@@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cfdc8b6c-4254-4f9c-9095-7886c4b8894a/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5fd906a6-330f-458b-abf5-67ce959972fe/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cfdc8b6c-4254-4f9c-9095-7886c4b8894a/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5fd906a6-330f-458b-abf5-67ce959972fe/reload HTTP/1.1
{}
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:54 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:43 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload
@@ -1,15 +1,15 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/27e35650-731f-48a5-a318-92e2c00031a8/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a1cf1192-7d29-4fa8-8e1c-948f50eddabc/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/27e35650-731f-48a5-a318-92e2c00031a8/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a1cf1192-7d29-4fa8-8e1c-948f50eddabc/start HTTP/1.1
{}
HTTP/1.1 200
Connection: close
Content-Length: 489
Content-Length: 428
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:54 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:43 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
{
@@ -17,10 +17,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
"console": 5004,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/27e35650-731f-48a5-a318-92e2c00031a8",
"node_id": "27e35650-731f-48a5-a318-92e2c00031a8",
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/a1cf1192-7d29-4fa8-8e1c-948f50eddabc",
"node_id": "a1cf1192-7d29-4fa8-8e1c-948f50eddabc",
"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/bbe7cc55-ef05-4ae9-9d4c-b4aad8468c85/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/430c97cf-5605-400a-8c6b-546858b02664/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bbe7cc55-ef05-4ae9-9d4c-b4aad8468c85/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/430c97cf-5605-400a-8c6b-546858b02664/stop HTTP/1.1
{}
@@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:54 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:43 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop
+2 -2
View File
@@ -17,7 +17,7 @@ HTTP/1.1 201
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:51 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:27 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/qemu/img
@@ -0,0 +1,31 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/51010203-0405-0607-0809-0a0b0c0d0e0f' -d '{"variables": [{"name": "TEST1", "value": "VAL1"}]}'
PUT /v2/compute/projects/51010203-0405-0607-0809-0a0b0c0d0e0f HTTP/1.1
{
"variables": [
{
"name": "TEST1",
"value": "VAL1"
}
]
}
HTTP/1.1 200
Connection: close
Content-Length: 183
Content-Type: application/json
Date: Thu, 07 Jun 2018 08:13:25 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}
{
"name": "test",
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f",
"variables": [
{
"name": "TEST1",
"value": "VAL1"
}
]
}
@@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/35d71fe5-356d-440e-a170-d88e35258f06' -d '{"name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d964862d-8fa4-4d41-8b95-539c987d5828' -d '{"name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/35d71fe5-356d-440e-a170-d88e35258f06 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d964862d-8fa4-4d41-8b95-539c987d5828 HTTP/1.1
{
"name": "test"
}
@@ -8,10 +8,10 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/35d71f
HTTP/1.1 200
Connection: close
Content-Length: 3852
Content-Length: 2923
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:41 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:18 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
{
@@ -51,51 +51,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"special": true,
"type": "ethernet"
},
{
"name": "utun0",
"special": false,
"type": "ethernet"
},
{
"name": "vboxnet0",
"special": true,
"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,
@@ -107,32 +62,47 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"type": "ethernet"
},
{
"name": "vmnet2",
"name": "vmnet11",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet3",
"name": "vmnet12",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet4",
"name": "vmnet13",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet5",
"name": "vmnet14",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet6",
"name": "vmnet15",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet7",
"name": "vmnet16",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet17",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet18",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet19",
"special": true,
"type": "ethernet"
},
@@ -140,16 +110,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"name": "vmnet8",
"special": true,
"type": "ethernet"
},
{
"name": "vmnet9",
"special": true,
"type": "ethernet"
}
],
"name": "test",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/builtin/35d71fe5-356d-440e-a170-d88e35258f06",
"node_id": "35d71fe5-356d-440e-a170-d88e35258f06",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/d964862d-8fa4-4d41-8b95-539c987d5828",
"node_id": "d964862d-8fa4-4d41-8b95-539c987d5828",
"ports_mapping": [
{
"interface": "en0",
@@ -168,12 +133,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"name": "en2",
"port_number": 2,
"type": "ethernet"
},
{
"interface": "utun0",
"name": "utun0",
"port_number": 3,
"type": "ethernet"
}
],
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
@@ -0,0 +1,27 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a6bf11c2-5716-410f-bceb-5fe1b7780b81/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/a6bf11c2-5716-410f-bceb-5fe1b7780b81/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: Thu, 07 Jun 2018 08:13:14 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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,9 +1,10 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8df7b67d-41b8-48b7-a8b3-f25248b9af21' -d '{"console": 5006, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/d7e6571d-5d3c-42e3-9c88-5837c862a30f' -d '{"console": 5006, "environment": "GNS3=1\nGNS4=0", "extra_hosts": "test:127.0.0.1", "name": "test", "start_command": "yes"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8df7b67d-41b8-48b7-a8b3-f25248b9af21 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/d7e6571d-5d3c-42e3-9c88-5837c862a30f HTTP/1.1
{
"console": 5006,
"environment": "GNS3=1\nGNS4=0",
"extra_hosts": "test:127.0.0.1",
"name": "test",
"start_command": "yes"
}
@@ -11,10 +12,10 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8df7b
HTTP/1.1 200
Connection: close
Content-Length: 653
Content-Length: 690
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:42 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 07 Jun 2018 08:13:19 GMT
Server: Python/3.6 GNS3/2.1.7dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
{
@@ -27,10 +28,11 @@ X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
"console_type": "telnet",
"container_id": "8bd8153ea8f5",
"environment": "GNS3=1\nGNS4=0",
"extra_hosts": "test:127.0.0.1",
"image": "nginx:latest",
"name": "test",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/docker/8df7b67d-41b8-48b7-a8b3-f25248b9af21",
"node_id": "8df7b67d-41b8-48b7-a8b3-f25248b9af21",
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/docker/d7e6571d-5d3c-42e3-9c88-5837c862a30f",
"node_id": "d7e6571d-5d3c-42e3-9c88-5837c862a30f",
"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/28827b16-356e-45b5-9615-f9cba6ae1c8d/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/28827b16-356e-45b5-9615-f9cba6ae1c8d/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: Thu, 07 Jun 2018 08:13:18 GMT
Server: Python/3.6 GNS3/2.1.7dev1
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"
}
Loaded 100 of 652 files, more files were not shown because too many files have changed in this diff. Show more