mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-24 17:55:15 +00:00
Compare commits
310 Commits
Author | SHA1 | Date | |
---|---|---|---|
0b742fc43d | |||
72cc3961dd | |||
b2e0a1b291 | |||
45edc40948 | |||
34fcbd68f3 | |||
6caf38206c | |||
8851a55199 | |||
c18d855a10 | |||
ae0c362427 | |||
60a3ab87dc | |||
62f87de23a | |||
fd5df0052a | |||
19c5ff8521 | |||
31a268e756 | |||
fbfa75830e | |||
f8bf749577 | |||
051eedb406 | |||
e026c6415e | |||
b0c89a4f2c | |||
eafe27e684 | |||
c52342907a | |||
5a0e21f58d | |||
f3c6faed75 | |||
7b3d5ae5e3 | |||
83445214be | |||
0bcc657bf1 | |||
f2700ed445 | |||
e4436096c2 | |||
132c7c8f5b | |||
e267f8a8b8 | |||
202e7362a5 | |||
305fe2e817 | |||
a56d5b453f | |||
3b94484914 | |||
50a922f83e | |||
80958e8a6d | |||
20294e284c | |||
43081152ef | |||
747814f083 | |||
2e9c5590a8 | |||
cfd0216554 | |||
9ecb058343 | |||
013c74f6d8 | |||
fff2e128eb | |||
5690d350bd | |||
1fea086f13 | |||
dd9c18b9f8 | |||
5c4f6dd3dc | |||
a12c5a95b0 | |||
025441f027 | |||
801547983a | |||
2de182eff4 | |||
9adfb1820d | |||
297bbd91ec | |||
47e5dfabd8 | |||
898f180310 | |||
b61bd2dc67 | |||
b7780ba7cc | |||
c053a2f350 | |||
05ec14e888 | |||
d08c08617c | |||
8e695c8af1 | |||
a4626a2b79 | |||
397c1322b4 | |||
148baaf465 | |||
aaac2a2d93 | |||
e54a94240d | |||
4ca216b181 | |||
e417ee8fed | |||
3201a996ed | |||
1df03d052f | |||
da31358a65 | |||
0bd7736460 | |||
38f458db7c | |||
233e41d006 | |||
22db13d2bf | |||
0fde1cf54a | |||
00e781826b | |||
7c14e21f4a | |||
a3a0657502 | |||
3ca4f72b99 | |||
d911e82dc4 | |||
c93d0d8d12 | |||
53a229f8e9 | |||
419797dd92 | |||
05b6be2e42 | |||
c714c9c8de | |||
9be76d98a2 | |||
9e73ca6620 | |||
e79e27a73f | |||
7beae4e451 | |||
a0f2dd374e | |||
b1657996e3 | |||
e83ed3b4b5 | |||
2111f549c9 | |||
3a15839272 | |||
3a09bd43dc | |||
17422bc461 | |||
935b8981ea | |||
fff593b358 | |||
abbe3d3a31 | |||
52b690b683 | |||
654aa18d09 | |||
519df3ab35 | |||
4ba523a0d7 | |||
07d2d7b340 | |||
e5a4afaeb1 | |||
3802a3d70b | |||
0ee87c9110 | |||
e5c76750b1 | |||
1045364adc | |||
008baad86a | |||
4f2a50894b | |||
889aa3ba94 | |||
cbb15c7a84 | |||
8268e76a86 | |||
daf058a306 | |||
f7d82059d5 | |||
d2faaee099 | |||
6fee543ce7 | |||
2e40fb8608 | |||
d4f1084391 | |||
b792be00f9 | |||
cf4477ce34 | |||
f525bd2ce1 | |||
bd8816d14c | |||
34acb1f185 | |||
7ded71142f | |||
c281f55fb2 | |||
e5e2b7a8ac | |||
30e8949985 | |||
393ac85bca | |||
9d9dc037d8 | |||
32f56feca2 | |||
5d86f06390 | |||
6789989cb9 | |||
ffc7024b64 | |||
ed275e4ec5 | |||
4143ee8178 | |||
88989cc274 | |||
ab6fe6da1d | |||
8b1c68a0b7 | |||
97cfb892a6 | |||
f9c7c15f95 | |||
5f14f8eb46 | |||
7c91e46812 | |||
6af64454d0 | |||
47ef7e2a5e | |||
927f7e6b9d | |||
9ca56964f5 | |||
e6d2bd4424 | |||
21a7a68875 | |||
ffe21f6b73 | |||
266916b092 | |||
8907b3d58a | |||
d80e01a9c5 | |||
5dd0414ab3 | |||
e8353e68bb | |||
23c63bbd4d | |||
dadf11f69b | |||
3efe753eee | |||
f48420af58 | |||
79bca29b93 | |||
0e4865e049 | |||
26567d9164 | |||
a8177d7afa | |||
a393e7f723 | |||
0df997d232 | |||
630afc5469 | |||
3e3e1df051 | |||
3a1ba8f42d | |||
0a72e0db87 | |||
e3b3427cc6 | |||
dde2003168 | |||
cfe8e9e85c | |||
1699ce5d1c | |||
d0850927d0 | |||
745532bf23 | |||
78cf0309a0 | |||
851fcf5c71 | |||
a80355998d | |||
e54d574e47 | |||
fe60c414b9 | |||
efbf7728ea | |||
061af38b5a | |||
f48549a997 | |||
958ab2294c | |||
dd89b09f84 | |||
642536a070 | |||
860ca3b35d | |||
96a0b52cf8 | |||
7c90c513d0 | |||
fe59c937d5 | |||
b48f5df53f | |||
3e2e8e61f7 | |||
068077c594 | |||
e08aebf1f0 | |||
cfbcc1194d | |||
035a078b5e | |||
cf14deb2fa | |||
e1fe34ca07 | |||
840aa39457 | |||
d3e55520d9 | |||
fb2e10d3c1 | |||
4477cd4dfd | |||
967798a7de | |||
61acb939a4 | |||
8c11b649e5 | |||
b14e2e73ed | |||
2235a8158f | |||
9afe756462 | |||
135c529d4b | |||
ce219e81ea | |||
c2684f056c | |||
009677f019 | |||
9c3ee02797 | |||
50c8fe070d | |||
ace7b0c69f | |||
255dc7ed9b | |||
75ceffb458 | |||
21c2429aee | |||
8cc04f25e2 | |||
815dca101f | |||
022d76e88a | |||
2c0804d4ee | |||
b2c5e175d7 | |||
a7412d1c87 | |||
2171072ae4 | |||
8fcfed53ed | |||
df468bf2af | |||
8930b4c6e5 | |||
b4307e6035 | |||
6a87047c18 | |||
d918330472 | |||
8fde8789f1 | |||
aaa8c4895f | |||
66d5cb520d | |||
d2a7f724e3 | |||
c7015435c9 | |||
44efab109e | |||
98b201e9e5 | |||
1f4b87ae9c | |||
bc782b6896 | |||
4cae6b678a | |||
3a5a771b19 | |||
44bb912139 | |||
74e7201ea6 | |||
4f13c63a52 | |||
02ad98664f | |||
b654d78ea6 | |||
244a86bcbc | |||
1524493c33 | |||
e52b83be11 | |||
0c7a92b710 | |||
67c78ba2e3 | |||
9619827f44 | |||
5b645cd455 | |||
7d19312d44 | |||
81048f44d6 | |||
be35ad6874 | |||
897f7656da | |||
3d85bba9d4 | |||
dbd41e44f8 | |||
7269285b0f | |||
2a4ed9ba89 | |||
a567b394f3 | |||
d76bcf7078 | |||
fcd2c7b6d4 | |||
60bc386d6b | |||
e1c8df170a | |||
cdfce26b61 | |||
f415d38ccd | |||
6a8f220ff1 | |||
9e4cfaf787 | |||
4a2dfb0037 | |||
b538bd0a29 | |||
36210b10c6 | |||
fd623a5ad2 | |||
e5a7eb74ed | |||
daf7ed8c95 | |||
1f87d8222b | |||
90e3a8d612 | |||
c22229101f | |||
ee486b32bd | |||
7492899b95 | |||
807bea40d4 | |||
4e3eee33fc | |||
a7297ffca4 | |||
2806b7b286 | |||
b0783eeccc | |||
4fc29504f2 | |||
efae614af2 | |||
7523e9c4bc | |||
3dd5dbe0c1 | |||
e15d1cd350 | |||
fc7377e999 | |||
3fd86f5807 | |||
fc9d44011b | |||
3a1fd892ac | |||
3caba334c0 | |||
e2de872036 | |||
44fc87a24c | |||
2dc83d7894 | |||
211f48d981 | |||
3bb8cdafb2 | |||
e74eaa8ea8 | |||
8a028a6dce | |||
1cde787ffa | |||
81d77cabf9 | |||
a93f3b0576 |
3
.gitignore
vendored
3
.gitignore
vendored
@ -39,6 +39,7 @@ nosetests.xml
|
||||
.project
|
||||
.pydevproject
|
||||
.settings
|
||||
.vscode
|
||||
|
||||
# Pycharm
|
||||
.idea
|
||||
@ -55,5 +56,5 @@ startup.vpcs
|
||||
.gns3_shell_history
|
||||
|
||||
# Virtualenv
|
||||
env.ropeproject
|
||||
env
|
||||
.ropeproject
|
||||
|
34
.travis.yml
34
.travis.yml
@ -1,22 +1,32 @@
|
||||
language: python
|
||||
python:
|
||||
- '3.4'
|
||||
- '3.5'
|
||||
- '3.6'
|
||||
sudo: false
|
||||
cache: pip
|
||||
sudo: required
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
install:
|
||||
- pip install -U setuptools pip
|
||||
- python setup.py install
|
||||
- pip install -rdev-requirements.txt
|
||||
- sed -e 's/${PYTHON_VERSION}/'${PYTHON_VERSION}/g DockerfileTests.tpl > /tmp/DockerfileTests
|
||||
- docker-compose build
|
||||
|
||||
script:
|
||||
- mkdir ‡
|
||||
- py.test -v -s tests --basetemp=‡
|
||||
- docker-compose run tests
|
||||
|
||||
before_deploy:
|
||||
- sudo pip install twine
|
||||
- sudo pip install urllib3[secure]
|
||||
|
||||
deploy:
|
||||
provider: pypi
|
||||
edge:
|
||||
branch: v1.8.45
|
||||
user: noplay
|
||||
password:
|
||||
secure: Fa66zp8ML4oSGwzkUMZi07MIYfO3tbS5gHFUaLN2mk2MBknhCjDYexmFJqT//sC/+xqv6sSJE6rz1EPoy/THbxj8R96ZgIyiUZIbDCbzgdy92d7J/eusrDoNdpApBLke8NqQqtFETb3addMZZNofQ3IDANFD2m2jY+KECU8z8NI=
|
||||
on:
|
||||
tags: true
|
||||
repo: GNS3/gns3-server
|
||||
|
||||
env:
|
||||
matrix:
|
||||
- PYTHON_VERSION=3.4
|
||||
- PYTHON_VERSION=3.5
|
||||
- PYTHON_VERSION=3.6
|
||||
|
200
CHANGELOG
200
CHANGELOG
@ -1,5 +1,205 @@
|
||||
# Change Log
|
||||
|
||||
## 2.1.7 12/06/2018
|
||||
|
||||
* Don't release NIO UDP ports when updating docker container.
|
||||
* Timeout for stream file.
|
||||
* Fix switching console type from telnet to VNC throws error.
|
||||
* Fix timeout error with "save as" for large projects.
|
||||
* Update API documentation
|
||||
* Add API endpoint to return all links attached to a node.
|
||||
* Fix issue with some SVG symbols that could not be used in GNS3. This was due to the height and width values being percentages.
|
||||
* Show correct free disk space value.
|
||||
* Force prompt-toolkit to version 1.0.15
|
||||
* Remove unwanted trailing characters and other white spaces when reading .md5sum files.
|
||||
* Change order to find vnetlib on Windows (PATH -> Registry -> Default directories).
|
||||
|
||||
## 2.1.6 22/05/2018
|
||||
|
||||
* Locks down async-timeout<3.0.0 for P3.4 support; Fixes: #1331
|
||||
* Create/update project on compute when variables changes
|
||||
* Support for nested global variables
|
||||
* Don't clean logo images when applied to the project
|
||||
* Support of supplier and variables in topology
|
||||
* Project global variables
|
||||
* Add command information when uBridge has an error. Ref #1289
|
||||
* Handle asyncio timeouts. Ref #1307.
|
||||
* Fix bug with export project. Ref #1187 #1307.
|
||||
* Offload slow file operations to threads for snapshots and project "save as". Ref #1187 #1307.
|
||||
* support based on init.sh, Ref: #2482
|
||||
* Fix exception from send_signal() on Windows.
|
||||
* Add support of ExtraHosts for Docker, Ref. gns3-gui#2482
|
||||
|
||||
## 2.1.5 18/04/2018
|
||||
|
||||
* Set the first byte to 0C when generating a random MAC address for a Qemu VM. Ref #1267.
|
||||
* Update appliance files.
|
||||
* Do not use VMnet0 when allocating VMnet adapters.
|
||||
* Use SO_REUSEADDR before calling bind() where missing. Fixes #1289.
|
||||
* Do not fail a Dynamips project conversion if a file being used.
|
||||
* Catch exceptions when using AsyncioTelnetServer. Fixes #1321.
|
||||
* Grid size support for projects.
|
||||
* Remove 'include INSTALL' from MANIFEST.
|
||||
* Fix issue with start all.
|
||||
* Check for valid IP address and prevent to run on non-Windows platforms.
|
||||
* Enable UDP tunnel option and use ICMP probing by default.
|
||||
* Use the configured IP address to trace.
|
||||
* Have TraceNG start without needing cmd.exe
|
||||
|
||||
## 2.1.4 12/03/2018
|
||||
|
||||
* Add Juniper JunOS space appliance.
|
||||
* Sync checkpoint gaia appliance template.
|
||||
* Sync appliance templates.
|
||||
* Make sure we use an IPv4 address in the remote install script.
|
||||
* Delete old pcap file when starting a new packet capture.
|
||||
* Fix bug preventing to export portable projects with IOU images.
|
||||
* Ignore invalid BPF filters. Ref #1290.
|
||||
* Different approach to handle no data returned by uBridge hypervisors. Fixes #1289.
|
||||
* Do not raise exception if Dynamips or uBridge hypervisor don't return data and are still running. Fixes #1289
|
||||
* Fix Dynamips private config not loaded into nvram when starting a router. Fixes #1313.
|
||||
* Make sure we don't try to read when opening a file in binary more. Fixes #1301.
|
||||
* Compatybility with controller, default_symbol and hover_symbol, Fixes: #2444
|
||||
* Filter snapshots directory during the snapshot, Fixes: #1297
|
||||
* Handle docker env with last empty line, Fixes: #2420
|
||||
* Require uBridge version 0.9.14 on Linux
|
||||
* Pywin32 instead of pypiwin32, Ref. #1276
|
||||
* Fix missing 'locales' package in base image
|
||||
* Implement a minimum interval between psutil calls. Fixes #2262
|
||||
* Fix error when appliance template is broken (missing fields). Fixes #1287.
|
||||
* Fix "Change of linked base VM doesn't work with templates migrated from 2.0"
|
||||
* Fix "Unable to override non-custom VMware adapter".
|
||||
* Let a project be opened when a port cannot be found (can happens if a project is corrupted).
|
||||
* Add an error message when Docker container is not ready to be started. Ref #1281.
|
||||
* Update documentation.
|
||||
* Sync appliance files.
|
||||
* Fix issue when running multiple project containing IOU nodes on the same server. Ref #1239.
|
||||
* Set first byte to 52 when generating a random MAC address for a Qemu VM. Ref #1267.
|
||||
* Update link state and save project when a link is suspended or filters are added/removed (without node properties set).
|
||||
* More generic dependency for pypiwin32, Ref. #1276
|
||||
|
||||
## 2.1.3 19/01/2018
|
||||
|
||||
* Update appliance files.
|
||||
* Suspend for Docker nodes.
|
||||
* Unlock yarl version and multidict
|
||||
* Fix same MAC address for duplicated Qemu nodes.
|
||||
* Fix same base MAC for duplicated IOS routers. Fixes #1264.
|
||||
* Fix "Creating multiple IOU nodes at once assigns the same application id". Fixes #1239.
|
||||
* Fix "Transport selection via DSN is deprecated" message. Sync is configured with HTTPTransport.
|
||||
* Refresh CPU/RAM info every 1 second. Ref #2262.
|
||||
* Rename ethernet switch arp command to mac
|
||||
* Fix error while getting appliance list. Fixes #1258.
|
||||
* Fix UnboundLocalError: local variable 'node' referenced before assignment. Fixes #1256.
|
||||
* Default symbol must be computer.svg
|
||||
* Compatibility for old node templates (those with default_symbol and hover_symbol properties).
|
||||
* Fix problem when searching for VBoxManage. Fixes #1261.
|
||||
* Improve the search for VBoxManage.
|
||||
* Fixing race condition when starting the GNS3 VM.
|
||||
* Default VPCS name format is now PC-{0}.
|
||||
|
||||
## 2.1.2 08/01/2018
|
||||
|
||||
* Do not show log message if configuration file doesn't exist. Fixes #1206.
|
||||
* Update API documentation
|
||||
* Update API documentation. Fixes #1253.
|
||||
* GNS3-API: implement GET for specific drawing and link Fixes #1249
|
||||
|
||||
## 2.1.1 22/12/2017
|
||||
|
||||
* Protect variable replacement for Qemu options. Escape double quotes.
|
||||
* Add proper exception when cannot find tunnel on QEMU, Fixes: #1241
|
||||
* Increase timeout for creation of image, Ref. #2239
|
||||
* Protect variable replacement for Qemu options.
|
||||
* Do not overwrites persistent Docker volumes. Fixes #2358.
|
||||
* Allow users to see an error when the server cannot stream a PCAP file.
|
||||
* Fix issue with Qemu + SPICE when IPv4 is not enabled.
|
||||
* Warn users if the GNS3 VM and local server are not in the same subnet. Fixes #1231.
|
||||
* Add missing appliance files.
|
||||
* Update appliance files.
|
||||
* Fix auto idle-pc from preferences.
|
||||
* Keep consistance of aiohttp.web.HTTPForbidden() execution
|
||||
* Make sure connected links are removed when a node is deleted.
|
||||
* Validate idle-pc values for auto idle-pc feature.
|
||||
* Fix error when updating packet filter on stopped Docker link. Fixes #1229.
|
||||
* Remotely close telnet console. Ref #2330
|
||||
* EthernetSwitch closing connections, Ref: gui/#2330
|
||||
* Export files from remote server, Fixes: gui/#2271
|
||||
* New option: require KVM. If false, Qemu VMs will not be prevented to run without KVM.
|
||||
* Implement variable replacement for Qemu VM options.
|
||||
* Avoid duplicate "-nographic" option.
|
||||
* Show qemu-img stdout in case of an error.
|
||||
* Use the correct NVRAM amount when pushing private config to IOU.
|
||||
* Check and fix corrupt Qemu disk images. Fixes #2301.
|
||||
* Update warning messages when connecting to non custom adapter for VMware VMs.
|
||||
* Fix "Can't use VirtualBox VM when an interface is managed by VirtualBox". Fixes #2335.
|
||||
* Add low disk space warning when creating a new project.
|
||||
|
||||
## 2.1.0 09/11/2017
|
||||
|
||||
* Fix typo in vcpus on VirtualBoxVM, fixes: #1213
|
||||
|
||||
## 2.1.0rc4 07/11/2017
|
||||
|
||||
* Fix GNS3VM vCPUs control on VMware, fixes: #2324
|
||||
* Fix typo in sample gns3_server.conf. Fixes #1210.
|
||||
* Warning for getting endpoint of compute
|
||||
* Enable debug mode on async loop only in dev/debug mode
|
||||
* Add warning when using IOU with a hostname length above 15 characters.
|
||||
* Improve VMware VMs discovery process. Ref #1201.
|
||||
* Improve error message when IOU VM process is unexpectedly stopped.
|
||||
* Improved error message when the number of network adapters is above the maximum for VirtualBox VMs. Better support for potential future chipsets in addition of PIIX3 and ICH9.
|
||||
* Added localhost and gns3.github.io CORS
|
||||
|
||||
## 2.1.0rc3 19/10/2017
|
||||
|
||||
* Set vhv.enable before run for VMWare 14. Fixes #1184
|
||||
* Tweak how VMware VMs are found with fallback to search in the default location for VMs.
|
||||
* QEMU: fix logging of base mac address when creating a new node
|
||||
* Sync appliance files.
|
||||
* Fix creation of an VMware VM failed with invalid JSON. Fixes #2282.
|
||||
* Endpoint for obtaining direct action on compute
|
||||
* Fix IOU detection of layer 1 keepalive support. Fixes #1183.
|
||||
* Fixes path normalization during file upload on nodes (Fixes: #2276)
|
||||
|
||||
## 2.1.0rc2 04/10/2017
|
||||
|
||||
* Don't create directory structure during json dump. Fixes #2270
|
||||
* Add more information when qemu-img fails.
|
||||
* Fix issue with multidict when upgrading GNS3 VM to use dev channel.
|
||||
* Restore file permissions fails for volumes with soft links. Fixes #1180.
|
||||
* Use RAW sockets by default on Linux.
|
||||
* Add missing https console keyword in JSON schema. Fixes #1179.
|
||||
* Allow projects to be opened even when a node port is already used.
|
||||
|
||||
## 2.1.0rc1 13/09/2017
|
||||
|
||||
* Fix NAT node not working on Windows. Fixes #1163.
|
||||
* Do not prevent a project to be deleted. Fixes #2237.
|
||||
|
||||
## 2.1.0b2 05/09/2017
|
||||
|
||||
* Round-robin nodes across all available compute resources. Fixes #1165.
|
||||
* Try to improve error reporting when streaming a PCAP file. Ref #2235.
|
||||
* Use Npcap DLL on Windows when checking for uBridge version.
|
||||
* Fixes running switch console inside PyCharm terminal (Ref. #1172)
|
||||
* Load meta of the project on loading time (Fixes #2225)
|
||||
* Added checking if NIO exists (Fixes #1160)
|
||||
* Fixes NAT node not working on Windows (#1163)
|
||||
* Fixes loading project when link_id is not set (#1159)
|
||||
* Return platform value on appliances list (Fixes #2211)
|
||||
* Fixes not known category in Appliances (Fixes #1156)
|
||||
|
||||
## 2.1.0b1 04/08/2017
|
||||
|
||||
* Sync appliances
|
||||
* Interface starting with gns3 are not display by default in the cloud
|
||||
* Catch error when something that is not the GNS3 server answer to virtualbox requests
|
||||
* Catch KeyError: <aiohttp.connector._TransportPlaceholder
|
||||
* Add a warning when you try to load and the server is not started with --local
|
||||
* Sync appliances
|
||||
* Fix permission on exited container
|
||||
|
||||
## 2.1.0a2 31/07/2017
|
||||
|
||||
* Handle invalid appliances files
|
||||
|
@ -5,7 +5,6 @@ FROM ubuntu:16.04
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
# Set the locale
|
||||
RUN locale-gen en_US.UTF-8
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANGUAGE en_US:en
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
@ -13,6 +12,7 @@ ENV LC_ALL en_US.UTF-8
|
||||
RUN apt-get update && apt-get install -y software-properties-common
|
||||
RUN add-apt-repository ppa:gns3/ppa
|
||||
RUN apt-get update && apt-get install -y \
|
||||
locales \
|
||||
python3-pip \
|
||||
python3-dev \
|
||||
qemu-system-x86 \
|
||||
@ -21,6 +21,8 @@ RUN apt-get update && apt-get install -y \
|
||||
libvirt-bin \
|
||||
x11vnc
|
||||
|
||||
RUN locale-gen en_US.UTF-8
|
||||
|
||||
# Install uninstall to install dependencies
|
||||
RUN apt-get install -y vpcs ubridge
|
||||
|
||||
|
15
DockerfileTests.tpl
Normal file
15
DockerfileTests.tpl
Normal file
@ -0,0 +1,15 @@
|
||||
FROM python:${PYTHON_VERSION}
|
||||
|
||||
RUN pip install -U setuptools pip
|
||||
|
||||
ADD requirements.txt /server/requirements.txt
|
||||
ADD dev-requirements.txt /server/dev-requirements.txt
|
||||
|
||||
RUN pip install -r/server/dev-requirements.txt
|
||||
|
||||
RUN useradd -ms /bin/bash gns3
|
||||
|
||||
USER gns3
|
||||
|
||||
ADD . /server
|
||||
WORKDIR /server
|
@ -1,6 +1,5 @@
|
||||
include README.rst
|
||||
include AUTHORS
|
||||
include INSTALL
|
||||
include LICENSE
|
||||
include MANIFEST.in
|
||||
include tox.ini
|
||||
|
@ -28,7 +28,7 @@ console_end_port_range = 10000
|
||||
; First port of the range allocated for inter-device communication. Two ports are allocated per link.
|
||||
udp_start_port_range = 10000
|
||||
; Last port of the range allocated for inter-device communication. Two ports are allocated per link
|
||||
udp_start_end_range = 20000
|
||||
udp_end_port_range = 20000
|
||||
; uBridge executable location, default: search in PATH
|
||||
;ubridge_path = ubridge
|
||||
|
||||
@ -63,3 +63,5 @@ license_check = True
|
||||
[Qemu]
|
||||
; !! Remember to add the gns3 user to the KVM group, otherwise you will not have read / write permssions to /dev/kvm !!
|
||||
enable_kvm = True
|
||||
; Require KVM to be installed in order to start VMs
|
||||
require_kvm = True
|
4
docker-compose.yml
Normal file
4
docker-compose.yml
Normal file
@ -0,0 +1,4 @@
|
||||
tests:
|
||||
build: .
|
||||
dockerfile: /tmp/DockerfileTests
|
||||
command: py.test -v -s tests
|
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:23 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:25 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/5515357a-a5c1-47c7-b47a-fa004ed94bee'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/ff343cd6-7fac-420e-a426-1ad7ad5b71ee'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/5515357a-a5c1-47c7-b47a-fa004ed94bee HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/ff343cd6-7fac-420e-a426-1ad7ad5b71ee HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:00 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:16 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6558b3be-937a-46ed-aa2c-d55b2efbfae3/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/bc74c090-0772-4300-a93b-04f6ea2647a0/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6558b3be-937a-46ed-aa2c-d55b2efbfae3/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/bc74c090-0772-4300-a93b-04f6ea2647a0/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:06:59 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:14 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/0febefd7-5312-47ce-912e-30a68f3e206b/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7117741a-0e1a-4b84-87c6-20de525d9f68/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/0febefd7-5312-47ce-912e-30a68f3e206b/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7117741a-0e1a-4b84-87c6-20de525d9f68/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:05 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:18 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b3d3552b-c851-4c54-88ef-eca874685de5'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d3f81178-d4d7-4799-94be-5e5fb5c46aa4'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b3d3552b-c851-4c54-88ef-eca874685de5 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d3f81178-d4d7-4799-94be-5e5fb5c46aa4 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:10 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:20 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9e34b2c0-6337-49ab-a409-745cceb673c5/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f5b0d377-3983-4483-a367-9c98f07a9852/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9e34b2c0-6337-49ab-a409-745cceb673c5/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f5b0d377-3983-4483-a367-9c98f07a9852/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:13 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:21 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b37db9cd-b92c-4f24-8706-1b30d3162d6d'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/12b2d7f3-e7c7-46df-92a5-2758c8120fc2'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b37db9cd-b92c-4f24-8706-1b30d3162d6d HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/12b2d7f3-e7c7-46df-92a5-2758c8120fc2 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:17 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:23 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d8c320f4-2877-484c-8f1c-f975527e0560/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/66b72078-b41c-44d8-bd8b-aba42d3f8401/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d8c320f4-2877-484c-8f1c-f975527e0560/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/66b72078-b41c-44d8-bd8b-aba42d3f8401/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:16 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:22 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/31176da3-3e99-4b29-9040-d643abcefd4e'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5f7dc680-8b8f-426a-a551-d9fd65c9fb87'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/31176da3-3e99-4b29-9040-d643abcefd4e HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5f7dc680-8b8f-426a-a551-d9fd65c9fb87 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/08907920-9653-45e4-b5c6-94bbca78b809/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/65b29b91-c439-4dd1-b26d-9810d4d2c664/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/08907920-9653-45e4-b5c6-94bbca78b809/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/65b29b91-c439-4dd1-b26d-9810d4d2c664/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:32 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:27 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -0,0 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/9af8deca-3a3c-4a62-871e-1f03ce648219'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/9af8deca-3a3c-4a62-871e-1f03ce648219 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
|
||||
|
@ -0,0 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/ff09abc5-54be-484b-8ce4-541c3540391b/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/ff09abc5-54be-484b-8ce4-541c3540391b/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aaf3a28e-833c-449b-9670-b514ee746549/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a738b8f9-c9fd-4c8d-a501-3d155372fd35/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aaf3a28e-833c-449b-9670-b514ee746549/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a738b8f9-c9fd-4c8d-a501-3d155372fd35/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:39 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -0,0 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/245b57d1-8bc1-4eea-ab06-b52dba8b66e9/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/245b57d1-8bc1-4eea-ab06-b52dba8b66e9/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:40 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9adab99-ab1b-4a1d-8b45-fd3510f160bc'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5181c59d-825a-49a1-99e7-13e86f32be4a'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9adab99-ab1b-4a1d-8b45-fd3510f160bc HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5181c59d-825a-49a1-99e7-13e86f32be4a HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e5994674-7209-4ee0-af3a-b7f77e344de2/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fc54e02b-6f48-46f8-9854-8424524f908b/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e5994674-7209-4ee0-af3a-b7f77e344de2/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fc54e02b-6f48-46f8-9854-8424524f908b/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:41 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -6,10 +6,10 @@ GET /v2/compute/capabilities HTTP/1.1
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 347
|
||||
Content-Length: 366
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:06:59 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:14 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/capabilities
|
||||
|
||||
{
|
||||
@ -25,9 +25,10 @@ X-Route: /v2/compute/capabilities
|
||||
"atm_switch",
|
||||
"qemu",
|
||||
"vmware",
|
||||
"traceng",
|
||||
"docker",
|
||||
"iou"
|
||||
],
|
||||
"platform": "linuxdebian",
|
||||
"version": "2.1.0dev1"
|
||||
"version": "2.1.7dev1"
|
||||
}
|
||||
|
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 149
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:14 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:21 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/iou/images
|
||||
|
||||
[
|
||||
|
@ -6,17 +6,17 @@ GET /v2/compute/network/interfaces HTTP/1.1
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 3969
|
||||
Content-Length: 4266
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:19 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:24 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/network/interfaces
|
||||
|
||||
[
|
||||
{
|
||||
"id": "bridge0",
|
||||
"ip_address": "",
|
||||
"mac_address": "d2:00:1b:c0:17:80",
|
||||
"mac_address": "ca:2a:14:12:34:00",
|
||||
"name": "bridge0",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
@ -25,7 +25,7 @@ X-Route: /v2/compute/network/interfaces
|
||||
{
|
||||
"id": "en0",
|
||||
"ip_address": "",
|
||||
"mac_address": "3c:07:54:78:07:cc",
|
||||
"mac_address": "c8:2a:14:21:cf:c8",
|
||||
"name": "en0",
|
||||
"netmask": "",
|
||||
"special": false,
|
||||
@ -33,8 +33,8 @@ X-Route: /v2/compute/network/interfaces
|
||||
},
|
||||
{
|
||||
"id": "en1",
|
||||
"ip_address": "192.168.84.156",
|
||||
"mac_address": "68:a8:6d:4a:c3:16",
|
||||
"ip_address": "192.168.1.10",
|
||||
"mac_address": "10:9a:dd:a4:f1:6a",
|
||||
"name": "en1",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": false,
|
||||
@ -43,7 +43,7 @@ X-Route: /v2/compute/network/interfaces
|
||||
{
|
||||
"id": "en2",
|
||||
"ip_address": "",
|
||||
"mac_address": "d2:00:1b:c0:17:80",
|
||||
"mac_address": "d2:00:18:cc:6a:60",
|
||||
"name": "en2",
|
||||
"netmask": "",
|
||||
"special": false,
|
||||
@ -52,7 +52,7 @@ X-Route: /v2/compute/network/interfaces
|
||||
{
|
||||
"id": "fw0",
|
||||
"ip_address": "",
|
||||
"mac_address": "3c:07:54:ff:fe:bc:01:78",
|
||||
"mac_address": "c8:2a:14:ff:fe:8c:c6:a6",
|
||||
"name": "fw0",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
@ -70,24 +70,15 @@ X-Route: /v2/compute/network/interfaces
|
||||
{
|
||||
"id": "p2p0",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:a8:6d:4a:c3:16",
|
||||
"mac_address": "02:9a:dd:a4:f1:6a",
|
||||
"name": "p2p0",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "utun0",
|
||||
"ip_address": "",
|
||||
"mac_address": "",
|
||||
"name": "utun0",
|
||||
"netmask": "",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet1",
|
||||
"ip_address": "172.16.16.1",
|
||||
"ip_address": "172.20.1.1",
|
||||
"mac_address": "00:50:56:c0:00:01",
|
||||
"name": "vmnet1",
|
||||
"netmask": "255.255.255.0",
|
||||
@ -96,7 +87,7 @@ X-Route: /v2/compute/network/interfaces
|
||||
},
|
||||
{
|
||||
"id": "vmnet10",
|
||||
"ip_address": "172.16.7.1",
|
||||
"ip_address": "172.20.10.1",
|
||||
"mac_address": "00:50:56:c0:00:0a",
|
||||
"name": "vmnet10",
|
||||
"netmask": "255.255.255.0",
|
||||
@ -104,75 +95,93 @@ X-Route: /v2/compute/network/interfaces
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet2",
|
||||
"ip_address": "172.16.0.1",
|
||||
"mac_address": "00:50:56:c0:00:02",
|
||||
"name": "vmnet2",
|
||||
"id": "vmnet11",
|
||||
"ip_address": "172.20.11.1",
|
||||
"mac_address": "00:50:56:c0:00:0b",
|
||||
"name": "vmnet11",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet3",
|
||||
"ip_address": "172.16.1.1",
|
||||
"mac_address": "00:50:56:c0:00:03",
|
||||
"name": "vmnet3",
|
||||
"id": "vmnet12",
|
||||
"ip_address": "172.20.12.1",
|
||||
"mac_address": "00:50:56:c0:00:0c",
|
||||
"name": "vmnet12",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet4",
|
||||
"ip_address": "172.16.2.1",
|
||||
"mac_address": "00:50:56:c0:00:04",
|
||||
"name": "vmnet4",
|
||||
"id": "vmnet13",
|
||||
"ip_address": "172.20.13.1",
|
||||
"mac_address": "00:50:56:c0:00:0d",
|
||||
"name": "vmnet13",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet5",
|
||||
"ip_address": "172.16.3.1",
|
||||
"mac_address": "00:50:56:c0:00:05",
|
||||
"name": "vmnet5",
|
||||
"id": "vmnet14",
|
||||
"ip_address": "172.20.14.1",
|
||||
"mac_address": "00:50:56:c0:00:0e",
|
||||
"name": "vmnet14",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet6",
|
||||
"ip_address": "172.16.4.1",
|
||||
"mac_address": "00:50:56:c0:00:06",
|
||||
"name": "vmnet6",
|
||||
"id": "vmnet15",
|
||||
"ip_address": "172.20.15.1",
|
||||
"mac_address": "00:50:56:c0:00:0f",
|
||||
"name": "vmnet15",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet7",
|
||||
"ip_address": "172.16.5.1",
|
||||
"mac_address": "00:50:56:c0:00:07",
|
||||
"name": "vmnet7",
|
||||
"id": "vmnet16",
|
||||
"ip_address": "172.20.16.1",
|
||||
"mac_address": "00:50:56:c0:00:10",
|
||||
"name": "vmnet16",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet17",
|
||||
"ip_address": "172.20.17.1",
|
||||
"mac_address": "00:50:56:c0:00:11",
|
||||
"name": "vmnet17",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet18",
|
||||
"ip_address": "172.20.18.1",
|
||||
"mac_address": "00:50:56:c0:00:12",
|
||||
"name": "vmnet18",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet19",
|
||||
"ip_address": "172.20.19.1",
|
||||
"mac_address": "00:50:56:c0:00:13",
|
||||
"name": "vmnet19",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet8",
|
||||
"ip_address": "192.168.229.1",
|
||||
"ip_address": "192.168.100.1",
|
||||
"mac_address": "00:50:56:c0:00:08",
|
||||
"name": "vmnet8",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet9",
|
||||
"ip_address": "172.16.6.1",
|
||||
"mac_address": "00:50:56:c0:00:09",
|
||||
"name": "vmnet9",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
}
|
||||
]
|
||||
|
@ -6,19 +6,21 @@ GET /v2/compute/projects HTTP/1.1
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 198
|
||||
Content-Length: 252
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:22 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:25 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
[
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"variables": null
|
||||
},
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b",
|
||||
"variables": null
|
||||
}
|
||||
]
|
||||
|
@ -6,13 +6,14 @@ GET /v2/compute/projects/40010203-0405-0607-0809-0a0b0c0d0e02 HTTP/1.1
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 80
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:21 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:25 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "40010203-0405-0607-0809-0a0b0c0d0e02"
|
||||
"project_id": "40010203-0405-0607-0809-0a0b0c0d0e02",
|
||||
"variables": null
|
||||
}
|
||||
|
@ -1,15 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6e8d100d-88bb-4f15-8750-d4fa9c614314'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b766dfcb-041e-48a5-a06e-612c4628a95f'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6e8d100d-88bb-4f15-8750-d4fa9c614314 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b766dfcb-041e-48a5-a06e-612c4628a95f HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 2951
|
||||
Content-Length: 2926
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:06:59 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:14 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -49,11 +49,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "utun0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet1",
|
||||
"special": true,
|
||||
@ -65,32 +60,47 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet2",
|
||||
"name": "vmnet11",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet3",
|
||||
"name": "vmnet12",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet4",
|
||||
"name": "vmnet13",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet5",
|
||||
"name": "vmnet14",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet6",
|
||||
"name": "vmnet15",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet7",
|
||||
"name": "vmnet16",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet17",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet18",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet19",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
@ -98,16 +108,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"name": "vmnet8",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet9",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/builtin/6e8d100d-88bb-4f15-8750-d4fa9c614314",
|
||||
"node_id": "6e8d100d-88bb-4f15-8750-d4fa9c614314",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/b766dfcb-041e-48a5-a06e-612c4628a95f",
|
||||
"node_id": "b766dfcb-041e-48a5-a06e-612c4628a95f",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
@ -126,12 +131,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"name": "en2",
|
||||
"port_number": 2,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "utun0",
|
||||
"name": "utun0",
|
||||
"port_number": 3,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,18 +1,19 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3719606a-bb6a-4a9d-b58d-6ca9e81d4cc2'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/00997700-f754-409b-bbf9-2774b17ade3c'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3719606a-bb6a-4a9d-b58d-6ca9e81d4cc2 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/00997700-f754-409b-bbf9-2774b17ade3c HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 640
|
||||
Content-Length: 665
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:08 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:19 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
{
|
||||
"application_id": 1,
|
||||
"command_line": "",
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
@ -20,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": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/iou/3719606a-bb6a-4a9d-b58d-6ca9e81d4cc2",
|
||||
"node_id": "3719606a-bb6a-4a9d-b58d-6ca9e81d4cc2",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/00997700-f754-409b-bbf9-2774b17ade3c",
|
||||
"node_id": "00997700-f754-409b-bbf9-2774b17ade3c",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"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/82feae22-4a86-4664-ac99-5b694c99bfd8'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d84b342a-2d54-444d-bb3b-61d7ff3cfa94'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/82feae22-4a86-4664-ac99-5b694c99bfd8 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d84b342a-2d54-444d-bb3b-61d7ff3cfa94 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,13 +8,13 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 335
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:15 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:22 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "82feae22-4a86-4664-ac99-5b694c99bfd8",
|
||||
"node_id": "d84b342a-2d54-444d-bb3b-61d7ff3cfa94",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "virbr0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c3f10549-f4ca-45cb-9831-6aeda28c5ffa'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6db387ed-c99c-4ecf-b7c5-882771ce8f9b'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c3f10549-f4ca-45cb-9831-6aeda28c5ffa HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6db387ed-c99c-4ecf-b7c5-882771ce8f9b HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 1468
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:27 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -44,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:5f:fa:00",
|
||||
"mac_address": "0c:dd:80:8f:9b:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/c3f10549-f4ca-45cb-9831-6aeda28c5ffa",
|
||||
"node_id": "c3f10549-f4ca-45cb-9831-6aeda28c5ffa",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/6db387ed-c99c-4ecf-b7c5-882771ce8f9b",
|
||||
"node_id": "6db387ed-c99c-4ecf-b7c5-882771ce8f9b",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -0,0 +1,26 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/64614fb7-5040-4046-893d-35a8b6c75bb7'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/64614fb7-5040-4046-893d-35a8b6c75bb7 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 487
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5004,
|
||||
"console_type": "none",
|
||||
"default_destination": "",
|
||||
"ip_address": "",
|
||||
"name": "TraceNG TEST 1",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/64614fb7-5040-4046-893d-35a8b6c75bb7",
|
||||
"node_id": "64614fb7-5040-4046-893d-35a8b6c75bb7",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2901742a-3226-4ac7-96a1-85be8dd885d5'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afe8cb47-ddf2-4563-b821-12e9207ab994'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2901742a-3226-4ac7-96a1-85be8dd885d5 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afe8cb47-ddf2-4563-b821-12e9207ab994 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 465
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:37 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -22,7 +22,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
"linked_clone": false,
|
||||
"name": "VMTEST",
|
||||
"node_directory": null,
|
||||
"node_id": "2901742a-3226-4ac7-96a1-85be8dd885d5",
|
||||
"node_id": "afe8cb47-ddf2-4563-b821-12e9207ab994",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -0,0 +1,30 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/574e26a7-a3be-4770-9a5e-1976b6621a15'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/574e26a7-a3be-4770-9a5e-1976b6621a15 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 688
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:31 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 0,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VMTEST",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/574e26a7-a3be-4770-9a5e-1976b6621a15",
|
||||
"node_id": "574e26a7-a3be-4770-9a5e-1976b6621a15",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_get0/test.vmx"
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ccb9b060-d1b7-4c90-a567-4fdb15ffe05f'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/30bdb318-3e61-4679-a102-bf397bcaf821'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ccb9b060-d1b7-4c90-a567-4fdb15ffe05f HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/30bdb318-3e61-4679-a102-bf397bcaf821 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 428
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:39 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:42 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -17,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": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/ccb9b060-d1b7-4c90-a567-4fdb15ffe05f",
|
||||
"node_id": "ccb9b060-d1b7-4c90-a567-4fdb15ffe05f",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/30bdb318-3e61-4679-a102-bf397bcaf821",
|
||||
"node_id": "30bdb318-3e61-4679-a102-bf397bcaf821",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -12,8 +12,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 212
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:32 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:27 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/qemu/binaries
|
||||
|
||||
[
|
||||
|
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 39
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:35 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:27 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
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, 29 Jun 2017 15:07:36 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/version
|
||||
|
||||
{
|
||||
"local": true,
|
||||
"version": "2.1.0dev1"
|
||||
"version": "2.1.7dev1"
|
||||
}
|
||||
|
@ -9,13 +9,14 @@ POST /v2/compute/projects HTTP/1.1
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 80
|
||||
Content-Length: 103
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:20 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:25 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"variables": null
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:24 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:25 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/close
|
||||
|
||||
|
@ -8,10 +8,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 2951
|
||||
Content-Length: 2926
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:06:59 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:14 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
|
||||
{
|
||||
@ -51,11 +51,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "utun0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet1",
|
||||
"special": true,
|
||||
@ -67,32 +62,47 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet2",
|
||||
"name": "vmnet11",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet3",
|
||||
"name": "vmnet12",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet4",
|
||||
"name": "vmnet13",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet5",
|
||||
"name": "vmnet14",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet6",
|
||||
"name": "vmnet15",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet7",
|
||||
"name": "vmnet16",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet17",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet18",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet19",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
@ -100,16 +110,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
"name": "vmnet8",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet9",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/builtin/d3c99fe4-9f9c-4667-add5-2e37a75dbbb1",
|
||||
"node_id": "d3c99fe4-9f9c-4667-add5-2e37a75dbbb1",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/bd7f1bd9-2752-46bf-a09d-ba0190ac226b",
|
||||
"node_id": "bd7f1bd9-2752-46bf-a09d-ba0190ac226b",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
@ -128,12 +133,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
"name": "en2",
|
||||
"port_number": 2,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "utun0",
|
||||
"name": "utun0",
|
||||
"port_number": 3,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/2cd925a3-2a7f-4d92-bd2d-f0fbf93f0bc8/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/be3c2398-9092-4d78-92af-215ba584ca89/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/2cd925a3-2a7f-4d92-bd2d-f0fbf93f0bc8/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/be3c2398-9092-4d78-92af-215ba584ca89/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:06:59 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:14 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/63fcdc24-7a76-4ad3-a47a-08f3c54fd574/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3d15b76d-633d-495e-969f-bbada9d23583/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/63fcdc24-7a76-4ad3-a47a-08f3c54fd574/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3d15b76d-633d-495e-969f-bbada9d23583/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:04 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:18 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/389b8efd-70d1-4305-a1e0-5ea3bb3e647c/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a6cfdbb2-2e1f-498a-9bcd-26f93a3f7d91/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/389b8efd-70d1-4305-a1e0-5ea3bb3e647c/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a6cfdbb2-2e1f-498a-9bcd-26f93a3f7d91/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -11,10 +11,10 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 145
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:06 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:19 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/4b535824-c72f-484b-a5c5-da2e67e908f2/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/1da544b5-fbfe-4090-bfaf-ad29be48682e/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/4b535824-c72f-484b-a5c5-da2e67e908f2/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/1da544b5-fbfe-4090-bfaf-ad29be48682e/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:06 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:19 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
|
@ -0,0 +1,17 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5bea2912-ed23-40f0-bb6f-ece2adab635d/duplicate' -d '{"destination_node_id": "0cc7ed41-e403-41ec-84ad-4322a5f68dd0"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5bea2912-ed23-40f0-bb6f-ece2adab635d/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "0cc7ed41-e403-41ec-84ad-4322a5f68dd0"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:19 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
@ -1,9 +1,9 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "adb7de66-2415-44b5-8a84-2dc5fdee6979", "path": "iou.bin", "startup_config_content": "hostname test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "aa8e15e5-218e-4333-9ef0-08b09f4841eb", "path": "iou.bin", "startup_config_content": "hostname test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.1
|
||||
{
|
||||
"name": "PC TEST 1",
|
||||
"node_id": "adb7de66-2415-44b5-8a84-2dc5fdee6979",
|
||||
"node_id": "aa8e15e5-218e-4333-9ef0-08b09f4841eb",
|
||||
"path": "iou.bin",
|
||||
"startup_config_content": "hostname test"
|
||||
}
|
||||
@ -11,13 +11,14 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 640
|
||||
Content-Length: 665
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:08 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:19 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes
|
||||
|
||||
{
|
||||
"application_id": 1,
|
||||
"command_line": "",
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
@ -25,8 +26,8 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/iou/adb7de66-2415-44b5-8a84-2dc5fdee6979",
|
||||
"node_id": "adb7de66-2415-44b5-8a84-2dc5fdee6979",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/aa8e15e5-218e-4333-9ef0-08b09f4841eb",
|
||||
"node_id": "aa8e15e5-218e-4333-9ef0-08b09f4841eb",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"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/eb58fbf6-61da-4b9f-9d3d-114fc01b2819/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1bff8a0e-b7b7-42bb-9992-841feb5f0735/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/eb58fbf6-61da-4b9f-9d3d-114fc01b2819/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1bff8a0e-b7b7-42bb-9992-841feb5f0735/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "bridge0",
|
||||
"type": "nio_ethernet"
|
||||
@ -11,8 +11,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 64
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:11 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:21 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/77839213-c55a-484c-98a3-2bf0d2893352/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/17acdd5b-0e7e-43d0-97ad-56b3c028b933/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/77839213-c55a-484c-98a3-2bf0d2893352/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/17acdd5b-0e7e-43d0-97ad-56b3c028b933/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -11,10 +11,10 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 145
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:13 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:21 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d11f7bfb-6250-4d9d-ae8d-a3d152c3de7c/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/eaa6bbcb-aa29-4ab3-89f9-c386f7c0c018/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d11f7bfb-6250-4d9d-ae8d-a3d152c3de7c/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/eaa6bbcb-aa29-4ab3-89f9-c386f7c0c018/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:14 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:21 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
|
@ -0,0 +1,17 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2dd69453-966f-4a15-83cd-10996ddfec7d/duplicate' -d '{"destination_node_id": "4970e2f4-c1d4-48c5-acb7-43c8f62ad6ec"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2dd69453-966f-4a15-83cd-10996ddfec7d/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "4970e2f4-c1d4-48c5-acb7-43c8f62ad6ec"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:22 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d1e486ba-72d8-4fd3-a5fe-b2f4bcdb353b/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/dee609a7-04c8-4434-9927-97fd71a5d2ed/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d1e486ba-72d8-4fd3-a5fe-b2f4bcdb353b/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/dee609a7-04c8-4434-9927-97fd71a5d2ed/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:09 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:20 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/866ec4e8-835c-41bc-ae06-ef3aefc3133c/start' -d '{"iourc_content": "test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4040cc6-0b70-4855-a036-1b978d3851d7/start' -d '{"iourc_content": "test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/866ec4e8-835c-41bc-ae06-ef3aefc3133c/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b4040cc6-0b70-4855-a036-1b978d3851d7/start HTTP/1.1
|
||||
{
|
||||
"iourc_content": "test"
|
||||
}
|
||||
@ -8,13 +8,14 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/866ec4e
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 640
|
||||
Content-Length: 665
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:09 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:19 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
"application_id": 1,
|
||||
"command_line": "",
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
@ -22,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": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/iou/866ec4e8-835c-41bc-ae06-ef3aefc3133c",
|
||||
"node_id": "866ec4e8-835c-41bc-ae06-ef3aefc3133c",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/b4040cc6-0b70-4855-a036-1b978d3851d7",
|
||||
"node_id": "b4040cc6-0b70-4855-a036-1b978d3851d7",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"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/a11a0e08-4013-4727-b16b-29e92fc6f7cf/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/548bb70c-74b2-460f-b5fd-de9e5729f5ab/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/a11a0e08-4013-4727-b16b-29e92fc6f7cf/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/548bb70c-74b2-460f-b5fd-de9e5729f5ab/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:09 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:20 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop
|
||||
|
||||
|
@ -10,13 +10,13 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 335
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:15 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:22 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "0bfda9f4-d320-437b-ad78-524022eb0ea7",
|
||||
"node_id": "86f1f9e2-6d50-405f-93a2-dfa80867011a",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "virbr0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/87b491bd-60dd-44d1-a2d3-98859e4a9c8d/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/01468e6b-9b4a-4c7f-b70f-558e1eb96f5f/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/87b491bd-60dd-44d1-a2d3-98859e4a9c8d/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/01468e6b-9b4a-4c7f-b70f-558e1eb96f5f/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:16 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:22 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -8,8 +8,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 25
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:18 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:24 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/ports/udp
|
||||
|
||||
{
|
||||
|
@ -1,10 +1,10 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64", "ram": 1024}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64", "ram": 1024}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1.1
|
||||
{
|
||||
"hda_disk_image": "linux\u8f7d.img",
|
||||
"name": "PC TEST 1",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
|
||||
"ram": 1024
|
||||
}
|
||||
|
||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 1514
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
|
||||
{
|
||||
@ -49,15 +49,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:08:57:00",
|
||||
"mac_address": "0c:dd:80:55:b9:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/8f66a9c3-60bd-4a10-8feb-73e3341f0857",
|
||||
"node_id": "8f66a9c3-60bd-4a10-8feb-73e3341f0857",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/ae5793fb-4872-4b81-8255-3203266a55b9",
|
||||
"node_id": "ae5793fb-4872-4b81-8255-3203266a55b9",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,21 +1,25 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3a264a0f-bcdc-4c4e-b28f-ab27486dacf0/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/efed1192-7f96-4a02-bea0-62b706547da4/adapters/1/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3a264a0f-bcdc-4c4e-b28f-ab27486dacf0/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/efed1192-7f96-4a02-bea0-62b706547da4/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "eth0",
|
||||
"type": "nio_ethernet"
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 409
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 81
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:31 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"message": "NIO of type nio_ethernet is not supported",
|
||||
"status": 409
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
@ -0,0 +1,17 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a24f3dd4-3216-4b8a-ac23-bec412dfaf91/duplicate' -d '{"destination_node_id": "89fbd11f-87db-4aca-ade9-8cc0cf335f33"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a24f3dd4-3216-4b8a-ac23-bec412dfaf91/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "89fbd11f-87db-4aca-ade9-8cc0cf335f33"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:27 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c081c6f2-a073-410d-a182-a99fee27f1a2/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/48ffbc55-174e-4e12-ac4d-70f4eaa52762/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c081c6f2-a073-410d-a182-a99fee27f1a2/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/48ffbc55-174e-4e12-ac4d-70f4eaa52762/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f21573b-5ec1-401d-84a7-803d19f11b8c/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9bd844e1-0cd0-4924-a12f-2a8d7711746d/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f21573b-5ec1-401d-84a7-803d19f11b8c/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/9bd844e1-0cd0-4924-a12f-2a8d7711746d/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ee86570c-7cc3-4c9d-95a7-55fbb442fd43/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d49b3617-cdad-4d3c-99e7-77ae9aad537f/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ee86570c-7cc3-4c9d-95a7-55fbb442fd43/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d49b3617-cdad-4d3c-99e7-77ae9aad537f/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 1468
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:27 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
@ -44,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:fd:43:00",
|
||||
"mac_address": "0c:dd:80:53:7f:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/ee86570c-7cc3-4c9d-95a7-55fbb442fd43",
|
||||
"node_id": "ee86570c-7cc3-4c9d-95a7-55fbb442fd43",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/d49b3617-cdad-4d3c-99e7-77ae9aad537f",
|
||||
"node_id": "d49b3617-cdad-4d3c-99e7-77ae9aad537f",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpuv9ozeux/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/96005c5e-f02b-433b-a826-92d8cb52ebe8/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/90288c66-d6bb-4f80-9420-1a6d48e4d370/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/96005c5e-f02b-433b-a826-92d8cb52ebe8/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/90288c66-d6bb-4f80-9420-1a6d48e4d370/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3faa953d-5669-40a0-8ede-8e6671e506fe/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/734f4016-698b-4907-a225-e690214811f3/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3faa953d-5669-40a0-8ede-8e6671e506fe/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/734f4016-698b-4907-a225-e690214811f3/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:26 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend
|
||||
|
||||
|
@ -0,0 +1,28 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes' -d '{"name": "TraceNG TEST 1"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes HTTP/1.1
|
||||
{
|
||||
"name": "TraceNG TEST 1"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 487
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5004,
|
||||
"console_type": "none",
|
||||
"default_destination": "",
|
||||
"ip_address": "",
|
||||
"name": "TraceNG TEST 1",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/e12be8ef-0fb0-4199-ba0e-c7de6e538c40",
|
||||
"node_id": "e12be8ef-0fb0-4199-ba0e-c7de6e538c40",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/45c99055-403f-4da2-a435-626c591d6185/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/45c99055-403f-4da2-a435-626c591d6185/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
@ -0,0 +1,17 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/5e8cf930-0ad4-4ebd-a16b-5b4d42b20115/duplicate' -d '{"destination_node_id": "e97a5cfc-4ac1-409c-a909-93a9902ae606"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/5e8cf930-0ad4-4ebd-a16b-5b4d42b20115/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "e97a5cfc-4ac1-409c-a909-93a9902ae606"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/59be71df-e2e3-4f0b-bfe8-acace5dddcd6/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/59be71df-e2e3-4f0b-bfe8-acace5dddcd6/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/reload
|
||||
|
@ -0,0 +1,28 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/4422948c-70b0-42ab-8448-ad136e433915/start' -d '{"destination": "192.168.1.2"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/4422948c-70b0-42ab-8448-ad136e433915/start HTTP/1.1
|
||||
{
|
||||
"destination": "192.168.1.2"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 487
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5004,
|
||||
"console_type": "none",
|
||||
"default_destination": "",
|
||||
"ip_address": "",
|
||||
"name": "TraceNG TEST 1",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/traceng/4422948c-70b0-42ab-8448-ad136e433915",
|
||||
"node_id": "4422948c-70b0-42ab-8448-ad136e433915",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/1b41defb-4fae-4681-89d1-a62fff2bfb70/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/traceng/nodes/1b41defb-4fae-4681-89d1-a62fff2bfb70/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:28 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/traceng/nodes/{node_id}/stop
|
||||
|
@ -12,8 +12,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 459
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:36 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
|
||||
|
||||
{
|
||||
@ -26,7 +26,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"node_directory": null,
|
||||
"node_id": "9e2ac63a-073c-4a24-aeac-f61357a5f90f",
|
||||
"node_id": "e649e24c-a24b-4f43-8d60-42a054924fde",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/96f83848-0576-4ef0-ae34-59e94f151aa9/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/de29fdcc-31c0-4884-9f3e-70ca810e4226/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/96f83848-0576-4ef0-ae34-59e94f151aa9/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/de29fdcc-31c0-4884-9f3e-70ca810e4226/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:38 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2266dbe5-4a29-42e2-8b96-4fcd5f53ead0/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3ebf79be-e793-4206-a3f3-6d152e44b25f/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2266dbe5-4a29-42e2-8b96-4fcd5f53ead0/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/3ebf79be-e793-4206-a3f3-6d152e44b25f/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:38 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/648ab272-9340-4b8c-ac48-1ab94d347414/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c28189c8-7850-4cdf-bc46-4eacb04e2248/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/648ab272-9340-4b8c-ac48-1ab94d347414/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c28189c8-7850-4cdf-bc46-4eacb04e2248/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:37 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5fb0ae01-4a89-4441-ab26-387d99e59966/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/eab8b767-7449-4aa0-9462-92bb2310d1fa/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5fb0ae01-4a89-4441-ab26-387d99e59966/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/eab8b767-7449-4aa0-9462-92bb2310d1fa/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:37 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/691076a7-5d1c-47b2-b100-7e3eda812e42/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7bbe36bc-56a6-4dd4-9249-87fe3b6441db/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/691076a7-5d1c-47b2-b100-7e3eda812e42/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7bbe36bc-56a6-4dd4-9249-87fe3b6441db/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:37 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4928f9c9-5741-47ad-8dc3-6478e5a2d2cc/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1178060c-aab7-4b6e-86ae-5bc25e7ea2fc/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4928f9c9-5741-47ad-8dc3-6478e5a2d2cc/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/1178060c-aab7-4b6e-86ae-5bc25e7ea2fc/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:37 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend
|
||||
|
||||
|
@ -0,0 +1,34 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes' -d '{"linked_clone": false, "name": "VM1", "vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_create0/test.vmx"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes HTTP/1.1
|
||||
{
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_create0/test.vmx"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 688
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:29 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 0,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/049de18e-e9b8-4b96-85b7-b81ef50ca43b",
|
||||
"node_id": "049de18e-e9b8-4b96-85b7-b81ef50ca43b",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_create0/test.vmx"
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a5bc0194-75eb-4b7f-a078-e201109e2054/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/a5bc0194-75eb-4b7f-a078-e201109e2054/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:38 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f54d856e-ee53-481b-a97b-42e86fcc8565/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f54d856e-ee53-481b-a97b-42e86fcc8565/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:36 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/reload
|
||||
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8f555145-eb0a-4456-8996-662e78098f00/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8f555145-eb0a-4456-8996-662e78098f00/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:35 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/resume
|
||||
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/6a2fecb3-368c-497f-8c80-f732fdb611f3/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/6a2fecb3-368c-497f-8c80-f732fdb611f3/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:32 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/start
|
||||
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/bdf5c29d-d011-4eaa-9ca3-6581d247fcb4/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/bdf5c29d-d011-4eaa-9ca3-6581d247fcb4/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:33 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/stop
|
||||
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/ed27e250-ecb3-4a6d-a16f-73cb112f2cff/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/ed27e250-ecb3-4a6d-a16f-73cb112f2cff/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 07 Jun 2018 08:13:34 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/suspend
|
||||
|
@ -10,8 +10,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 428
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:39 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:42 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
|
||||
|
||||
{
|
||||
@ -19,8 +19,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/688b1a5e-3b12-40f4-aa70-bf640ca20f5f",
|
||||
"node_id": "688b1a5e-3b12-40f4-aa70-bf640ca20f5f",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/dd2fd65a-97d2-4e59-9627-b733fe88ee78",
|
||||
"node_id": "dd2fd65a-97d2-4e59-9627-b733fe88ee78",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/841d8150-2de9-4673-92bb-2d87dcca1f88/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b1f7cb30-08aa-48cb-9059-2e741c8148aa/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/841d8150-2de9-4673-92bb-2d87dcca1f88/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b1f7cb30-08aa-48cb-9059-2e741c8148aa/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -13,8 +13,8 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:40 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -0,0 +1,17 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ee94b631-1c6b-4ff6-ac7d-240900774ad3/duplicate' -d '{"destination_node_id": "1cdcdbf2-20bf-41f5-98dd-70fb9dc8773e"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ee94b631-1c6b-4ff6-ac7d-240900774ad3/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "1cdcdbf2-20bf-41f5-98dd-70fb9dc8773e"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fd6608b1-f731-4031-ba37-4f1dfaf461dd/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5fd906a6-330f-458b-abf5-67ce959972fe/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fd6608b1-f731-4031-ba37-4f1dfaf461dd/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/5fd906a6-330f-458b-abf5-67ce959972fe/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c8ead56f-2107-4183-837e-ee2be3d07942/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a1cf1192-7d29-4fa8-8e1c-948f50eddabc/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c8ead56f-2107-4183-837e-ee2be3d07942/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a1cf1192-7d29-4fa8-8e1c-948f50eddabc/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,8 +8,8 @@ HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 428
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:42 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
@ -17,8 +17,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/c8ead56f-2107-4183-837e-ee2be3d07942",
|
||||
"node_id": "c8ead56f-2107-4183-837e-ee2be3d07942",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp_svt10ce/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/a1cf1192-7d29-4fa8-8e1c-948f50eddabc",
|
||||
"node_id": "a1cf1192-7d29-4fa8-8e1c-948f50eddabc",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0c6a1651-5d3e-48c1-8f2f-9bd79aef0aae/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/430c97cf-5605-400a-8c6b-546858b02664/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0c6a1651-5d3e-48c1-8f2f-9bd79aef0aae/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/430c97cf-5605-400a-8c6b-546858b02664/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop
|
||||
|
||||
|
@ -17,7 +17,7 @@ HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 29 Jun 2017 15:07:35 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:27 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/qemu/img
|
||||
|
||||
|
31
docs/api/examples/compute_put_projectsprojectid.txt
Normal file
31
docs/api/examples/compute_put_projectsprojectid.txt
Normal file
@ -0,0 +1,31 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/51010203-0405-0607-0809-0a0b0c0d0e0f' -d '{"variables": [{"name": "TEST1", "value": "VAL1"}]}'
|
||||
|
||||
PUT /v2/compute/projects/51010203-0405-0607-0809-0a0b0c0d0e0f HTTP/1.1
|
||||
{
|
||||
"variables": [
|
||||
{
|
||||
"name": "TEST1",
|
||||
"value": "VAL1"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 183
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:25 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"variables": [
|
||||
{
|
||||
"name": "TEST1",
|
||||
"value": "VAL1"
|
||||
}
|
||||
]
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/4631238a-cc6f-42f4-919e-564e00b9daf5' -d '{"name": "test"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d964862d-8fa4-4d41-8b95-539c987d5828' -d '{"name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/4631238a-cc6f-42f4-919e-564e00b9daf5 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/d964862d-8fa4-4d41-8b95-539c987d5828 HTTP/1.1
|
||||
{
|
||||
"name": "test"
|
||||
}
|
||||
@ -8,10 +8,10 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/463123
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 2948
|
||||
Content-Length: 2923
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:00 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:18 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -51,11 +51,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "utun0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet1",
|
||||
"special": true,
|
||||
@ -67,32 +62,47 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet2",
|
||||
"name": "vmnet11",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet3",
|
||||
"name": "vmnet12",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet4",
|
||||
"name": "vmnet13",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet5",
|
||||
"name": "vmnet14",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet6",
|
||||
"name": "vmnet15",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet7",
|
||||
"name": "vmnet16",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet17",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet18",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet19",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
@ -100,16 +110,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"name": "vmnet8",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet9",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"name": "test",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/builtin/4631238a-cc6f-42f4-919e-564e00b9daf5",
|
||||
"node_id": "4631238a-cc6f-42f4-919e-564e00b9daf5",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/d964862d-8fa4-4d41-8b95-539c987d5828",
|
||||
"node_id": "d964862d-8fa4-4d41-8b95-539c987d5828",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
@ -128,12 +133,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"name": "en2",
|
||||
"port_number": 2,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "utun0",
|
||||
"name": "utun0",
|
||||
"port_number": 3,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -0,0 +1,27 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a6bf11c2-5716-410f-bceb-5fe1b7780b81/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a6bf11c2-5716-410f-bceb-5fe1b7780b81/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"filters": {},
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 108
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:14 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"filters": {},
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
@ -1,9 +1,10 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/bc7e5ef2-dce1-4a8e-8e00-2269b3b31f8c' -d '{"console": 5006, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/d7e6571d-5d3c-42e3-9c88-5837c862a30f' -d '{"console": 5006, "environment": "GNS3=1\nGNS4=0", "extra_hosts": "test:127.0.0.1", "name": "test", "start_command": "yes"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/bc7e5ef2-dce1-4a8e-8e00-2269b3b31f8c HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/d7e6571d-5d3c-42e3-9c88-5837c862a30f HTTP/1.1
|
||||
{
|
||||
"console": 5006,
|
||||
"environment": "GNS3=1\nGNS4=0",
|
||||
"extra_hosts": "test:127.0.0.1",
|
||||
"name": "test",
|
||||
"start_command": "yes"
|
||||
}
|
||||
@ -11,10 +12,10 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/bc7e5
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 653
|
||||
Content-Length: 690
|
||||
Content-Type: application/json
|
||||
Date: Thu, 29 Jun 2017 15:07:05 GMT
|
||||
Server: Python/3.6 GNS3/2.1.0dev1
|
||||
Date: Thu, 07 Jun 2018 08:13:19 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -27,10 +28,11 @@ X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
|
||||
"console_type": "telnet",
|
||||
"container_id": "8bd8153ea8f5",
|
||||
"environment": "GNS3=1\nGNS4=0",
|
||||
"extra_hosts": "test:127.0.0.1",
|
||||
"image": "nginx:latest",
|
||||
"name": "test",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/docker/bc7e5ef2-dce1-4a8e-8e00-2269b3b31f8c",
|
||||
"node_id": "bc7e5ef2-dce1-4a8e-8e00-2269b3b31f8c",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/docker/d7e6571d-5d3c-42e3-9c88-5837c862a30f",
|
||||
"node_id": "d7e6571d-5d3c-42e3-9c88-5837c862a30f",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"start_command": "yes",
|
||||
"status": "stopped"
|
||||
|
@ -0,0 +1,25 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/28827b16-356e-45b5-9615-f9cba6ae1c8d/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/28827b16-356e-45b5-9615-f9cba6ae1c8d/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 07 Jun 2018 08:13:18 GMT
|
||||
Server: Python/3.6 GNS3/2.1.7dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user