mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-10 17:05:53 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ad632976f | ||
|
|
b8bf2bf465 | ||
|
|
55be74f93c | ||
|
|
7d591b0228 | ||
|
|
a059e6b943 | ||
|
|
c6990dfeee | ||
|
|
aff67b324f | ||
|
|
f7e90a7d7f | ||
|
|
ed6b1d909d | ||
|
|
010d65114d | ||
|
|
3dcb7799e3 | ||
|
|
aaaeb410d5 | ||
|
|
d506962bdb | ||
|
|
4d9728b6f5 | ||
|
|
ff9048b5a8 | ||
|
|
6c96be2acc | ||
|
|
21afaf31f9 | ||
|
|
8e5ac228d5 | ||
|
|
94f63f54ba | ||
|
|
cf91e904f7 | ||
|
|
767bb770ca | ||
|
|
bae3fb84b9 | ||
|
|
889d29ec55 | ||
|
|
d3ec2a7275 | ||
|
|
2d01ef489b | ||
|
|
d64d7de541 | ||
|
|
372017f467 | ||
|
|
826f6b2d57 | ||
|
|
0ae66a2608 | ||
|
|
380224dca1 | ||
|
|
af80b0bb6e | ||
|
|
b0df7ecabf | ||
|
|
4c83fc1243 | ||
|
|
69ba0ccf77 | ||
|
|
0681c296a7 | ||
|
|
3f679bd106 | ||
|
|
724eda1f35 | ||
|
|
3f7c4c0474 | ||
|
|
5b6011a248 | ||
|
|
80eb06f67c | ||
|
|
9132ba8d05 | ||
|
|
85ea1cf7a9 | ||
|
|
8cc8269842 | ||
|
|
52bfa636c1 | ||
|
|
4eca82174d | ||
|
|
32f5dbb645 | ||
|
|
7aae682f0a | ||
|
|
879e32eb9a | ||
|
|
01481cde1f | ||
|
|
b5deb9d177 | ||
|
|
a8990c9e89 | ||
|
|
e1aa13fa73 | ||
|
|
135d56371d | ||
|
|
7fe8f7e716 | ||
|
|
10702f87bc | ||
|
|
2fb5e47c8d | ||
|
|
4487e578bc | ||
|
|
5754747a90 | ||
|
|
62c51edbae | ||
|
|
a13d063aa1 | ||
|
|
1ef1872f8e | ||
|
|
657698a961 | ||
|
|
081ba31b50 | ||
|
|
aea4ae808f | ||
|
|
3e601a8a24 | ||
|
|
ae3515434c | ||
|
|
8e2d8f3962 | ||
|
|
589c9754e8 | ||
|
|
4ecd3b2015 | ||
|
|
84ee3263ba | ||
|
|
174624121d | ||
|
|
d9a9abf845 | ||
|
|
0b07299472 | ||
|
|
f7d0f54b6d | ||
|
|
96dce2ec82 | ||
|
|
117a1ac6da | ||
|
|
7fb192699b | ||
|
|
c14d79a3d5 | ||
|
|
e3757a8955 | ||
|
|
456ef1348b | ||
|
|
4b52e9313e | ||
|
|
474025175e | ||
|
|
191036e266 | ||
|
|
8360ae98b1 | ||
|
|
5a3929f01a | ||
|
|
aed6ea3aa0 | ||
|
|
95f91bde19 | ||
|
|
7c288fc61b | ||
|
|
12a4f95a8f | ||
|
|
c6afea49da | ||
|
|
bb284d082a | ||
|
|
a896346c77 | ||
|
|
161c05a310 | ||
|
|
f0ffb07165 | ||
|
|
ce048c6a00 | ||
|
|
289eee968e | ||
|
|
b68c0cf176 | ||
|
|
b20f2a116b | ||
|
|
cdb7eea888 | ||
|
|
b1123acb8a | ||
|
|
c736051dda | ||
|
|
9ed181151f | ||
|
|
40f8a33331 | ||
|
|
2a1822fe12 | ||
|
|
b66e42e650 | ||
|
|
485b8a3db4 | ||
|
|
eacc20cf07 | ||
|
|
e1c250a8dd | ||
|
|
eae9774d69 | ||
|
|
468145319d | ||
|
|
ed7b91ae3a | ||
|
|
d79f6b578d | ||
|
|
f76b329cba | ||
|
|
030714ae80 | ||
|
|
0fd54536d2 | ||
|
|
58b2ee152d | ||
|
|
bec2270334 | ||
|
|
56412b35e0 | ||
|
|
9fbdb25da8 | ||
|
|
fb0456fdfa | ||
|
|
d7c2e16c21 | ||
|
|
21c0a35f77 | ||
|
|
a17fa821bd | ||
|
|
b4a2bc5b47 | ||
|
|
f39c27ff7b | ||
|
|
db982f5df7 | ||
|
|
a93606d9ed | ||
|
|
dd14101eec | ||
|
|
83161bcdd4 | ||
|
|
1067f71952 | ||
|
|
8eb20525e8 | ||
|
|
219c346187 | ||
|
|
6a2d1e9b33 | ||
|
|
e2231b1220 | ||
|
|
e0813bfbe8 | ||
|
|
9f7f26700e | ||
|
|
51787295dd | ||
|
|
17d070dca7 | ||
|
|
301b7475f7 | ||
|
|
f442c6e9e1 | ||
|
|
2a3825543a | ||
|
|
df0f0c5b83 | ||
|
|
2e79da5fe1 | ||
|
|
4e2b8bfe7c | ||
|
|
68ecbffcf1 | ||
|
|
1289d20a14 | ||
|
|
53928b884f | ||
|
|
bc5eda8259 | ||
|
|
ff5ba3742e | ||
|
|
e5950674f8 | ||
|
|
5cb0957f35 | ||
|
|
7385d67c39 | ||
|
|
e8cb8d29d8 | ||
|
|
3fae6ada95 | ||
|
|
ca6a0708a8 | ||
|
|
3727487730 | ||
|
|
3497deaa31 | ||
|
|
3861d6a274 | ||
|
|
bd657c0167 | ||
|
|
9b83b087cb | ||
|
|
a33b8eac3a | ||
|
|
c7b8c347d7 | ||
|
|
53f3821d41 | ||
|
|
3512fde841 | ||
|
|
74e1463015 | ||
|
|
aa4593c993 | ||
|
|
82140c082c | ||
|
|
499ab9844a | ||
|
|
71fcf855b4 | ||
|
|
627c7e9cfe | ||
|
|
f486f07a61 | ||
|
|
1acc7777f9 | ||
|
|
1184f29b90 | ||
|
|
9aafa4e62f | ||
|
|
bb3edfe779 | ||
|
|
98f04365b7 | ||
|
|
cebb56387a | ||
|
|
f91d3c9dbb | ||
|
|
089fdff4f1 | ||
|
|
d45d52f15c | ||
|
|
36474f7bab | ||
|
|
f0fe9d39fa | ||
|
|
887b32c4bc | ||
|
|
f03ba5ca0b | ||
|
|
97758a09f4 | ||
|
|
41fbbf7a56 | ||
|
|
fcd102317a | ||
|
|
7bc67cb41f | ||
|
|
249b2255f6 | ||
|
|
78c693ff63 | ||
|
|
2764828f38 | ||
|
|
bf1b801cc0 | ||
|
|
4158edf8e2 | ||
|
|
fa5571ced1 | ||
|
|
df36d8377d | ||
|
|
ab8dc52ece | ||
|
|
9ae9209881 | ||
|
|
86f87aec74 | ||
|
|
8217f65e97 | ||
|
|
de5934f818 | ||
|
|
76af98404a | ||
|
|
93b6c0e49d | ||
|
|
14fb64b941 | ||
|
|
8baa480b79 | ||
|
|
97c68f56bf | ||
|
|
22f7ca0243 | ||
|
|
eb97ebf311 | ||
|
|
de5a6ca8c7 | ||
|
|
9de13c570c | ||
|
|
0b919aa8c9 | ||
|
|
b10d79c37a | ||
|
|
6822ff65a2 | ||
|
|
ef4db112f1 | ||
|
|
86be4f98f1 | ||
|
|
3c332b895d | ||
|
|
33e8710495 | ||
|
|
9ef23ce6a8 | ||
|
|
b7f9b865c8 | ||
|
|
651d8280a7 | ||
|
|
5958a23557 | ||
|
|
a78ee18977 | ||
|
|
1e33e94c15 | ||
|
|
8699f2e2b0 | ||
|
|
7f72b90b0e | ||
|
|
dac3ba19b7 | ||
|
|
daa2de4541 | ||
|
|
29620f4ea3 | ||
|
|
1fd010484d | ||
|
|
c48eebcc5d | ||
|
|
c0521732a9 | ||
|
|
c9767a06b3 | ||
|
|
652d5788c3 | ||
|
|
89f7169589 | ||
|
|
a54359d243 | ||
|
|
e3c8c9d484 | ||
|
|
cc52a6a6b5 | ||
|
|
033f005bde | ||
|
|
1cc1ccd511 | ||
|
|
ec8cfcd0f9 | ||
|
|
dd845eb096 | ||
|
|
41026c74c1 | ||
|
|
7d75b6248d | ||
|
|
21780fa2ed | ||
|
|
aed1989cdf | ||
|
|
0e1f2e26d0 | ||
|
|
6dc2ae8641 | ||
|
|
867e997b74 | ||
|
|
96d5e351f7 | ||
|
|
1550c7bee7 | ||
|
|
1f017a0d1d | ||
|
|
40151cd1fe | ||
|
|
1905a99ce7 | ||
|
|
7f27cb7015 | ||
|
|
d1ccf3bc84 | ||
|
|
21a1800edc | ||
|
|
2ea0aa5ded | ||
|
|
ee5317948b | ||
|
|
22a71b0e8c | ||
|
|
7622c10cc9 | ||
|
|
adc2f69d5d | ||
|
|
395277d5c5 | ||
|
|
1d7f67695a | ||
|
|
757c103c03 | ||
|
|
509b171b06 | ||
|
|
ea0009db6c | ||
|
|
3d1ee4da3f | ||
|
|
64949f5d04 | ||
|
|
669d2ec038 | ||
|
|
ff7911bd99 | ||
|
|
6cec67f79f | ||
|
|
caa2bda71b | ||
|
|
d419d3fa39 | ||
|
|
5d704aa478 | ||
|
|
e52775fa3a | ||
|
|
54661c50b2 | ||
|
|
b6275deeef | ||
|
|
b8353bc0d5 | ||
|
|
a40fdb3641 | ||
|
|
135bbe8825 | ||
|
|
9a9ac6d9f7 | ||
|
|
17bfed52f2 | ||
|
|
44f2acffa5 | ||
|
|
85dcb985eb | ||
|
|
279b4d7b20 | ||
|
|
8b91894fa4 | ||
|
|
cde30f8f53 | ||
|
|
c7875f93a3 | ||
|
|
b7e436efdf | ||
|
|
aaf59e6050 | ||
|
|
08493871a5 | ||
|
|
fb3bcf3b8f | ||
|
|
90ce6093d8 | ||
|
|
88674455a3 | ||
|
|
658aa4bae9 | ||
|
|
2a5f3221b9 | ||
|
|
78ea230673 | ||
|
|
09c7d73ee9 | ||
|
|
835bc24b44 | ||
|
|
603442509a | ||
|
|
89b352890c | ||
|
|
56b901a831 | ||
|
|
1b3065750d | ||
|
|
f1d8ee30cd | ||
|
|
629c7be395 | ||
|
|
c0ff37039d | ||
|
|
29b9b0431c | ||
|
|
cf5b24e829 | ||
|
|
f9853a1cc3 | ||
|
|
d14e3d084d | ||
|
|
53e36d1ed5 | ||
|
|
403645d2f0 | ||
|
|
9921db2183 | ||
|
|
62e03148c1 | ||
|
|
bb26e8acdd | ||
|
|
1582ac3195 | ||
|
|
7fe6508e73 | ||
|
|
eeae07e783 | ||
|
|
dc377165f2 | ||
|
|
6868e20a70 | ||
|
|
3c5ca9ce0e | ||
|
|
d9a0ec9ff3 | ||
|
|
838d82a98b | ||
|
|
05983f2838 | ||
|
|
c532e6392d | ||
|
|
e05f93abd3 | ||
|
|
647c1dbb05 | ||
|
|
28f8216590 | ||
|
|
e54ccc26b0 | ||
|
|
588339487f | ||
|
|
6e2752648a | ||
|
|
09b1cac676 | ||
|
|
e754db950d | ||
|
|
68d8fecc36 | ||
|
|
5a6b0cc07b | ||
|
|
0ce5b80a1d | ||
|
|
49f1ef9693 |
No files matched your search
@@ -1,5 +1,6 @@
|
||||
*.py[cod]
|
||||
__pycache__
|
||||
.pytest_cache
|
||||
|
||||
#py.test
|
||||
.cache
|
||||
|
||||
@@ -27,7 +27,6 @@ deploy:
|
||||
|
||||
env:
|
||||
matrix:
|
||||
- PYTHON_VERSION=3.4
|
||||
- PYTHON_VERSION=3.5
|
||||
- PYTHON_VERSION=3.6
|
||||
- PYTHON_VERSION=3.7
|
||||
@@ -1,5 +1,187 @@
|
||||
# Change Log
|
||||
|
||||
## 2.2.0a2 14/03/2019
|
||||
|
||||
* Web-UI v2019.1.0-alpha.1
|
||||
* Update docs for update-bundled-web-ui.sh
|
||||
* Fix issue when loading and quickly closing a project and opening it again. Fixes #1501.
|
||||
* Disable unreliable nested virtualization check.
|
||||
* Fix issue not checking build number on Windows.
|
||||
* Change Hyper-V requirement checks.
|
||||
* Early support for symbol themes.
|
||||
* Re-order handlers in order to prevent CORS
|
||||
* Download custom appliance symbols from GitHub Fix symbol cache issue. Ref https://github.com/GNS3/gns3-gui/issues/2671 Fix temporary directory for symbols was not deleted Fix temporary appliance file was not deleted
|
||||
* Option to export snapshots.
|
||||
* Support tags versioned WebUI when bundling
|
||||
* Support selecting a compression type when exporting a project.
|
||||
* Change how VPCS executable is searched.
|
||||
* Use aiofiles where relevant.
|
||||
* Update paths for binaries moved to the MacOS directory in GNS3.app
|
||||
* Locked state should not be used when duplicating a node.
|
||||
* Handle locking/unlocking items independently from the layer position.
|
||||
* Use aiozipstream for snapshots. Fix tests.
|
||||
* Project duplication support.
|
||||
|
||||
## 2.2.0a1 29/01/2019
|
||||
|
||||
* Restore reload support for nodes.
|
||||
* Tune how to get the size of SVG images. Ref https://github.com/GNS3/gns3-gui/issues/2674. * Default for missing height/width is "100%" as defined in the SVG specification * Better error message, if viewBox attribute is missing * Removal of "%" in percent more fault tolerant by using rstrip("%")
|
||||
* Fix DeprecationWarning: invalid escape sequence. Fixes https://github.com/GNS3/gns3-gui/issues/2670
|
||||
* Fix issue with coroutine not awaited. Fixes #1499
|
||||
* Remove "deprecated" node for VirtualBox based GNS3 VM support. Ref #1377
|
||||
* Fix wrong controller method call.
|
||||
* Move appliance and template management code in their own classes.
|
||||
* Try to delete saved VM state only if a snapshot has been saved.
|
||||
* Set socket options SO_KEEPALIVE and TCP_NODELAY for embedded Telnet server. Ref #1335
|
||||
* Fix issue with notification queue that prevented to properly close projects. Fix #1493
|
||||
* Fix issue with "usage" variable for Dynamips VMs. Fixes #1495
|
||||
* New node information dialog to display general, usage and command line information. Ref https://github.com/GNS3/gns3-gui/issues/2662 https://github.com/GNS3/gns3-gui/issues/2656
|
||||
* Support "usage" field for Dynamips, IOU, VirtualBox and VMware. Fixes https://github.com/GNS3/gns3-gui/issues/2657
|
||||
* Automatically create a symbolic link to the IOU image in the IOU working directory. Fixes #1484
|
||||
* Merge remote-tracking branch 'origin/2.1' into 2.1
|
||||
* Fix link pause/filters only work for the first interface of Docker containers. Fixes #1482
|
||||
* Fix ConnectionResetError issues and switch to aiohttp version 3.4.4. Fixes #1474.
|
||||
* Fix server authentication.
|
||||
* Fix issue when there is no gns3_controller.conf. Fixes https://github.com/GNS3/gns3-gui/issues/2644
|
||||
* Fix non responsive console for Docker VMs. Fixes https://github.com/GNS3/gns3-gui/issues/2645
|
||||
* Back to classic symbol theme. Ref https://github.com/GNS3/gns3-gui/issues/2644
|
||||
* docker_vm: fix x11vnc not starting
|
||||
* Use "template" to name what we use to create new nodes.
|
||||
* Use project instead of topology where appropriate.
|
||||
* Make sure nothing is named "compute server".
|
||||
* Allow usage property in Docker appliance.
|
||||
* Use "node" instead of "appliance" for grid support.
|
||||
* Telnet console resize support for Docker VM.
|
||||
* Allow appliances to be loaded from file without the appliance id.
|
||||
* Update schema to allow for drawing grid size to be part of project.
|
||||
* Avoid _fix_permissions() to be called twice when stopping Docker VM. Ref #1428
|
||||
* Fix _fix_permissions() garbles permissions in Docker VM. Ref #1428
|
||||
* Fix "None is not of type 'integer'" when opening project containing a Qemu VM. Fixes #2610.
|
||||
* Remove useless warning.
|
||||
* Normalize symbol ID on Windows.
|
||||
* Use POSIX path for symbol ID.
|
||||
* Early support for symbol themes.
|
||||
* Fix broken examples in API documentation.
|
||||
* Add more information about appliances to the API documentation.
|
||||
* Use Python3.6 to build the API documentation.
|
||||
* Add missing files for API documentation.
|
||||
* Restore previously removed test.
|
||||
* Update API documentation for appliance endpoints. Ref https://github.com/GNS3/gns3-gui/issues/2630
|
||||
* Require privileged access for uBridge when using VMware VMs and Docker containers. Fixes #1461.
|
||||
* Only require privileged access for uBridge when connecting a cloud to an Ethernet/TAP interface. Fixes #1461.
|
||||
* Allow virtual machines to use files in project directory as disk images.
|
||||
* Support to duplicate an appliance.
|
||||
* Fix mac address schema validation for Qemu VM appliance. Fixes https://github.com/GNS3/gns3-gui/issues/2629
|
||||
* Support "L1 keepalives" in IOU appliance schema.
|
||||
* Remove problematic test when run on Travis.
|
||||
* Change test that randomly fails on Travis.
|
||||
* Fix small bugs when using the new appliance management API.
|
||||
* Fix bug with custom adapters and categories for Docker VM. Fixes https://github.com/GNS3/gns3-gui/issues/2613
|
||||
* Handle custom adapters in schemas.
|
||||
* Reorganize how appliance creation is validated against JSON schemas. This allows for clearer error messages when validation fails.
|
||||
* Use schema to set appliance default values and better schema validation error messages.
|
||||
* Schema validation for appliance API. Ref #1427.
|
||||
* Remove generic controller settings API endpoint.
|
||||
* Working dedicated appliance management API. Ref https://github.com/GNS3/gns3-server/issues/1427
|
||||
* Support Xtigervnc restart.
|
||||
* Only require Xtigervnc or Xvfb+x11vnc for Docker with vnc console. Ref #1438
|
||||
* Support tigervnc in Docker VM. Ref #1438
|
||||
* Base for dedicated appliance management API. Ref https://github.com/GNS3/gns3-server/issues/1427
|
||||
* Reorder routes in order to get working CORS
|
||||
* Fix CORS response on node deletion, Fixes: #1446
|
||||
* Disable CORS cache, Fixes: #1445
|
||||
* Refactor how clients access PCAP capture files. Fixes https://github.com/GNS3/gns3-gui/issues/2438.
|
||||
* Remove static dir configuration
|
||||
* FIX PUT CORS for nodes, Fixes: #1434
|
||||
* Fix installation with Python 3.7. Fixes #1414. Fix deprecated use of aiohttp.Timeout. Fixes #1296. Use "async with" with aiohttp.ClientSession(). Make sure websocket connections are properly closed, see https://docs.aiohttp.org/en/stable/web_advanced.html#graceful-shutdown Finish to drop Python 3.4.
|
||||
* Drop Python 3.4 and switch to async / await syntax for asyncio. Fixes #1425
|
||||
* Added "/sbin" to init script PATH variable so that its possible to use more sophosticated dhcp clients (compared to the udhcpc that is provided by busybox) by installing them into the docker image in the normal way.
|
||||
* Notify users if x11vnc process has crashed. Fix #1401.
|
||||
* Return compute port information via API. Ref #1420.
|
||||
* Fix platform.linux_distribution() is deprecated. Fixes https://github.com/GNS3/gns3-gui/issues/2578
|
||||
* Update minimum VIX version requirements for VMware. Ref #1415.
|
||||
* Disable static directory. Ref https://github.com/GNS3/gns3-gui/issues/2558.
|
||||
* Include HTTP error code when reporting an error while download appliance templates from GitHub repository.
|
||||
* Optimize appliance templates update from GitHub repository by only downloading when the repository has been updated. Ref https://github.com/GNS3/gns3-gui/issues/2490
|
||||
* Fix appliance template tests.
|
||||
* Update appliance templates from online registry. Ref #2490.
|
||||
* Add missing doc pages.
|
||||
* Update docs for controller_notifications and project_notifications.
|
||||
* The server has now 2 notification streams * A new one for controller related events (compute, appliance templates etc.) * The existing one for project related events (links, nodes etc.)
|
||||
* Allow custom symbols to be sub-directories.
|
||||
* Add affinity symbols. Ref https://github.com/GNS3/gns3-gui/issues/2488
|
||||
* ACPI shutdown for GNS3 VM running on Hyper-V. Ref https://github.com/GNS3/gns3-gui/issues/763
|
||||
* Hyper-V support for GNS3 VM. Fixes https://github.com/GNS3/gns3-gui/issues/763
|
||||
* Get IP address from guest Hyper-V VM. Ref https://github.com/GNS3/gns3-gui/issues/763
|
||||
* Early Hyper-V support to run the GNS3 VM. Ref https://github.com/GNS3/gns3-gui/issues/763.
|
||||
* Add appliance UUID added to the node data. Fixes #1334.
|
||||
* Clean GNS3 close if one remote server is down. Fixes #1357.
|
||||
* Mark VirtualBox support for running the GNS3 VM as deprecated. Ref #1377.
|
||||
* Change default z value for nodes to 1
|
||||
* Re-enable static directory
|
||||
* Disable static/ dir, Ref: #2532
|
||||
* Fix tests on Windows
|
||||
* Use mocked dir for web-ui redirection test
|
||||
* Use mocked dir of web-ui for tests
|
||||
* Gitkeep for web-ui directory
|
||||
* Serve WebUI handlers and update-bundled-web-ui script, Ref: #1362
|
||||
* Support /static/ files serving, Ref: #1362
|
||||
* Console support for clouds (to connect to external devices or services).
|
||||
* Fix switching console type from telnet to VNC throws error. Fixes #2489.
|
||||
* Fix saved VM state was not deleted correctly.
|
||||
* Fix problem with VM saved stated.
|
||||
* Returns the ports' adapter types and mac addresses when available.
|
||||
* Support for console auto start.
|
||||
* Possibility to customize port names and adapter types for Qemu, VirtualBox, VMware and Docker. Fixes #2361. MAC addresses can customized for Qemu as well.
|
||||
* Allow to have projects with the same name in different locations.
|
||||
* Save state feature for VirtualBox and VMware. New "On close" setting to select the action to execute when closing/stopping a Qemu/VirtualBox/VMware VM.
|
||||
* Support for suspend to disk / resume (Qemu).
|
||||
* Fix bug with 'none' console type for Ethernet switch. Fix some tests related to traceng.
|
||||
* Allow to resize a Qemu VM disk (extend only).
|
||||
* Allow to select the default NAT interface in preferences for local server.
|
||||
* Spice with agent support for Qemu VMs.
|
||||
* Check if the HAXM service is running when starting a Qemu VM with hardware acceleration. Ref #1242.
|
||||
* Support for console type "none".
|
||||
* Support for none console type (Qemu & Docker only)
|
||||
* Fix bug and add optimizations when connecting and sending commands to QEMU monitor after starting a VM. Fixes #2336.
|
||||
* Check if HAXM support is installed on macOS. Ref #1242.
|
||||
* Fix some issues with hardware acceleration support for Qemu.
|
||||
* Support Qemu with HAXM acceleration. Ref #1242.
|
||||
* Fix packet filters for Dynamips.
|
||||
* Fix link filters/suspend tests.
|
||||
* Improve suspend a link for Qemu and VirtualBox VMs. A suspended link will be unplugged allowing the VMs to be notified of the change.
|
||||
* Qemu VM support to detect when a link is plugged/unplugged.
|
||||
* Allow to configure the interface to be used by the NAT node. Fixes #1175.
|
||||
* Restrict the list of available Ethernet/TAP adapters. Fixes #352.
|
||||
* Basic project stats.
|
||||
* Filter snapshots directory during the snapshot, Fixes: #1297
|
||||
* Calculate MD5 on thread and before json response, Ref. gui#2239
|
||||
* Cancellable md5sum calculation on thread, Ref. gui#2239
|
||||
* Compute md5sum on thread and don't block main server, Ref. gui#2239
|
||||
* Replace asyncio.async with ensure_future because of deprecation, Fixes: #1269
|
||||
* Implement #1153 into 2.2 branch.
|
||||
* Pin prompt-toolkit to latest version 1.0.15
|
||||
|
||||
## 2.1.14 27/02/2019
|
||||
|
||||
* Fix issue when setting cpuid.corespersocket for the GNS3 VM. Fixes https://github.com/GNS3/gns3-gui/issues/2723
|
||||
* Bump ACPI Shutdown Timeout to 120 seconds. Ref #1536
|
||||
|
||||
## 2.1.13 26/02/2019
|
||||
|
||||
* Force jsonschema dependency to 2.6.0
|
||||
* Less aggressive connections to uBridge. Ref #1289
|
||||
* Fix topology images (Pictures) disappearing from projects. Fixes #1514.
|
||||
* Reset MAC addresses when duplicating a project. Fixes #1522
|
||||
* Fix API call to create a node from an appliance doesn't return the new node data. Fixes #1527
|
||||
* Detect invalid environment variable and send a warning when creating a Docker node. Ref #2683
|
||||
* Do not export/import symlinks for projects. Fixes #2699
|
||||
* Fix symlink not being created for duplicated IOU devices. Fixes https://github.com/GNS3/gns3-gui/issues/2699
|
||||
* Configure coresPerSocket value in VMX file for the GNS3 VM. Fixes https://github.com/GNS3/gns3-gui/issues/2688
|
||||
* Count logical CPUs to detect if the number of vCPUs is too high when configuring the GNS3 VM. Fixes #2688.
|
||||
* Add explicit error when trying to pull a Docker image from Docker Hub without Internet access. Fixes #1506.
|
||||
* Fixes double display output in GRUB in QEMU v3.1. Fixes #1516.
|
||||
|
||||
## 2.1.12 23/01/2019
|
||||
|
||||
* Tune how to get the size of SVG images. Ref https://github.com/GNS3/gns3-gui/issues/2674.
|
||||
@@ -34,7 +216,7 @@
|
||||
* Add missing coroutine decorator Ref https://github.com/GNS3/gns3-gui/issues/2566
|
||||
* Refactor asyncio locking system for Python 3.7 support. Ref https://github.com/GNS3/gns3-gui/issues/2566 Ref https://github.com/GNS3/gns3-gui/issues/2568
|
||||
* Use asyncio.ensure_future() instead of asyncio.async() with conservative approach to support Python < 3.4.4. Fixes https://github.com/GNS3/gns3-gui/issues/2566
|
||||
* Forbid controller and compute servers to be different versions. Report last compute server error to clients and display in the server summary.
|
||||
* Forbid controller and computes to be different versions. Report last compute error to clients and display in the server summary.
|
||||
* Fix exception with short names for Dynamips interfaces. Fixes #1386.
|
||||
* Add missing Qemu boot priority values. Fixes https://github.com/GNS3/gns3-server/issues/1385
|
||||
|
||||
@@ -565,7 +747,7 @@
|
||||
* Trust user for host binding of link adress
|
||||
* Code cleanup for docker interface creation
|
||||
* Fix a rare crash when writing a file on a remote server
|
||||
* Fix delete project on remote compute server
|
||||
* Fix delete project on remote compute
|
||||
* Fix trouble with builtin devices when we free ports
|
||||
* When a dynamips command failed display the full command to the user
|
||||
* Raise error when we can't found VboxManage at GNS3 VM startup
|
||||
|
||||
+1
-1
@@ -171,7 +171,7 @@ and homebrew: http://brew.sh/.
|
||||
.. code:: bash
|
||||
|
||||
brew install python3
|
||||
mkvirtualenv gns3-server --python=/usr/local/bin/python3.4
|
||||
mkvirtualenv gns3-server --python=/usr/local/bin/python3.5
|
||||
python3 setup.py install
|
||||
gns3server
|
||||
|
||||
|
||||
+15
-5
@@ -39,6 +39,14 @@ user = gns3
|
||||
; Password for HTTP authentication.
|
||||
password = gns3
|
||||
|
||||
; Only allow these interfaces to be used by GNS3, for the Cloud node for example (Linux/OSX only)
|
||||
; Do not forget to allow virbr0 in order for the NAT node to work
|
||||
allowed_interfaces = eth0,eth1,virbr0
|
||||
|
||||
; Specify the NAT interface to be used by the NAT node
|
||||
; Default is virbr0 on Linux (requires libvirt) and vmnet8 for other platforms (requires VMware)
|
||||
default_nat_interface = vmnet10
|
||||
|
||||
[VPCS]
|
||||
; VPCS executable location, default: search in PATH
|
||||
;vpcs_path = vpcs
|
||||
@@ -53,15 +61,17 @@ sparse_memory_support = True
|
||||
ghost_ios_support = True
|
||||
|
||||
[IOU]
|
||||
; iouyap executable path, default: search in PATH
|
||||
;iouyap_path = iouyap
|
||||
; Path of your .iourc file. If not provided, the file is searched in $HOME/.iourc
|
||||
iourc_path = /home/gns3/.iourc
|
||||
; Validate if the iourc license file is correct. If you turn this off and your licence is invalid IOU will not start and no errors will be shown.
|
||||
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 !!
|
||||
; !! Remember to add the gns3 user to the KVM group, otherwise you will not have read / write permissions to /dev/kvm !! (Linux only, has priority over enable_hardware_acceleration)
|
||||
enable_kvm = True
|
||||
; Require KVM to be installed in order to start VMs
|
||||
require_kvm = True
|
||||
; Require KVM to be installed in order to start VMs (Linux only, has priority over require_hardware_acceleration)
|
||||
require_kvm = True
|
||||
; Enable hardware acceleration (all platforms)
|
||||
enable_hardware_acceleration = True
|
||||
; Require hardware acceleration in order to start VMs (all platforms)
|
||||
require_hardware_acceleration = True
|
||||
@@ -1,7 +1,6 @@
|
||||
-rrequirements.txt
|
||||
|
||||
sphinx==1.6.2
|
||||
pytest==3.1.1
|
||||
pep8==1.7.0
|
||||
pytest-catchlog==1.2.2
|
||||
pytest-timeout==1.2.0
|
||||
sphinx==1.8.3
|
||||
pytest==4.3.1
|
||||
pep8==1.7.1
|
||||
pytest-timeout==1.3.3
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:56 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:28 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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/f95094c7-e60b-494a-9e2e-1029e8ba7520'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/3360e11c-26d3-451e-816c-3b9795eb06d3'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f95094c7-e60b-494a-9e2e-1029e8ba7520 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/3360e11c-26d3-451e-816c-3b9795eb06d3 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:53 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:20 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/cb9bad9b-ce54-4e3d-bfc8-ce71102679f3/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/c38ef164-64b2-49be-9089-aa86a016a591/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/cb9bad9b-ce54-4e3d-bfc8-ce71102679f3/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/c38ef164-64b2-49be-9089-aa86a016a591/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: Thu, 14 Jun 2018 08:34:52 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:19 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/f1895cc9-b108-4d2d-9124-4dce48c1c129/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/75595095-e77d-499a-a819-53181ffcd424/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/f1895cc9-b108-4d2d-9124-4dce48c1c129/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/75595095-e77d-499a-a819-53181ffcd424/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: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:21 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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/66c8500b-f0d5-44c9-82c1-0d3da540244e'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e4e9399-ab2f-4aa1-b179-0540bc0d210a'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/66c8500b-f0d5-44c9-82c1-0d3da540244e HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e4e9399-ab2f-4aa1-b179-0540bc0d210a HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:23 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d6229240-1a46-4d3c-a1a9-337d26a77b5e/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/714cfcf5-dcc5-4ade-b446-db8b7f4fbb51/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d6229240-1a46-4d3c-a1a9-337d26a77b5e/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/714cfcf5-dcc5-4ade-b446-db8b7f4fbb51/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: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:24 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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/4a2593fd-366d-4522-a97e-073a181286d2'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2bf3e396-461e-4146-a73f-03cd18003404'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/4a2593fd-366d-4522-a97e-073a181286d2 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2bf3e396-461e-4146-a73f-03cd18003404 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:26 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2ba5227f-4507-4711-844a-99dec989438e/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/150a3db5-ffe5-4cd7-a46e-110de6a90cbb/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2ba5227f-4507-4711-844a-99dec989438e/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/150a3db5-ffe5-4cd7-a46e-110de6a90cbb/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: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:25 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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/3473a78b-a3f5-4881-8b9e-f19aa53bd728'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3bdc6702-c0ad-4afd-bc6a-fd457719b87a'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3473a78b-a3f5-4881-8b9e-f19aa53bd728 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3bdc6702-c0ad-4afd-bc6a-fd457719b87a HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:48 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7c89c8c7-e145-4025-a087-a7d7e07d608f/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0102ab45-51b2-4216-9bbe-569e1b1e7f21/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7c89c8c7-e145-4025-a087-a7d7e07d608f/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0102ab45-51b2-4216-9bbe-569e1b1e7f21/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: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:54 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/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/traceng/nodes/9ec32584-d2e6-4755-9e90-43a6f183eb4b'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/0c00bfff-1fe8-46bc-bf55-a17c58089f71'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/9ec32584-d2e6-4755-9e90-43a6f183eb4b HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/0c00bfff-1fe8-46bc-bf55-a17c58089f71 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:11 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/0d9d51bc-c5a5-45a9-ad54-5f6e9f363cdf/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/69b48ad6-c4a9-46bf-b356-218affe230a2/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/0d9d51bc-c5a5-45a9-ad54-5f6e9f363cdf/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/69b48ad6-c4a9-46bf-b356-218affe230a2/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: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:11 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e829e5dc-bd64-4143-ae29-fae4badae401/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b2f1e9e5-7b30-4d1b-b324-4698bfe48b6c/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e829e5dc-bd64-4143-ae29-fae4badae401/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b2f1e9e5-7b30-4d1b-b324-4698bfe48b6c/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: Thu, 14 Jun 2018 08:34:59 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:12 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/d5bc283f-2d66-4cf6-8ee2-98ad1262b32f/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/6c1f9d23-6382-4f65-ab55-c2a0fdb435d9/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/d5bc283f-2d66-4cf6-8ee2-98ad1262b32f/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/6c1f9d23-6382-4f65-ab55-c2a0fdb435d9/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: Thu, 14 Jun 2018 08:35:09 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:24 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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/ffbdfb95-bf03-4183-8a10-9d33f16ac422'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/80752573-30d2-4cf2-b7dc-545cf54ec04c'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ffbdfb95-bf03-4183-8a10-9d33f16ac422 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/80752573-30d2-4cf2-b7dc-545cf54ec04c HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:35:11 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:30 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4696f8f1-830d-4075-bd0e-717732c8dec5/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/eba2cf96-4001-401b-a7fa-d8cb56c09130/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/4696f8f1-830d-4075-bd0e-717732c8dec5/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/eba2cf96-4001-401b-a7fa-d8cb56c09130/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: Thu, 14 Jun 2018 08:35:11 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:30 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
@@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 366
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:52 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:18 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/capabilities
|
||||
|
||||
{
|
||||
@@ -30,5 +30,5 @@ X-Route: /v2/compute/capabilities
|
||||
"iou"
|
||||
],
|
||||
"platform": "linuxdebian",
|
||||
"version": "2.1.8dev1"
|
||||
"version": "2.2.0dev5"
|
||||
}
|
||||
@@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 149
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:24 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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: 2298
|
||||
Content-Length: 2933
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:56 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:27 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/network/interfaces
|
||||
|
||||
[
|
||||
{
|
||||
"id": "docker0",
|
||||
"ip_address": "172.17.0.1",
|
||||
"mac_address": "02:42:3f:1f:8d:78",
|
||||
"mac_address": "02:42:c8:f1:08:fb",
|
||||
"name": "docker0",
|
||||
"netmask": "255.255.0.0",
|
||||
"special": true,
|
||||
@@ -31,6 +31,33 @@ X-Route: /v2/compute/network/interfaces
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vboxnet0",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:00",
|
||||
"name": "vboxnet0",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vboxnet1",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:01",
|
||||
"name": "vboxnet1",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vboxnet2",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:02",
|
||||
"name": "vboxnet2",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "virbr0",
|
||||
"ip_address": "192.168.122.1",
|
||||
@@ -96,10 +123,10 @@ X-Route: /v2/compute/network/interfaces
|
||||
},
|
||||
{
|
||||
"id": "wlp58s0",
|
||||
"ip_address": "192.168.208.79",
|
||||
"ip_address": "192.168.0.110",
|
||||
"mac_address": "9c:b6:d0:dc:20:29",
|
||||
"name": "wlp58s0",
|
||||
"netmask": "255.255.248.0",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
}
|
||||
|
||||
@@ -8,19 +8,19 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 252
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:56 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:27 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
[
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b",
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"variables": null
|
||||
},
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b",
|
||||
"variables": null
|
||||
}
|
||||
]
|
||||
@@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:56 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:27 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
||||
{
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b81b6f71-e77e-4b7b-8db9-916d4fa832e3'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/2961f72c-eb53-4208-849f-5e7e00940507'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b81b6f71-e77e-4b7b-8db9-916d4fa832e3 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/2961f72c-eb53-4208-849f-5e7e00940507 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 1608
|
||||
Content-Length: 2080
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:52 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:18 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
{
|
||||
@@ -24,6 +24,21 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet1",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "virbr0",
|
||||
"special": true,
|
||||
@@ -66,8 +81,8 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/builtin/b81b6f71-e77e-4b7b-8db9-916d4fa832e3",
|
||||
"node_id": "b81b6f71-e77e-4b7b-8db9-916d4fa832e3",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-4/test_json4/project-files/builtin/2961f72c-eb53-4208-849f-5e7e00940507",
|
||||
"node_id": "2961f72c-eb53-4208-849f-5e7e00940507",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "wlp58s0",
|
||||
@@ -77,5 +92,9 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"remote_console_host": "",
|
||||
"remote_console_http_path": "/",
|
||||
"remote_console_port": 23,
|
||||
"remote_console_type": "none",
|
||||
"status": "started"
|
||||
}
|
||||
@@ -1,15 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2e0bc10f-63ba-4eb6-92fb-9a0ae7b63604'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f3e6c8bb-24ad-4fae-9801-3ddcaac30766'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2e0bc10f-63ba-4eb6-92fb-9a0ae7b63604 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f3e6c8bb-24ad-4fae-9801-3ddcaac30766 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 614
|
||||
Content-Length: 613
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:22 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
{
|
||||
@@ -21,8 +21,8 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/iou/2e0bc10f-63ba-4eb6-92fb-9a0ae7b63604",
|
||||
"node_id": "2e0bc10f-63ba-4eb6-92fb-9a0ae7b63604",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-4/test_json4/project-files/iou/f3e6c8bb-24ad-4fae-9801-3ddcaac30766",
|
||||
"node_id": "f3e6c8bb-24ad-4fae-9801-3ddcaac30766",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/aa1d9e41-69f6-4963-9d02-480579c677ba'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/900de20b-6a92-43cc-a282-379b9ee1978b'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/aa1d9e41-69f6-4963-9d02-480579c677ba HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/900de20b-6a92-43cc-a282-379b9ee1978b HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@@ -8,13 +8,13 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 335
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:25 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "aa1d9e41-69f6-4963-9d02-480579c677ba",
|
||||
"node_id": "900de20b-6a92-43cc-a282-379b9ee1978b",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "virbr0",
|
||||
|
||||
@@ -1,19 +1,18 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e8bbffed-1df7-4d26-a087-da71227cbfeb'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dfd98734-6cf7-4d50-91e4-62031ccf3bd7'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/e8bbffed-1df7-4d26-a087-da71227cbfeb HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dfd98734-6cf7-4d50-91e4-62031ccf3bd7 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 1380
|
||||
Content-Length: 1381
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:35 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 1,
|
||||
"bios_image": "",
|
||||
@@ -44,15 +43,16 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "0c:dd:80:bf:eb:00",
|
||||
"mac_address": "0c:dd:80:3b:d7:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/e8bbffed-1df7-4d26-a087-da71227cbfeb",
|
||||
"node_id": "e8bbffed-1df7-4d26-a087-da71227cbfeb",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/dfd98734-6cf7-4d50-91e4-62031ccf3bd7",
|
||||
"node_id": "dfd98734-6cf7-4d50-91e4-62031ccf3bd7",
|
||||
"on_close": "power_off",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/tmp/tmpxudfhxk5/qemu-system-x86_64",
|
||||
"qemu_path": "/tmp/tmpxi6put1f/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/31217585-67d0-48b8-b629-97282dd2529e'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/651758df-548e-4ece-8f97-1c6a5dee8c38'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/31217585-67d0-48b8-b629-97282dd2529e HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/651758df-548e-4ece-8f97-1c6a5dee8c38 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@@ -8,19 +8,19 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 443
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:11 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5004,
|
||||
"console": null,
|
||||
"console_type": "none",
|
||||
"default_destination": "",
|
||||
"ip_address": "",
|
||||
"name": "TraceNG TEST 1",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/31217585-67d0-48b8-b629-97282dd2529e",
|
||||
"node_id": "31217585-67d0-48b8-b629-97282dd2529e",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/651758df-548e-4ece-8f97-1c6a5dee8c38",
|
||||
"node_id": "651758df-548e-4ece-8f97-1c6a5dee8c38",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
@@ -1,19 +1,18 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/49b530f4-2887-4493-8863-5ba7b7ca65c6'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4fc74400-1849-44b6-b7dc-273152d79809'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/49b530f4-2887-4493-8863-5ba7b7ca65c6 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4fc74400-1849-44b6-b7dc-273152d79809 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 465
|
||||
Content-Length: 466
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:11 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
|
||||
"adapters": 0,
|
||||
"console": 5004,
|
||||
@@ -22,7 +21,8 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
"linked_clone": false,
|
||||
"name": "VMTEST",
|
||||
"node_directory": null,
|
||||
"node_id": "49b530f4-2887-4493-8863-5ba7b7ca65c6",
|
||||
"node_id": "4fc74400-1849-44b6-b7dc-273152d79809",
|
||||
"on_close": "power_off",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/1da29a87-e7df-48f5-a409-2627e47f6895'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/84173e66-2262-40ca-b75e-736ce388a297'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/1da29a87-e7df-48f5-a409-2627e47f6895 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/84173e66-2262-40ca-b75e-736ce388a297 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@@ -8,12 +8,11 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 593
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:35:00 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:13 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 0,
|
||||
"console": 5004,
|
||||
@@ -21,10 +20,11 @@ X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VMTEST",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/1da29a87-e7df-48f5-a409-2627e47f6895",
|
||||
"node_id": "1da29a87-e7df-48f5-a409-2627e47f6895",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/84173e66-2262-40ca-b75e-736ce388a297",
|
||||
"node_id": "84173e66-2262-40ca-b75e-736ce388a297",
|
||||
"on_close": "power_off",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-23/test_vmware_get0/test.vmx"
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-4/test_vmware_get0/test.vmx"
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2bb8ee4e-1428-4cbe-bfb3-95c397fbc1d7'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/485fb23a-85ed-4368-8282-4fe27dac131c'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2bb8ee4e-1428-4cbe-bfb3-95c397fbc1d7 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/485fb23a-85ed-4368-8282-4fe27dac131c HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 384
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:35:11 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:29 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
||||
{
|
||||
@@ -17,8 +17,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/2bb8ee4e-1428-4cbe-bfb3-95c397fbc1d7",
|
||||
"node_id": "2bb8ee4e-1428-4cbe-bfb3-95c397fbc1d7",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/485fb23a-85ed-4368-8282-4fe27dac131c",
|
||||
"node_id": "485fb23a-85ed-4368-8282-4fe27dac131c",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
@@ -12,8 +12,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 212
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:57 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/qemu/binaries
|
||||
|
||||
[
|
||||
|
||||
@@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 39
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:07 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/qemu/capabilities
|
||||
|
||||
{
|
||||
|
||||
@@ -8,11 +8,11 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 49
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:10 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/version
|
||||
|
||||
{
|
||||
"local": true,
|
||||
"version": "2.1.8dev1"
|
||||
"version": "2.2.0dev5"
|
||||
}
|
||||
@@ -11,8 +11,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:56 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:27 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:56 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:28 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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: 1608
|
||||
Content-Length: 2080
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:52 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:18 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
|
||||
{
|
||||
@@ -26,6 +26,21 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet1",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "virbr0",
|
||||
"special": true,
|
||||
@@ -68,8 +83,8 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/builtin/6afa389a-7677-4c7c-9ba4-92c792d58254",
|
||||
"node_id": "6afa389a-7677-4c7c-9ba4-92c792d58254",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-4/test_json4/project-files/builtin/0d70f188-011d-4579-bea0-08e5b3cca9cf",
|
||||
"node_id": "0d70f188-011d-4579-bea0-08e5b3cca9cf",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "wlp58s0",
|
||||
@@ -79,5 +94,9 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"remote_console_host": "",
|
||||
"remote_console_http_path": "/",
|
||||
"remote_console_port": 23,
|
||||
"remote_console_type": "none",
|
||||
"status": "started"
|
||||
}
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d65cf983-0042-48a7-866c-e14a2acb09b4/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/04d6296e-a130-4911-b016-53640d3b9177/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/d65cf983-0042-48a7-866c-e14a2acb09b4/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/04d6296e-a130-4911-b016-53640d3b9177/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: Thu, 14 Jun 2018 08:34:52 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:18 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/462bd2f8-bef3-4e34-b838-3865eab18135/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/cloud/nodes/462bd2f8-bef3-4e34-b838-3865eab18135/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Nov 2018 15:08:20 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-4/test_json4/project-files/captures/test.pcap"
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/3a44f2d8-9f17-4310-928e-09ee6c453a86/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/3a44f2d8-9f17-4310-928e-09ee6c453a86/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 27 Nov 2018 15:08:20 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/dff4edfe-a290-47c3-aa89-599e848cdffd/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/782e459b-1d97-44a4-8e45-ca104775fde9/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/dff4edfe-a290-47c3-aa89-599e848cdffd/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/782e459b-1d97-44a4-8e45-ca104775fde9/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: Thu, 14 Jun 2018 08:34:53 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:20 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
||||
+6
-6
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b4be74c6-88ef-496b-b0d4-988282e777cb/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/92ae4335-196a-47d8-b3b8-61ddfd0585b2/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/b4be74c6-88ef-496b-b0d4-988282e777cb/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/92ae4335-196a-47d8-b3b8-61ddfd0585b2/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@@ -9,12 +9,12 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b4be
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 94
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:21 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-23/test_json4/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-4/test_json4/project-files/captures/test.pcap"
|
||||
}
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/6dcbdc92-435a-4b17-beaf-8ec8ab75a2e3/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8daefd15-92c6-4771-9ceb-a4c237aa8a54/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/6dcbdc92-435a-4b17-beaf-8ec8ab75a2e3/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8daefd15-92c6-4771-9ceb-a4c237aa8a54/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: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:21 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/321e9656-62f1-4e50-a390-4296f37c9f19/duplicate' -d '{"destination_node_id": "0c4fae0a-6712-4fb2-a85f-713c204de98f"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a2d184de-1715-40e4-8deb-febb8b6fdda4/duplicate' -d '{"destination_node_id": "b376a49d-beaf-499d-a46b-5a90bb8e2b9b"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/321e9656-62f1-4e50-a390-4296f37c9f19/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a2d184de-1715-40e4-8deb-febb8b6fdda4/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "0c4fae0a-6712-4fb2-a85f-713c204de98f"
|
||||
"destination_node_id": "b376a49d-beaf-499d-a46b-5a90bb8e2b9b"
|
||||
}
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:21 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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": "f327173c-2a79-4dee-b57f-eb60c907483b", "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": "af0c8352-3d57-4c09-b22c-75907bc83998", "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": "f327173c-2a79-4dee-b57f-eb60c907483b",
|
||||
"node_id": "af0c8352-3d57-4c09-b22c-75907bc83998",
|
||||
"path": "iou.bin",
|
||||
"startup_config_content": "hostname test"
|
||||
}
|
||||
@@ -11,10 +11,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 614
|
||||
Content-Length: 613
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:22 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes
|
||||
|
||||
{
|
||||
@@ -26,8 +26,8 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/iou/f327173c-2a79-4dee-b57f-eb60c907483b",
|
||||
"node_id": "f327173c-2a79-4dee-b57f-eb60c907483b",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-4/test_json4/project-files/iou/af0c8352-3d57-4c09-b22c-75907bc83998",
|
||||
"node_id": "af0c8352-3d57-4c09-b22c-75907bc83998",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8df211ee-c604-4870-b13e-b175a3dff8d7/adapters/1/ports/0/nio' -d '{"ethernet_device": "docker0", "type": "nio_ethernet"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d7bb14dd-29fd-439e-85e9-80b131349036/adapters/1/ports/0/nio' -d '{"ethernet_device": "docker0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8df211ee-c604-4870-b13e-b175a3dff8d7/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d7bb14dd-29fd-439e-85e9-80b131349036/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "docker0",
|
||||
"type": "nio_ethernet"
|
||||
@@ -11,8 +11,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 64
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:23 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
||||
+6
-6
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/98f97bfa-322d-425a-ba2e-d03486033ae9/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/d8488cff-9b41-41ba-860c-37a504e6977a/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/98f97bfa-322d-425a-ba2e-d03486033ae9/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d8488cff-9b41-41ba-860c-37a504e6977a/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@@ -9,12 +9,12 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/98f97bf
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 94
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:24 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-23/test_json4/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-4/test_json4/project-files/captures/test.pcap"
|
||||
}
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/751ce475-5613-443f-8780-5b5972a90129/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/42bb9e25-5ec5-4ff2-821a-22f67d796076/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/751ce475-5613-443f-8780-5b5972a90129/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/42bb9e25-5ec5-4ff2-821a-22f67d796076/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: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:24 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8142c124-6d3f-4625-a823-4bf6cc153ab1/duplicate' -d '{"destination_node_id": "71b49bc3-8bd3-4c5f-aea9-5d10e9e6f925"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/289e83b9-de14-4a68-888f-9935a17541f3/duplicate' -d '{"destination_node_id": "d9da492d-961c-415d-a010-236c766df202"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8142c124-6d3f-4625-a823-4bf6cc153ab1/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/289e83b9-de14-4a68-888f-9935a17541f3/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "71b49bc3-8bd3-4c5f-aea9-5d10e9e6f925"
|
||||
"destination_node_id": "d9da492d-961c-415d-a010-236c766df202"
|
||||
}
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:25 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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/b2581707-0cb5-489c-b5c8-bd3eaacdd553/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3c856690-dfe7-4b52-a60e-4138266a53bc/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b2581707-0cb5-489c-b5c8-bd3eaacdd553/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3c856690-dfe7-4b52-a60e-4138266a53bc/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:23 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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/32cba1e5-0164-45a4-872f-82a5f6ef03a4/start' -d '{"iourc_content": "test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1b5ae4df-87f3-4147-89c9-6d4b620da98e/start' -d '{"iourc_content": "test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/32cba1e5-0164-45a4-872f-82a5f6ef03a4/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1b5ae4df-87f3-4147-89c9-6d4b620da98e/start HTTP/1.1
|
||||
{
|
||||
"iourc_content": "test"
|
||||
}
|
||||
@@ -8,10 +8,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/32cba1e
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 614
|
||||
Content-Length: 613
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:22 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
@@ -23,8 +23,8 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-23/test_json4/project-files/iou/32cba1e5-0164-45a4-872f-82a5f6ef03a4",
|
||||
"node_id": "32cba1e5-0164-45a4-872f-82a5f6ef03a4",
|
||||
"node_directory": "/tmp/pytest-of-grossmj/pytest-4/test_json4/project-files/iou/1b5ae4df-87f3-4147-89c9-6d4b620da98e",
|
||||
"node_id": "1b5ae4df-87f3-4147-89c9-6d4b620da98e",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"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/iou/nodes/e6efba87-de17-4acf-8b20-d87707995a8c/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e861bf80-237e-4a67-a684-f16d95f76f10/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e6efba87-de17-4acf-8b20-d87707995a8c/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e861bf80-237e-4a67-a684-f16d95f76f10/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:54 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:23 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:25 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "c7f8a476-550c-44a3-8f05-bf466a41269a",
|
||||
"node_id": "27f88559-160a-4b95-9598-18885ed04611",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "virbr0",
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/4c485c6e-cdbe-4c02-aecb-c2d5e780660a/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/babed314-a02e-47fa-b0f8-5303760e913a/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/4c485c6e-cdbe-4c02-aecb-c2d5e780660a/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/babed314-a02e-47fa-b0f8-5303760e913a/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: Thu, 14 Jun 2018 08:34:55 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:25 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/6042edef-a8be-425d-9770-4de136ddf15b/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/nat/nodes/6042edef-a8be-425d-9770-4de136ddf15b/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Nov 2018 15:08:27 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/tmp/pytest-of-grossmj/pytest-4/test_json4/project-files/captures/test.pcap"
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/479977eb-d06e-4de4-b18e-60b9091cc685/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/479977eb-d06e-4de4-b18e-60b9091cc685/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 27 Nov 2018 15:08:27 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
@@ -8,8 +8,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 25
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:56 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:27 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/ports/udp
|
||||
|
||||
{
|
||||
|
||||
@@ -1,24 +1,22 @@
|
||||
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": "/tmp/tmpxudfhxk5/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": "hello.img", "name": "PC TEST 1", "qemu_path": "/tmp/tmpxi6put1f/qemu-system-x86_64"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1.1
|
||||
{
|
||||
"hda_disk_image": "linux\u8f7d.img",
|
||||
"hda_disk_image": "hello.img",
|
||||
"name": "PC TEST 1",
|
||||
"qemu_path": "/tmp/tmpxudfhxk5/qemu-system-x86_64",
|
||||
"ram": 1024
|
||||
"qemu_path": "/tmp/tmpxi6put1f/qemu-system-x86_64"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 1426
|
||||
Content-Length: 1420
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:32 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 1,
|
||||
"bios_image": "",
|
||||
@@ -31,8 +29,8 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
"console_type": "telnet",
|
||||
"cpu_throttling": 0,
|
||||
"cpus": 1,
|
||||
"hda_disk_image": "linux\u8f7d.img",
|
||||
"hda_disk_image_md5sum": "c4ca4238a0b923820dcc509a6f75849b",
|
||||
"hda_disk_image": "hello.img",
|
||||
"hda_disk_image_md5sum": "7d793037a0760186574b0282f2f435e7",
|
||||
"hda_disk_interface": "ide",
|
||||
"hdb_disk_image": "",
|
||||
"hdb_disk_image_md5sum": null,
|
||||
@@ -49,16 +47,17 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "0c:dd:80:13:88:00",
|
||||
"mac_address": "0c:dd:80:f3:28:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/996eaefe-4054-4d06-b168-fca77cf51388",
|
||||
"node_id": "996eaefe-4054-4d06-b168-fca77cf51388",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/deb71d41-dc02-40a0-b0f5-da58d5ebf328",
|
||||
"node_id": "deb71d41-dc02-40a0-b0f5-da58d5ebf328",
|
||||
"on_close": "power_off",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/tmp/tmpxudfhxk5/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"qemu_path": "/tmp/tmpxi6put1f/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
}
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5b7ad468-5b30-4ec8-9598-2273b87a2a27/adapters/1/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/qemu/nodes/c9b6d0d4-36ff-4069-80d3-bbb3859ba03c/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/5b7ad468-5b30-4ec8-9598-2273b87a2a27/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c9b6d0d4-36ff-4069-80d3-bbb3859ba03c/adapters/1/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: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:51 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/db42c33e-8892-463f-a07d-c14f45592ed0/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/qemu/nodes/db42c33e-8892-463f-a07d-c14f45592ed0/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 123
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Nov 2018 15:09:08 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/96d90082-9b57-4aa1-b9af-79953343098f/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/96d90082-9b57-4aa1-b9af-79953343098f/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 27 Nov 2018 15:09:09 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/81abf90e-540d-4753-9886-ba6f78507f77/duplicate' -d '{"destination_node_id": "15910e58-81d1-49a5-bf21-6140656abef1"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/91a8bb18-86b6-4917-95d1-973043099b32/duplicate' -d '{"destination_node_id": "93289c0d-e0ab-4c18-8ad8-7efb9054a7d4"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/81abf90e-540d-4753-9886-ba6f78507f77/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/91a8bb18-86b6-4917-95d1-973043099b32/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "15910e58-81d1-49a5-bf21-6140656abef1"
|
||||
"destination_node_id": "93289c0d-e0ab-4c18-8ad8-7efb9054a7d4"
|
||||
}
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:07 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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/b809392f-2cca-4018-b52a-78f58c1f9b2d/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/27caba61-6161-4b10-81c2-3e5a44ed2827/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b809392f-2cca-4018-b52a-78f58c1f9b2d/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/27caba61-6161-4b10-81c2-3e5a44ed2827/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:41 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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/0a675150-a956-4af9-a768-6c76f3c2a0e6/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/18e0b3ce-3a5d-4236-bd9a-647390508908/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0a675150-a956-4af9-a768-6c76f3c2a0e6/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/18e0b3ce-3a5d-4236-bd9a-647390508908/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:46 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume
|
||||
|
||||
@@ -1,19 +1,18 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8ec1a8d6-2783-4a93-81d3-52ef72e786b0/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fe86cb53-7495-44a7-a042-e290ee7b25e0/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8ec1a8d6-2783-4a93-81d3-52ef72e786b0/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/fe86cb53-7495-44a7-a042-e290ee7b25e0/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 1380
|
||||
Content-Length: 1381
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:37 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 1,
|
||||
"bios_image": "",
|
||||
@@ -44,15 +43,16 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "0c:dd:80:86:b0:00",
|
||||
"mac_address": "0c:dd:80:25:e0:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/8ec1a8d6-2783-4a93-81d3-52ef72e786b0",
|
||||
"node_id": "8ec1a8d6-2783-4a93-81d3-52ef72e786b0",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/fe86cb53-7495-44a7-a042-e290ee7b25e0",
|
||||
"node_id": "fe86cb53-7495-44a7-a042-e290ee7b25e0",
|
||||
"on_close": "power_off",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/tmp/tmpxudfhxk5/qemu-system-x86_64",
|
||||
"qemu_path": "/tmp/tmpxi6put1f/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/af131f35-2b70-403f-a375-f60b84d045a2/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b489fa19-e27f-40d0-a2fa-165553f45b15/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/af131f35-2b70-403f-a375-f60b84d045a2/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b489fa19-e27f-40d0-a2fa-165553f45b15/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:39 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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/997b4563-2e86-495f-8206-32af33114e7c/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ab82e2d8-fff4-4da6-8124-76df98117a59/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/997b4563-2e86-495f-8206-32af33114e7c/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ab82e2d8-fff4-4da6-8124-76df98117a59/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:57 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:08:44 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend
|
||||
|
||||
@@ -10,19 +10,19 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 443
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:10 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5004,
|
||||
"console": null,
|
||||
"console_type": "none",
|
||||
"default_destination": "",
|
||||
"ip_address": "",
|
||||
"name": "TraceNG TEST 1",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/1b68398c-f7fa-4b53-92f5-a1efeb16fdf3",
|
||||
"node_id": "1b68398c-f7fa-4b53-92f5-a1efeb16fdf3",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/3d90bae8-f500-428c-b8ba-f846cf6b15c4",
|
||||
"node_id": "3d90bae8-f500-428c-b8ba-f846cf6b15c4",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/69b05dd3-f373-4b2b-9365-f81465817510/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/traceng/nodes/306012e6-0a79-4ff5-b557-3d5a68cbbb72/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/69b05dd3-f373-4b2b-9365-f81465817510/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/306012e6-0a79-4ff5-b557-3d5a68cbbb72/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: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:11 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/9b82f609-b0ba-4f88-9faa-8a73da006b20/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/traceng/nodes/9b82f609-b0ba-4f88-9faa-8a73da006b20/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 123
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Nov 2018 15:09:11 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/5a2b83ac-7f1e-44ed-8ca2-6af8710f2456/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/5a2b83ac-7f1e-44ed-8ca2-6af8710f2456/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 27 Nov 2018 15:09:11 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/f505e6a5-d75d-4f47-9064-c9f2d8708846/duplicate' -d '{"destination_node_id": "36bb4ff2-7fb5-4080-ba98-5fbe0625c04e"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/871f7316-89f8-4c67-99a0-01b2040557b0/duplicate' -d '{"destination_node_id": "672ee8ea-b609-4688-a938-656bb62c3a9e"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/f505e6a5-d75d-4f47-9064-c9f2d8708846/duplicate HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/871f7316-89f8-4c67-99a0-01b2040557b0/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "36bb4ff2-7fb5-4080-ba98-5fbe0625c04e"
|
||||
"destination_node_id": "672ee8ea-b609-4688-a938-656bb62c3a9e"
|
||||
}
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:11 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
||||
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/14c101ad-5405-46fc-b48a-b9c78cbddb7a/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/5c90a6b7-2d18-4695-92d3-0e2e80b39d44/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/14c101ad-5405-46fc-b48a-b9c78cbddb7a/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/5c90a6b7-2d18-4695-92d3-0e2e80b39d44/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:11 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/reload
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/c5b071ef-6ad6-4f0a-a98d-9246893d5381/start' -d '{"destination": "192.168.1.2"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/91c87d7a-a7dc-40b0-bbc6-8d399da423cb/start' -d '{"destination": "192.168.1.2"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/c5b071ef-6ad6-4f0a-a98d-9246893d5381/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/91c87d7a-a7dc-40b0-bbc6-8d399da423cb/start HTTP/1.1
|
||||
{
|
||||
"destination": "192.168.1.2"
|
||||
}
|
||||
@@ -10,19 +10,19 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 443
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:11 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5004,
|
||||
"console": null,
|
||||
"console_type": "none",
|
||||
"default_destination": "",
|
||||
"ip_address": "",
|
||||
"name": "TraceNG TEST 1",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/c5b071ef-6ad6-4f0a-a98d-9246893d5381",
|
||||
"node_id": "c5b071ef-6ad6-4f0a-a98d-9246893d5381",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/91c87d7a-a7dc-40b0-bbc6-8d399da423cb",
|
||||
"node_id": "91c87d7a-a7dc-40b0-bbc6-8d399da423cb",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/cbc40285-fb57-4966-b9b1-7bf924c8073b/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/0caa22ce-2d82-4e35-9134-b81ce0be322a/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/cbc40285-fb57-4966-b9b1-7bf924c8073b/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/0caa22ce-2d82-4e35-9134-b81ce0be322a/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:11 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/stop
|
||||
|
||||
@@ -10,14 +10,13 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 459
|
||||
Content-Length: 460
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:11 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
|
||||
"adapters": 0,
|
||||
"console": 5004,
|
||||
@@ -26,7 +25,8 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"node_directory": null,
|
||||
"node_id": "8275c17b-1e23-4d65-ab30-be28889654ca",
|
||||
"node_id": "69d31ecf-7d5e-4285-8d3a-d64107a5d074",
|
||||
"on_close": "power_off",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a4a279d1-05d8-430b-ae0c-87e43a9f8c1c/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/add5f4bd-c6c3-4644-87c0-cc3a29a19f04/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/a4a279d1-05d8-430b-ae0c-87e43a9f8c1c/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/add5f4bd-c6c3-4644-87c0-cc3a29a19f04/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: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:12 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/252e91ae-28ce-4829-ae6b-da72e0aa8862/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/virtualbox/nodes/252e91ae-28ce-4829-ae6b-da72e0aa8862/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 123
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Nov 2018 15:09:12 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/436af4db-52c4-4a24-8ea5-94649a702a24/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/436af4db-52c4-4a24-8ea5-94649a702a24/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 27 Nov 2018 15:09:12 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ee6d3ea2-9dd4-4188-bf11-cd7ae686f03d/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/73ae6b77-a860-4bc1-8ec6-ac332df4c077/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/ee6d3ea2-9dd4-4188-bf11-cd7ae686f03d/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/73ae6b77-a860-4bc1-8ec6-ac332df4c077/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:12 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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/53dbeaff-87f6-4307-bf63-70ea0b2e85e7/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e9d82843-ab73-4fd5-b3b9-cf37f5f0abca/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/53dbeaff-87f6-4307-bf63-70ea0b2e85e7/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e9d82843-ab73-4fd5-b3b9-cf37f5f0abca/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:12 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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/7d1bb85b-0679-43bc-9b9d-5cc5939a536a/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/24470470-5111-4a16-8527-ec3c79150af6/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7d1bb85b-0679-43bc-9b9d-5cc5939a536a/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/24470470-5111-4a16-8527-ec3c79150af6/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:12 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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/1007a005-6855-4489-baa7-74027987ced8/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d18bf8de-1b88-4548-9a66-16e3d63912c1/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1007a005-6855-4489-baa7-74027987ced8/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/d18bf8de-1b88-4548-9a66-16e3d63912c1/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:12 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
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/e12f4ce0-e95d-4902-af89-7254ba139257/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c8ded025-6c81-4d77-a7d8-e4a33fe439b3/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/e12f4ce0-e95d-4902-af89-7254ba139257/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c8ded025-6c81-4d77-a7d8-e4a33fe439b3/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:34:58 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:12 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
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": "/tmp/pytest-of-grossmj/pytest-23/test_vmware_create0/test.vmx"}'
|
||||
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": "/tmp/pytest-of-grossmj/pytest-4/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": "/tmp/pytest-of-grossmj/pytest-23/test_vmware_create0/test.vmx"
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-4/test_vmware_create0/test.vmx"
|
||||
}
|
||||
|
||||
|
||||
@@ -12,12 +12,11 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 593
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:34:59 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:12 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 0,
|
||||
"console": 5004,
|
||||
@@ -25,10 +24,11 @@ X-Route: /v2/compute/projects/{project_id}/vmware/nodes
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/7973e845-5a86-463b-bdbc-480cd83c76a2",
|
||||
"node_id": "7973e845-5a86-463b-bdbc-480cd83c76a2",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/ab710add-c2df-45a0-8834-18278c4b5039",
|
||||
"node_id": "ab710add-c2df-45a0-8834-18278c4b5039",
|
||||
"on_close": "power_off",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-23/test_vmware_create0/test.vmx"
|
||||
"vmx_path": "/tmp/pytest-of-grossmj/pytest-4/test_vmware_create0/test.vmx"
|
||||
}
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/b36bfb79-8a80-4f43-b07c-941e627c2739/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/vmware/nodes/7e3b339a-753c-4e00-9dce-9d5e5321ac89/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/b36bfb79-8a80-4f43-b07c-941e627c2739/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/7e3b339a-753c-4e00-9dce-9d5e5321ac89/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: Thu, 14 Jun 2018 08:35:06 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:22 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/222ed2ef-64ff-4cee-a4ff-374357e2ce1a/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/vmware/nodes/222ed2ef-64ff-4cee-a4ff-374357e2ce1a/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 123
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Nov 2018 15:09:26 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/4cf41140-b299-48c4-91b6-afcc950cfa03/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/4cf41140-b299-48c4-91b6-afcc950cfa03/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 27 Nov 2018 15:09:27 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/67427544-9d8b-4848-a93a-356ef427f09c/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/2a03318b-e6aa-411e-adf8-c9a077617b0b/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/67427544-9d8b-4848-a93a-356ef427f09c/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/2a03318b-e6aa-411e-adf8-c9a077617b0b/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:35:05 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:21 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/reload
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a954d747-7ec9-4795-b482-1b366dbaf646/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/bf4fa713-a276-4272-903c-7267be7a7879/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a954d747-7ec9-4795-b482-1b366dbaf646/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/bf4fa713-a276-4272-903c-7267be7a7879/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:35:04 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:20 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/resume
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/0f742ab4-7f42-4a1d-8aae-c25b8ca4fca1/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/436ccb1d-f5ec-4d40-aada-2edc9128fb7b/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/0f742ab4-7f42-4a1d-8aae-c25b8ca4fca1/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/436ccb1d-f5ec-4d40-aada-2edc9128fb7b/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:35:01 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:15 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/start
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/c1411225-a163-45a3-9208-331974e57bac/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/fb6534ab-0be5-4042-b2a0-b754bccabd3c/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/c1411225-a163-45a3-9208-331974e57bac/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/fb6534ab-0be5-4042-b2a0-b754bccabd3c/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:35:02 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:16 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/stop
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8a9d9746-9c04-48e3-9844-dcd045b82bac/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/58a3c9c0-1dab-4060-932a-20a09c32e959/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8a9d9746-9c04-48e3-9844-dcd045b82bac/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/58a3c9c0-1dab-4060-932a-20a09c32e959/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 14 Jun 2018 08:35:03 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:17 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/suspend
|
||||
|
||||
@@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 384
|
||||
Content-Type: application/json
|
||||
Date: Thu, 14 Jun 2018 08:35:11 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:29 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
|
||||
|
||||
{
|
||||
@@ -19,8 +19,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/tmp/tmp4zak1_kl/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/f5402839-7326-45d0-ba3a-e79802c4a174",
|
||||
"node_id": "f5402839-7326-45d0-ba3a-e79802c4a174",
|
||||
"node_directory": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/7183320f-60b0-41e5-a8ab-36cb5039aa71",
|
||||
"node_id": "7183320f-60b0-41e5-a8ab-36cb5039aa71",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
+4
-4
@@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1cd251f2-1ae0-4db3-b65a-0b06112f257f/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/b887eb25-593d-497a-98cc-7e54c18d3371/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/1cd251f2-1ae0-4db3-b65a-0b06112f257f/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b887eb25-593d-497a-98cc-7e54c18d3371/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: Thu, 14 Jun 2018 08:35:11 GMT
|
||||
Server: Python/3.5 GNS3/2.1.8dev1
|
||||
Date: Tue, 27 Nov 2018 15:09:30 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bb4682e4-5d35-46eb-9a61-96e654d48fa6/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/vpcs/nodes/bb4682e4-5d35-46eb-9a61-96e654d48fa6/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 123
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Nov 2018 15:09:30 GMT
|
||||
Server: Python/3.6 GNS3/2.2.0dev5
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/tmp/tmpa0evf8l1/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/captures/test.pcap"
|
||||
}
|
||||
Loaded 100 of 1327 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user