mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-24 17:55:15 +00:00
Compare commits
208 Commits
Author | SHA1 | Date | |
---|---|---|---|
ef5714bd3e | |||
cfe13e1929 | |||
935ca17d7a | |||
644616b69c | |||
84da9b4c23 | |||
7528152475 | |||
815820f692 | |||
2564740665 | |||
42f409d5f9 | |||
aae37034e1 | |||
132bc87081 | |||
25c4207661 | |||
8d22f2930e | |||
ac05db5d1b | |||
80e361ff2e | |||
541afe9660 | |||
bbfd56606c | |||
4036e519a7 | |||
9fd5e4cbc9 | |||
cb78eb4ee3 | |||
8712866489 | |||
1566d7f12a | |||
cc6f4c0510 | |||
73c31b4b87 | |||
c608a4ab38 | |||
c5290cfec6 | |||
34f5a6f82c | |||
78c154e376 | |||
a571b1a2f8 | |||
55563b9808 | |||
5409d9c3f8 | |||
95f864c871 | |||
a62b791c68 | |||
bc0e4c1174 | |||
0997998064 | |||
c8b46bdcab | |||
2ddb329a90 | |||
1b84874762 | |||
7c318d477d | |||
490576fedc | |||
31ed2a4c96 | |||
6a015fffeb | |||
08bafc2dcc | |||
cb6f94bc24 | |||
d37d3e7d77 | |||
2c0fb0d016 | |||
233a5fbed4 | |||
84a6ed7684 | |||
1d5029e4e2 | |||
d60597ca0d | |||
886329a978 | |||
0dc38a3970 | |||
9ef334331e | |||
5e2b619305 | |||
fea77398e7 | |||
3cfe83ae84 | |||
55b4e95396 | |||
b909ec978f | |||
c2ccad35fe | |||
cb338d9583 | |||
bb45ff0d9a | |||
7b642552dd | |||
d89ea83746 | |||
78e5944e66 | |||
5b217d2043 | |||
54131bc9bb | |||
8b7035b185 | |||
94d285301a | |||
5e7f97b175 | |||
e828c9068a | |||
7e1e63cd09 | |||
39106ac36b | |||
41d7570b24 | |||
da8811515d | |||
ec6411f730 | |||
70e2b87ff0 | |||
8fd59c7967 | |||
9c71e96fd4 | |||
8e9c480d8d | |||
53dd1bd6e1 | |||
34d0736946 | |||
2e0f012952 | |||
65b75a9212 | |||
366c567864 | |||
420c3792eb | |||
3fb24dd895 | |||
5bfa864f0c | |||
0d96471f29 | |||
8aca3c7b99 | |||
30db4d8b5c | |||
afa3f12e30 | |||
726480f676 | |||
40be22bc58 | |||
6a91804116 | |||
ebe8c1e536 | |||
2884a40769 | |||
b132d95a04 | |||
961c209ab1 | |||
132a7bfeb7 | |||
7407ab88b3 | |||
7fea6f0e2e | |||
a730fce514 | |||
5796f47a55 | |||
0f33448af2 | |||
8d2c27eafd | |||
10b039074f | |||
897c9cb42c | |||
a2337ed6c6 | |||
b7e5c08fdf | |||
e04eb44a15 | |||
a191029c4f | |||
0dbd92db11 | |||
a576c57873 | |||
5639cbe860 | |||
defcf82610 | |||
4fed98617b | |||
f33e470601 | |||
19b70accd5 | |||
94fd4bcbe9 | |||
6ded234681 | |||
bcc71b5455 | |||
08c2892295 | |||
9c7d2e9915 | |||
0d7157c295 | |||
fbe26d11cf | |||
d06af526b2 | |||
959c08449e | |||
96194cef67 | |||
63b888a57e | |||
46d405c8b3 | |||
f0ff035c0b | |||
27a1089806 | |||
bfbc6ff0be | |||
580693b1ec | |||
2da20177a2 | |||
267a5ae3a8 | |||
8ff7670031 | |||
d99ec92210 | |||
b9bd6aa501 | |||
1ed88eda85 | |||
a24490930f | |||
dc40b0296e | |||
f90e6f2f5b | |||
a1a677fcd3 | |||
9d6d15c1bc | |||
5183ef8348 | |||
1b07c31ef1 | |||
c5be64a44f | |||
6177a45eb5 | |||
e7a88a7d99 | |||
89d98bc528 | |||
d74769c824 | |||
e5dba5e66a | |||
3c0bdd12b5 | |||
47c58bb400 | |||
c9f3ea4489 | |||
d10e707f4f | |||
28cbae546d | |||
82da073dd7 | |||
6938e400d1 | |||
bfb23ce7a3 | |||
e06be6729a | |||
304d92764c | |||
2de284ea30 | |||
7a0783d050 | |||
7241063ddf | |||
1527a1a4e1 | |||
ec0181a5ad | |||
e87f5fd782 | |||
e63171c2c2 | |||
19c4ec1867 | |||
b1ae884bf0 | |||
1bf54bcaeb | |||
82c99418b4 | |||
69d8ed5636 | |||
df694ca9eb | |||
720adb7721 | |||
9480065b28 | |||
afd46ec010 | |||
6150929a5b | |||
e0071f5b59 | |||
666461277d | |||
41d32a5f71 | |||
f7d87f09f1 | |||
58287b3638 | |||
2de60ba257 | |||
035cbac28e | |||
b63273ec97 | |||
45cf004946 | |||
8019374ed0 | |||
688122c467 | |||
5c8193556d | |||
a2fdc92fcb | |||
955a466be5 | |||
51aef2b9c7 | |||
6778b29fc0 | |||
d4be588973 | |||
a329f89294 | |||
c06d2e3118 | |||
12f09829e7 | |||
c9fc0a0d6d | |||
855ab13655 | |||
ef54367bf7 | |||
e53db1ed81 | |||
8c61ef18ba | |||
9a7a9f41aa | |||
af530be346 | |||
9c3cfc4f4e |
15
.travis.yml
15
.travis.yml
@ -1,13 +1,20 @@
|
||||
language: python
|
||||
python:
|
||||
- '3.4'
|
||||
- '3.5'
|
||||
- '3.6'
|
||||
sudo: false
|
||||
cache: pip
|
||||
install:
|
||||
- python setup.py install
|
||||
- pip install -rdev-requirements.txt
|
||||
- pip install coveralls
|
||||
script:
|
||||
- py.test -v -s tests --cov gns3server --cov-report term-missing
|
||||
after_success:
|
||||
- coveralls
|
||||
- py.test -v -s tests
|
||||
deploy:
|
||||
provider: pypi
|
||||
user: noplay
|
||||
password:
|
||||
secure: Fa66zp8ML4oSGwzkUMZi07MIYfO3tbS5gHFUaLN2mk2MBknhCjDYexmFJqT//sC/+xqv6sSJE6rz1EPoy/THbxj8R96ZgIyiUZIbDCbzgdy92d7J/eusrDoNdpApBLke8NqQqtFETb3addMZZNofQ3IDANFD2m2jY+KECU8z8NI=
|
||||
on:
|
||||
tags: true
|
||||
repo: GNS3/gns3-server
|
||||
|
197
CHANGELOG
197
CHANGELOG
@ -1,5 +1,179 @@
|
||||
# Change Log
|
||||
|
||||
## 2.0.0rc3 31/03/2017
|
||||
|
||||
* Support IOU image without .bin at the end
|
||||
* Allow to change some properties of an already connected ethernet switch
|
||||
* Ensure we start only one ubridge
|
||||
* Catch some broken hostname for compute node
|
||||
* Fix limit of 20 docker containers
|
||||
* Fix race conditions in creation of Frame Relay Switch
|
||||
* Fix conversion of project from 1.X with custom symbol for cloud
|
||||
* Dissallow parallel pull of docker images
|
||||
* Add a scripts for running current dev version on GNS3 VM
|
||||
* Fix a crash with missing size in the svg files
|
||||
* Fix an utf8 error in auth code
|
||||
* Improve vmrun timeout message
|
||||
* Support utf-8 characters in user and password for auth
|
||||
* Handle password configuration change on remote servers
|
||||
* Fix Bug when delete fake-running VMBox
|
||||
* Fix Can't connect to compute local on some computers
|
||||
* Add a modification uuid to settings returned by the server
|
||||
* Check python version in setup.py only for install
|
||||
* Fix Session is closed when listing docker images
|
||||
* Cleanup docker source code
|
||||
* Use aiohttp session for docker queries
|
||||
* Escape special characters from SVG text
|
||||
* Fix some port short name display issues
|
||||
* Catch server disconnected errors from computes
|
||||
* Generate a node uuid if the uuid is missing in the .gns3
|
||||
* Ensure to dump project before exporting it
|
||||
* Fix return code check for SIGSEGV of IOU images
|
||||
* Prevent vmname change for VirtualBox linked clone
|
||||
* Upgrade to aiohttp 1.3.5 to solve issue with big file
|
||||
* Handle some invalid svg
|
||||
* Try to fix some 1.3 topology with corrupted data
|
||||
* Fix ComputeError: Can't connect to Main server
|
||||
* Catch error when the server as trouble to access to itself
|
||||
* Catch a timeout error in docker
|
||||
* Lock yarl version because 0.10 is not compatible with aiohttp 1.3
|
||||
* Raise error if image are not avaible on main server during export
|
||||
* Fix a race condition when killing ubridge
|
||||
* If your settings from 1.X are broken with skip them at import
|
||||
* Catch a permission error on symbols
|
||||
* Catch unicode error when you try to duplicate a project with invalid characters
|
||||
* Catch error when you try to put an invalid server url
|
||||
* Fix an error when handling ubridge errors
|
||||
* Fix crash when handling an error in project creation
|
||||
|
||||
## 2.0.0rc2 10/03/2017
|
||||
|
||||
* Drop color logging for remote install, seem to fail in some conditions
|
||||
* Cleanup the remote install script
|
||||
* Support for Xenial in remote install
|
||||
* Fix GNS3VM settings are lost at startup
|
||||
* When we receive settings from the client save them on disk
|
||||
|
||||
## 2.0.0 RC 1 06/03/2017
|
||||
|
||||
* Update the documentation
|
||||
* Enable show in file manager for cloud
|
||||
* Improve error log when you have trouble to load a topology
|
||||
* Fix when qemu exit by itself clean other processes
|
||||
* Fix an issue with some node name format
|
||||
* Catch error when we can't save the settings
|
||||
* Do not prevent the creation of a local server on a machine named gns3vm
|
||||
* Load local server before anything else
|
||||
* Remove noise from log when VMware is not installed
|
||||
* Fix an error with some SVG
|
||||
* Patch hostname in configuration file even if name is unsync
|
||||
* If the GNS3 VM as failed to start reset his status
|
||||
* Update the documentation
|
||||
* Enable show in file manager for cloud
|
||||
* Improve error log when you have trouble to load a topology
|
||||
* Fix when qemu exit by itself clean other processes
|
||||
* Fix an issue with some node name format
|
||||
* Catch error when we can't save the settings
|
||||
* Do not prevent the creation of a local server on a machine named gns3vm
|
||||
* Load local server before anything else
|
||||
* Remove noise from log when VMware is not installed
|
||||
* Fix an error with some SVG
|
||||
* Patch hostname in configuration file even if name is unsync
|
||||
* If the GNS3 VM as failed to start reset his status
|
||||
* Report aiohttp version in crash report
|
||||
* Catch some invalid node name formatting
|
||||
* Ensure we dump a .gns3 before exporting it
|
||||
* Improve ACPI shutdown for virtualbox
|
||||
* Fix an issue with serial capture for IOU
|
||||
* Fix restoration of private config when using dynamips
|
||||
* Avoid a crash when the connection with the server close
|
||||
* Increase timeout for detecting VirtualBox GNS3 VM
|
||||
* Fix headless startup of the GNS3 VM
|
||||
* Do not crash at startup if local server as the same name as remote server
|
||||
* Yarl 0.9.8 is require by aiohttp 1.3
|
||||
|
||||
## 2.0.0 beta 4 16/02/2017
|
||||
|
||||
* Lock aiohttp to 1.2.0 because 1.3 create bug with Qt
|
||||
* Avoid a crash in some conditions when reading the serial console
|
||||
* Disallow export of project with VirtualBox linked clone
|
||||
* Fix linked_clone property lost during topology convert
|
||||
* Catch permission error when restoring a snapshot
|
||||
* Fix a rare crash when closing a project
|
||||
* Fix error when you have error on your filesystem during project convertion
|
||||
* Catch error when we can't access to a unix socket
|
||||
* If we can't resolve compute name return 0.0.0.0
|
||||
* Raise an error if you put an invalid key in node name
|
||||
* Improve a lot project loading speed
|
||||
* Fix a potential crash
|
||||
* Fix the server don't start if a remote is unavailable
|
||||
* Do not crash if you pass {name} in name
|
||||
* Fix import/export of dynamips configuration
|
||||
* Simplify conversion process from 1.3 to 2.0
|
||||
* Prevent corruption of VM in VirtualBox when using linked clone
|
||||
* Fix creation of qemu img
|
||||
* Fix rare race condition when stopping ubridge
|
||||
* Prevent renaming of a running VirtualBox linked VM
|
||||
* Avoid crash when you broke your system permissions
|
||||
* Do not crash when you broke permission on your file system during execution
|
||||
* Fix a crash when you broke permission on your file system
|
||||
* Fix a rare race condition when exporting debug informations
|
||||
* Do not try to start the GNS3 VM if the name is none
|
||||
* Fix version check for VPCS
|
||||
* Fix pcap for PPP link with IOU
|
||||
* Correct link are not connected to the correct ethernet switch port after conversion
|
||||
* Fix an error if you don't have permissions on your symbols directory
|
||||
* Fix an error when converting some topologies from 1.3
|
||||
|
||||
## 2.0.0 beta 3 19/01/2017
|
||||
|
||||
* Force the dependency on typing because otherwise it's broke on 3.4
|
||||
* Fix sometimes you have an exception when closing GNS3
|
||||
* Fix duplicate node names
|
||||
* Fix bug with other directory of Qemu images
|
||||
* Do not raise an error if no VM is selected for remote GNS3 VM
|
||||
* Fix UnboundLocalError: local variable 'vmname' referenced before assignment
|
||||
* Fix some race condition in project deletion
|
||||
* If qemu status change internally we mirror it
|
||||
* Fix hostname of VPCS is not changed
|
||||
* Fix capture stop with Wireshark
|
||||
* Drop a useless debug information
|
||||
* Fix sometimes VirtualBox VM are not loading
|
||||
* Drop NAT port from cloud from old topologies
|
||||
* Fix Port labels for docker VMs incorrect
|
||||
* Fix If cloud interface is down the project doesn't open
|
||||
* Catch Timeout error from VirtualBox GNS3 VM
|
||||
* Fix export of IOU configuration
|
||||
* Fix a crash with VirtualBox in some conditions
|
||||
* Sata disk interface support for Qemu VMs. (#862)
|
||||
* Fix random error in the dynamips test suite after previous commit
|
||||
* Support conversion to dynamips new directory layout on remote
|
||||
* Catch error when a file is deleted during the compression of project
|
||||
* Fix a crash with some docker images
|
||||
* Fix Wrong slot numbering on IOS router
|
||||
* Fix VPCS configuration is overwritten on project load
|
||||
* Fix wrong short label for ethernet switch, hub & VPCS
|
||||
* Fix binding console host for VMware and VirtualBox
|
||||
* Fix resume of dynamips routers
|
||||
* Fix sporadically systemd is unable to start gns3-server
|
||||
* Fix RuntimeError: File size has increased during compressing
|
||||
* Do not dump local compute configuration when saving topology
|
||||
* Change directory layout for dynamips.
|
||||
* Ensure we can't connect to occupy port
|
||||
* Fix handling of UTF-8 in large SVG files
|
||||
* Prevent a crash when you close a dynamips node and create a link at the same time
|
||||
* Fix short label diplay instead of custom interface labels
|
||||
* Improve error message about the netmask
|
||||
* Do not mark VirtualBox adapter as connected when not connected to another node in GNS3.
|
||||
* Add missing 'DLT_PPP_SERIAL' PCAP link type in schemas.
|
||||
* Fix crash when converting topology with broken link
|
||||
* Replace JSONDecodeError by ValueError (Python 3.4 compatibility)
|
||||
* Catch an error when we can't create the IOU directory
|
||||
|
||||
## 1.5.3 12/01/2017
|
||||
|
||||
* Fix sporadically systemd is unable to start gns3-server
|
||||
|
||||
## 2.0.0 beta 2 20/12/2016
|
||||
|
||||
* Fix an error when docker hub failed to anwser
|
||||
@ -35,6 +209,28 @@
|
||||
* Add support for bios images
|
||||
* Fix error when controller config file is corrupted
|
||||
|
||||
## 1.5.3 rc1 20/12/2016
|
||||
|
||||
* Support aiohttp 1.2 (but not compatible with previous versions)
|
||||
* Explain that segfault on IOU is a issue with the image
|
||||
* Fix an issue with finding vmrun and vboxmanage
|
||||
* Support named remote servers for VPCS
|
||||
* When checking for a free port check if the host and 0.0.0.0 are available
|
||||
* smm=off is only for 64bits
|
||||
* Fix set hostname on remote server
|
||||
* Fix sending smm option to qemu
|
||||
* Workaround a bug with KVM, Qemu >= 2.4 and Intel CPU
|
||||
* Renable sleep at Vbox exit bug seem to be back
|
||||
* Support large project (> 2GB) during export
|
||||
* Fix Deleting running telnet docker VM shows error in log
|
||||
* Fix when closing a container using VNC, root permission are not reset
|
||||
* Use $PATH also for dynamips and cleanup some $PATH usages
|
||||
* Fix a lock issue with some virtualbox vm
|
||||
* Raise proper error when you try to load an empty qcow2 file
|
||||
* Fix upload form crash
|
||||
* Search bin from the $PATH for sample configuration file
|
||||
* Updated systemd unit file and added sample configuration file
|
||||
|
||||
## 2.0.0 beta 1 07/12/2016
|
||||
|
||||
* Fix crash if at controller loading the remote server is not a GNS3 server
|
||||
@ -218,7 +414,6 @@
|
||||
* Edit the scene size
|
||||
* New API
|
||||
|
||||
|
||||
## 1.5.2 18/08/2016
|
||||
|
||||
* Move utils.vmnet to gns3 namespace
|
||||
|
34
Dockerfile
Normal file
34
Dockerfile
Normal file
@ -0,0 +1,34 @@
|
||||
# Dockerfile for GNS3 server development
|
||||
|
||||
FROM ubuntu:16.04
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
# Set the locale
|
||||
RUN locale-gen en_US.UTF-8
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANGUAGE en_US:en
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
|
||||
RUN apt-get update && apt-get install -y software-properties-common
|
||||
RUN add-apt-repository ppa:gns3/ppa
|
||||
RUN apt-get update && apt-get install -y \
|
||||
python3-pip \
|
||||
python3-dev \
|
||||
qemu-system-x86 \
|
||||
qemu-system-arm \
|
||||
qemu-kvm \
|
||||
libvirt-bin \
|
||||
x11vnc
|
||||
|
||||
# Install uninstall to install dependencies
|
||||
RUN apt-get install -y vpcs ubridge
|
||||
|
||||
ADD . /server
|
||||
WORKDIR /server
|
||||
|
||||
RUN pip3 install -r /server/requirements.txt
|
||||
|
||||
EXPOSE 3080
|
||||
|
||||
CMD python3 -m gns3server --local
|
10
README.rst
10
README.rst
@ -71,6 +71,16 @@ To run tests use:
|
||||
py.test -v
|
||||
|
||||
|
||||
Docker container
|
||||
****************
|
||||
|
||||
For development you can run the GNS3 server in a container
|
||||
|
||||
.. code:: bash
|
||||
|
||||
bash scripts/docker_dev_server.sh
|
||||
|
||||
|
||||
Run as daemon (Unix only)
|
||||
**************************
|
||||
|
||||
|
@ -1,8 +1,7 @@
|
||||
-rrequirements.txt
|
||||
|
||||
sphinx==1.5.1
|
||||
pytest==3.0.5
|
||||
sphinx==1.5.3
|
||||
pytest==3.0.7
|
||||
pep8==1.7.0
|
||||
pytest-capturelog==0.7
|
||||
pytest-cov==2.4.0
|
||||
pytest-catchlog==1.2.2
|
||||
pytest-timeout==1.2.0
|
||||
|
@ -5,9 +5,10 @@ DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80 HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:47 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f071242d-f471-48b3-b963-c668718b7f2a'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/eeee4a80-b66d-4865-b9e6-92582712210c'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f071242d-f471-48b3-b963-c668718b7f2a HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/eeee4a80-b66d-4865-b9e6-92582712210c HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:40 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f9aa4e6e-1082-472d-ab1b-803eaa542adb/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/85766740-75a7-40e7-9dc2-31af994af8cd/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f9aa4e6e-1082-472d-ab1b-803eaa542adb/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/85766740-75a7-40e7-9dc2-31af994af8cd/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:40 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/991594a0-9c41-451d-ad22-d56ed44e8ea8/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/908a6d69-00ce-403a-9627-a5a874acd69e/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/991594a0-9c41-451d-ad22-d56ed44e8ea8/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/908a6d69-00ce-403a-9627-a5a874acd69e/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:42 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/ff87fec7-46c6-4d68-960a-01aec1f810f7'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e3bd45e7-0097-4fa6-af79-017a6f20d7c5'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/ff87fec7-46c6-4d68-960a-01aec1f810f7 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e3bd45e7-0097-4fa6-af79-017a6f20d7c5 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:44 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/99997a0b-3740-4565-b1fd-712bc3aba780/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9a33b2e9-8964-4ebc-bd59-054de444cf4f/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/99997a0b-3740-4565-b1fd-712bc3aba780/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9a33b2e9-8964-4ebc-bd59-054de444cf4f/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:44 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/ed141b3d-812b-411f-b7b6-e242b3f48706'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/92b25428-6f34-41f0-b7ed-876cf67528c4'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/ed141b3d-812b-411f-b7b6-e242b3f48706 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/92b25428-6f34-41f0-b7ed-876cf67528c4 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:45 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d5453617-a24e-4ff4-9cfb-ab9e59bfe888/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d468a9d2-40ce-4bda-92cf-0861eed15000/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d5453617-a24e-4ff4-9cfb-ab9e59bfe888/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d468a9d2-40ce-4bda-92cf-0861eed15000/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:45 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dcac780f-c640-47bb-9e68-f06220db3d70'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/80371207-d146-4f75-ac1f-efa58b2fbc0a'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dcac780f-c640-47bb-9e68-f06220db3d70 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/80371207-d146-4f75-ac1f-efa58b2fbc0a HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:49 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/09fac426-76fd-4ce1-9762-ddeb6fb17baa/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/13ae9cf1-8289-4d3f-b97b-cc677f9dc8c8/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/09fac426-76fd-4ce1-9762-ddeb6fb17baa/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/13ae9cf1-8289-4d3f-b97b-cc677f9dc8c8/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:50 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7d36663b-94f8-41e8-be89-ae87c53bbd7a/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/62493495-be49-416b-8761-4d9ed3709a80/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7d36663b-94f8-41e8-be89-ae87c53bbd7a/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/62493495-be49-416b-8761-4d9ed3709a80/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:53 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/17e0476a-e63c-4227-9e08-74086d3a8419'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/07f5aea7-ca70-4efb-b103-1033630ca889'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/17e0476a-e63c-4227-9e08-74086d3a8419 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/07f5aea7-ca70-4efb-b103-1033630ca889 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:55 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e3d75d10-4ed3-4c81-a91e-1f23b9a7f483/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f663baf3-b84f-4ad0-a8b8-b8a43ebd8a2d/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e3d75d10-4ed3-4c81-a91e-1f23b9a7f483/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f663baf3-b84f-4ad0-a8b8-b8a43ebd8a2d/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:54 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -5,10 +5,11 @@ GET /v2/compute/capabilities HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 347
|
||||
Connection: close
|
||||
Content-Length: 348
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:51 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:40 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/capabilities
|
||||
|
||||
{
|
||||
@ -28,5 +29,5 @@ X-Route: /v2/compute/capabilities
|
||||
"iou"
|
||||
],
|
||||
"platform": "linuxdebian",
|
||||
"version": "2.0.0dev4"
|
||||
"version": "2.0.0dev11"
|
||||
}
|
||||
|
@ -5,10 +5,11 @@ GET /v2/compute/iou/images HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 149
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:45 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/iou/images
|
||||
|
||||
[
|
||||
|
@ -5,17 +5,18 @@ GET /v2/compute/network/interfaces HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 5489
|
||||
Connection: close
|
||||
Content-Length: 5665
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:46 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/network/interfaces
|
||||
|
||||
[
|
||||
{
|
||||
"id": "bridge0",
|
||||
"ip_address": "",
|
||||
"mac_address": "3e:07:54:87:bc:00",
|
||||
"mac_address": "d2:00:1b:c0:17:80",
|
||||
"name": "bridge0",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
@ -75,6 +76,15 @@ X-Route: /v2/compute/network/interfaces
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "utun0",
|
||||
"ip_address": "",
|
||||
"mac_address": "",
|
||||
"name": "utun0",
|
||||
"netmask": "",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vboxnet0",
|
||||
"ip_address": "",
|
||||
@ -122,10 +132,10 @@ X-Route: /v2/compute/network/interfaces
|
||||
},
|
||||
{
|
||||
"id": "vboxnet5",
|
||||
"ip_address": "192.168.33.1",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:05",
|
||||
"name": "vboxnet5",
|
||||
"netmask": null,
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
|
@ -5,10 +5,11 @@ GET /v2/compute/projects HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 198
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:47 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
[
|
||||
|
@ -5,10 +5,11 @@ GET /v2/compute/projects/40010203-0405-0607-0809-0a0b0c0d0e02 HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 80
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:46 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
||||
{
|
||||
|
@ -1,14 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/27e91192-5c83-4c98-af0f-b25b156c22b0'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/689c58e7-9112-4d4f-b5ea-37c5b478c332'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/27e91192-5c83-4c98-af0f-b25b156c22b0 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/689c58e7-9112-4d4f-b5ea-37c5b478c332 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 3420
|
||||
Connection: close
|
||||
Content-Length: 3855
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:51 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:40 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -48,6 +49,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "utun0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet0",
|
||||
"special": true,
|
||||
@ -140,7 +146,8 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"node_id": "27e91192-5c83-4c98-af0f-b25b156c22b0",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/builtin/689c58e7-9112-4d4f-b5ea-37c5b478c332",
|
||||
"node_id": "689c58e7-9112-4d4f-b5ea-37c5b478c332",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
@ -159,6 +166,12 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"name": "en2",
|
||||
"port_number": 2,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "utun0",
|
||||
"name": "utun0",
|
||||
"port_number": 3,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,33 +1,36 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/85fe2caa-d9a7-46c3-b9bb-34e229c2594b'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/61f62c73-8480-4598-92ec-178b2046a5da'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/85fe2caa-d9a7-46c3-b9bb-34e229c2594b HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/61f62c73-8480-4598-92ec-178b2046a5da HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 697
|
||||
Connection: close
|
||||
Content-Length: 768
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:43 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 2,
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/iou/85fe2caa-d9a7-46c3-b9bb-34e229c2594b",
|
||||
"node_id": "85fe2caa-d9a7-46c3-b9bb-34e229c2594b",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/iou/61f62c73-8480-4598-92ec-178b2046a5da",
|
||||
"node_id": "61f62c73-8480-4598-92ec-178b2046a5da",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
"private_config_content": null,
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 256,
|
||||
"serial_adapters": 2,
|
||||
"startup_config": null,
|
||||
"startup_config_content": null,
|
||||
"status": "stopped",
|
||||
"use_default_iou_values": true
|
||||
}
|
||||
|
@ -1,25 +1,26 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/351021bf-5bbf-4bd4-beff-19b62b447f05'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/cd149043-78a0-4fda-aa96-e74c3abd90e8'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/351021bf-5bbf-4bd4-beff-19b62b447f05 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/cd149043-78a0-4fda-aa96-e74c3abd90e8 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 332
|
||||
Connection: close
|
||||
Content-Length: 335
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:45 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "351021bf-5bbf-4bd4-beff-19b62b447f05",
|
||||
"node_id": "cd149043-78a0-4fda-aa96-e74c3abd90e8",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "gns3nat5",
|
||||
"interface": "virbr0",
|
||||
"name": "nat0",
|
||||
"port_number": 0,
|
||||
"type": "tap"
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,25 +1,28 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4a4b647d-f696-4a21-9fc2-2a56cdad39dd'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6bdb5099-446a-43c4-9734-a2037011df6b'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4a4b647d-f696-4a21-9fc2-2a56cdad39dd HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6bdb5099-446a-43c4-9734-a2037011df6b HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1415
|
||||
Connection: close
|
||||
Content-Length: 1468
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:48 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 1,
|
||||
"bios_image": "",
|
||||
"bios_image_md5sum": null,
|
||||
"boot_priority": "c",
|
||||
"cdrom_image": "",
|
||||
"cdrom_image_md5sum": null,
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"cpu_throttling": 0,
|
||||
"cpus": 1,
|
||||
@ -41,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:39:dd:00",
|
||||
"mac_address": "00:dd:80:df:6b:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/4a4b647d-f696-4a21-9fc2-2a56cdad39dd",
|
||||
"node_id": "4a4b647d-f696-4a21-9fc2-2a56cdad39dd",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/6bdb5099-446a-43c4-9734-a2037011df6b",
|
||||
"node_id": "6bdb5099-446a-43c4-9734-a2037011df6b",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,26 +1,28 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afdfa713-f35c-4749-b165-77e9afd1a853'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/29d6dc03-42e5-4c3b-9892-4e69a3dbac7c'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afdfa713-f35c-4749-b165-77e9afd1a853 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/29d6dc03-42e5-4c3b-9892-4e69a3dbac7c HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 435
|
||||
Connection: close
|
||||
Content-Length: 465
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:52 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
|
||||
"adapters": 0,
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VMTEST",
|
||||
"node_directory": null,
|
||||
"node_id": "afdfa713-f35c-4749-b165-77e9afd1a853",
|
||||
"node_id": "29d6dc03-42e5-4c3b-9892-4e69a3dbac7c",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,23 +1,24 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ea81751a-8e28-4226-942d-b56e3f3e5709'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8adc20e6-687b-4246-a470-be4a171ebd98'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ea81751a-8e28-4226-942d-b56e3f3e5709 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8adc20e6-687b-4246-a470-be4a171ebd98 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 489
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:53 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/ea81751a-8e28-4226-942d-b56e3f3e5709",
|
||||
"node_id": "ea81751a-8e28-4226-942d-b56e3f3e5709",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/8adc20e6-687b-4246-a470-be4a171ebd98",
|
||||
"node_id": "8adc20e6-687b-4246-a470-be4a171ebd98",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
@ -9,10 +9,11 @@ GET /v2/compute/qemu/binaries HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 212
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:50 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/qemu/binaries
|
||||
|
||||
[
|
||||
|
@ -5,10 +5,11 @@ GET /v2/compute/qemu/capabilities HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 39
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:51 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/qemu/capabilities
|
||||
|
||||
{
|
||||
|
@ -5,13 +5,14 @@ GET /v2/compute/version HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 49
|
||||
Connection: close
|
||||
Content-Length: 50
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:51 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/version
|
||||
|
||||
{
|
||||
"local": true,
|
||||
"version": "2.0.0dev4"
|
||||
"version": "2.0.0dev11"
|
||||
}
|
||||
|
@ -8,10 +8,11 @@ POST /v2/compute/projects HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 80
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:46 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
{
|
||||
|
@ -5,9 +5,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/close HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:47 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/close
|
||||
|
||||
|
@ -7,10 +7,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 3420
|
||||
Connection: close
|
||||
Content-Length: 3855
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:51 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:40 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
|
||||
{
|
||||
@ -50,6 +51,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "utun0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet0",
|
||||
"special": true,
|
||||
@ -142,7 +148,8 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"node_id": "c02a0a78-b84e-44b9-b151-0a650ecd7bb8",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/builtin/c435790d-867a-4e10-8c1c-7faa9b0f8700",
|
||||
"node_id": "c435790d-867a-4e10-8c1c-7faa9b0f8700",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
@ -161,6 +168,12 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
"name": "en2",
|
||||
"port_number": 2,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "utun0",
|
||||
"name": "utun0",
|
||||
"port_number": 3,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/69c8e1b3-c2e2-48a1-a647-2ab7b44152dc/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/91f7220f-e7da-4f00-b5bc-ef63c70b9f5b/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/69c8e1b3-c2e2-48a1-a647-2ab7b44152dc/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/91f7220f-e7da-4f00-b5bc-ef63c70b9f5b/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -10,10 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/69c8e
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:40 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/56c56eaa-3262-4459-9dc4-7225ed4eb3d5/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/798507d5-9725-4bfa-945b-6a22d6c80f0f/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/56c56eaa-3262-4459-9dc4-7225ed4eb3d5/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/798507d5-9725-4bfa-945b-6a22d6c80f0f/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -10,10 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/56c5
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:42 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/e2694da2-b2a4-4c7a-87aa-22814f7bbc75/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/fd243cd9-627a-4aa5-89af-b935882611e5/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/e2694da2-b2a4-4c7a-87aa-22814f7bbc75/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/fd243cd9-627a-4aa5-89af-b935882611e5/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -8,12 +8,13 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/e269
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 146
|
||||
Connection: close
|
||||
Content-Length: 145
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:42 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a6e26e68-18ed-4303-85cd-a342503a2ea0/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c58d8241-4b6c-439a-95dd-b259d221df8c/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a6e26e68-18ed-4303-85cd-a342503a2ea0/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c58d8241-4b6c-439a-95dd-b259d221df8c/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:42 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
|
@ -1,38 +1,41 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "4ade4a52-c7b2-4ed8-abce-3598e4214c0a", "path": "iou.bin", "startup_config_content": "hostname test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "fc04f13f-c54d-421e-9a05-bb2fcc16857a", "path": "iou.bin", "startup_config_content": "hostname test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.1
|
||||
{
|
||||
"name": "PC TEST 1",
|
||||
"node_id": "4ade4a52-c7b2-4ed8-abce-3598e4214c0a",
|
||||
"node_id": "fc04f13f-c54d-421e-9a05-bb2fcc16857a",
|
||||
"path": "iou.bin",
|
||||
"startup_config_content": "hostname test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 713
|
||||
Connection: close
|
||||
Content-Length: 792
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:43 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 2,
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/iou/4ade4a52-c7b2-4ed8-abce-3598e4214c0a",
|
||||
"node_id": "4ade4a52-c7b2-4ed8-abce-3598e4214c0a",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/iou/fc04f13f-c54d-421e-9a05-bb2fcc16857a",
|
||||
"node_id": "fc04f13f-c54d-421e-9a05-bb2fcc16857a",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
"private_config_content": null,
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 256,
|
||||
"serial_adapters": 2,
|
||||
"startup_config": "startup-config.cfg",
|
||||
"startup_config_content": "echo hello",
|
||||
"status": "stopped",
|
||||
"use_default_iou_values": true
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1dd3b2b3-3d60-466f-9204-378b6b368572/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1120208e-153d-4328-bf77-7c87de8b14d2/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1dd3b2b3-3d60-466f-9204-378b6b368572/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1120208e-153d-4328-bf77-7c87de8b14d2/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "bridge0",
|
||||
"type": "nio_ethernet"
|
||||
@ -8,10 +8,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1dd3b2b
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 64
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:44 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/68117b25-55ae-4066-b1b0-80551439d8e3/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9593ac62-eb3a-4f09-b351-90c26ed94b7e/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/68117b25-55ae-4066-b1b0-80551439d8e3/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9593ac62-eb3a-4f09-b351-90c26ed94b7e/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -8,12 +8,13 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/68117b2
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 146
|
||||
Connection: close
|
||||
Content-Length: 145
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:45 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/56bdd97b-c85e-45ba-b8d3-23214cc65684/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/61d07cd7-336f-43c9-8d54-148cf0b7cb49/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/56bdd97b-c85e-45ba-b8d3-23214cc65684/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/61d07cd7-336f-43c9-8d54-148cf0b7cb49/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:45 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f207ba5a-a9f9-4104-a216-814cae606bc2/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/18fbfbba-4ccd-43e7-9f8b-5555e224809c/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f207ba5a-a9f9-4104-a216-814cae606bc2/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/18fbfbba-4ccd-43e7-9f8b-5555e224809c/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:44 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,35 +1,38 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9b1a4092-9c1e-4714-97eb-2c9099a36f74/start' -d '{"iourc_content": "test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/22195b00-9af2-48d0-9e98-7f31463c7fd2/start' -d '{"iourc_content": "test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9b1a4092-9c1e-4714-97eb-2c9099a36f74/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/22195b00-9af2-48d0-9e98-7f31463c7fd2/start HTTP/1.1
|
||||
{
|
||||
"iourc_content": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 697
|
||||
Connection: close
|
||||
Content-Length: 768
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:43 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 2,
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/iou/9b1a4092-9c1e-4714-97eb-2c9099a36f74",
|
||||
"node_id": "9b1a4092-9c1e-4714-97eb-2c9099a36f74",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/iou/22195b00-9af2-48d0-9e98-7f31463c7fd2",
|
||||
"node_id": "22195b00-9af2-48d0-9e98-7f31463c7fd2",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
"private_config_content": null,
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 256,
|
||||
"serial_adapters": 2,
|
||||
"startup_config": null,
|
||||
"startup_config_content": null,
|
||||
"status": "stopped",
|
||||
"use_default_iou_values": true
|
||||
}
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/04a1ad32-27f8-4162-9c97-e2ab0051b57b/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7b8cc3ee-4ed4-425b-85e4-673b79804390/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/04a1ad32-27f8-4162-9c97-e2ab0051b57b/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7b8cc3ee-4ed4-425b-85e4-673b79804390/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:43 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop
|
||||
|
||||
|
@ -7,21 +7,22 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes HTTP/1.
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 332
|
||||
Connection: close
|
||||
Content-Length: 335
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:45 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "f8572394-f4a6-41c2-8990-76191f85976c",
|
||||
"node_id": "681a2b8d-0213-4851-9a40-9ecd68165e8e",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "gns3nat4",
|
||||
"interface": "virbr0",
|
||||
"name": "nat0",
|
||||
"port_number": 0,
|
||||
"type": "tap"
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2e34595b-ab09-4df5-b0d5-27d26fc8cfeb/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b952ac47-f2b1-4683-8e67-84b35c017b4e/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2e34595b-ab09-4df5-b0d5-27d26fc8cfeb/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b952ac47-f2b1-4683-8e67-84b35c017b4e/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -10,10 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2e34595
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:45 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -5,10 +5,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/ports/udp HTTP/1.
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 25
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:46 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/ports/udp
|
||||
|
||||
{
|
||||
|
@ -1,30 +1,33 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64", "ram": 1024}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64", "ram": 1024}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1.1
|
||||
{
|
||||
"hda_disk_image": "linux\u8f7d.img",
|
||||
"name": "PC TEST 1",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
|
||||
"ram": 1024
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 1461
|
||||
Connection: close
|
||||
Content-Length: 1514
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:48 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 1,
|
||||
"bios_image": "",
|
||||
"bios_image_md5sum": null,
|
||||
"boot_priority": "c",
|
||||
"cdrom_image": "",
|
||||
"cdrom_image_md5sum": null,
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"cpu_throttling": 0,
|
||||
"cpus": 1,
|
||||
@ -46,15 +49,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:04:23:00",
|
||||
"mac_address": "00:dd:80:71:32:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/26ee1a57-b93e-49e3-bcab-f495734c0423",
|
||||
"node_id": "26ee1a57-b93e-49e3-bcab-f495734c0423",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/e49b7703-f596-4e60-9e30-f5bc6f917132",
|
||||
"node_id": "e49b7703-f596-4e60-9e30-f5bc6f917132",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/cd663ba1-9a14-4c86-9c5e-5e5122b15519/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a6011c49-adf8-4e1e-8731-4c963315f662/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/cd663ba1-9a14-4c86-9c5e-5e5122b15519/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a6011c49-adf8-4e1e-8731-4c963315f662/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "eth0",
|
||||
"type": "nio_ethernet"
|
||||
@ -8,10 +8,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/cd663b
|
||||
|
||||
|
||||
HTTP/1.1 409
|
||||
Connection: close
|
||||
Content-Length: 81
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:50 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8f74240d-cbc9-4b97-b27a-336ef70b8304/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/64933f6c-e8cb-480c-81a2-075de93d09d9/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8f74240d-cbc9-4b97-b27a-336ef70b8304/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/64933f6c-e8cb-480c-81a2-075de93d09d9/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:49 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/08a64ae9-b47a-478c-92ce-4646c795c433/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/84a63d18-61c2-4a77-97eb-4d54b19b8825/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/08a64ae9-b47a-478c-92ce-4646c795c433/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/84a63d18-61c2-4a77-97eb-4d54b19b8825/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:49 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume
|
||||
|
||||
|
@ -1,25 +1,28 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/12876bc4-6262-41d0-87bf-2a0762d63290/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0ec7c554-3bc6-42e2-9284-11b6b1e51db1/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/12876bc4-6262-41d0-87bf-2a0762d63290/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0ec7c554-3bc6-42e2-9284-11b6b1e51db1/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1415
|
||||
Connection: close
|
||||
Content-Length: 1468
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:48 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 1,
|
||||
"bios_image": "",
|
||||
"bios_image_md5sum": null,
|
||||
"boot_priority": "c",
|
||||
"cdrom_image": "",
|
||||
"cdrom_image_md5sum": null,
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"cpu_throttling": 0,
|
||||
"cpus": 1,
|
||||
@ -41,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:32:90:00",
|
||||
"mac_address": "00:dd:80:1d:b1:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/12876bc4-6262-41d0-87bf-2a0762d63290",
|
||||
"node_id": "12876bc4-6262-41d0-87bf-2a0762d63290",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/0ec7c554-3bc6-42e2-9284-11b6b1e51db1",
|
||||
"node_id": "0ec7c554-3bc6-42e2-9284-11b6b1e51db1",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d6886ce2-45ec-4a17-891d-7dd00e32784b/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0c174db5-a2c4-464f-98e7-153b83532e35/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d6886ce2-45ec-4a17-891d-7dd00e32784b/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0c174db5-a2c4-464f-98e7-153b83532e35/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:48 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5c8d29b0-ca7e-4430-aaca-a2528cfec782/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3668274c-d74e-4f59-ab74-ab52442ccf61/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5c8d29b0-ca7e-4430-aaca-a2528cfec782/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3668274c-d74e-4f59-ab74-ab52442ccf61/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:49 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend
|
||||
|
||||
|
@ -9,22 +9,24 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 429
|
||||
Connection: close
|
||||
Content-Length: 459
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:52 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
|
||||
"adapters": 0,
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"node_directory": null,
|
||||
"node_id": "91fe27cf-47af-40a9-85a1-d4e3c80dc826",
|
||||
"node_id": "4c74d21f-6af2-4fde-82a6-5e15c3037dd8",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a6a1fde9-419d-481d-ad56-154da1d8fdcb/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/950553f4-1f4c-4d47-ab35-b00817c9dae9/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a6a1fde9-419d-481d-ad56-154da1d8fdcb/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/950553f4-1f4c-4d47-ab35-b00817c9dae9/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -10,10 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:53 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/106d35ba-148b-4a00-8e4b-275f56f0a9c7/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a89cbf17-8504-4590-a4db-214adf91b473/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/106d35ba-148b-4a00-8e4b-275f56f0a9c7/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a89cbf17-8504-4590-a4db-214adf91b473/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:53 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7b408f89-7560-473e-a95d-eaf6cf7cc9d8/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b11da8d7-abb5-401e-a53a-3ce767c1a1bb/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7b408f89-7560-473e-a95d-eaf6cf7cc9d8/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b11da8d7-abb5-401e-a53a-3ce767c1a1bb/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:53 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/90c774f6-2f06-4085-9e1a-f069aa558063/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0e7a38fe-7626-4d75-a545-8b0764472eec/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/90c774f6-2f06-4085-9e1a-f069aa558063/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0e7a38fe-7626-4d75-a545-8b0764472eec/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:52 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a1a6ae70-9521-40ab-ae07-c4afaa5276e6/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/23d775e8-6206-4f15-9bad-3cc5c75dd219/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a1a6ae70-9521-40ab-ae07-c4afaa5276e6/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/23d775e8-6206-4f15-9bad-3cc5c75dd219/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:52 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dd4fec46-330e-4ac9-bd33-bbe627eb58dd/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b3e67522-dd20-4bde-b2e8-43e815d65b6d/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dd4fec46-330e-4ac9-bd33-bbe627eb58dd/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b3e67522-dd20-4bde-b2e8-43e815d65b6d/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:52 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend
|
||||
|
||||
|
@ -7,19 +7,20 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes HTTP/1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 489
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:53 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/97bd62ea-c059-43f0-a5a1-016d7eb0d921",
|
||||
"node_id": "97bd62ea-c059-43f0-a5a1-016d7eb0d921",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/54184038-3552-4386-8a8d-7c13080fae06",
|
||||
"node_id": "54184038-3552-4386-8a8d-7c13080fae06",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/edf434e7-d3f1-44c6-ad60-e539bf2a4a6e/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ed43313f-0b29-44a2-9183-a3703fe1aad0/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/edf434e7-d3f1-44c6-ad60-e539bf2a4a6e/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ed43313f-0b29-44a2-9183-a3703fe1aad0/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -10,10 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/edf434
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:54 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9d873d6-d53e-4765-b026-1571f5df4a38/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cfdc8b6c-4254-4f9c-9095-7886c4b8894a/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9d873d6-d53e-4765-b026-1571f5df4a38/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cfdc8b6c-4254-4f9c-9095-7886c4b8894a/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:54 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,23 +1,24 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/27e35650-731f-48a5-a318-92e2c00031a8/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/27e35650-731f-48a5-a318-92e2c00031a8/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 489
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:54 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff",
|
||||
"node_id": "cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/27e35650-731f-48a5-a318-92e2c00031a8",
|
||||
"node_id": "27e35650-731f-48a5-a318-92e2c00031a8",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1077534f-0902-487a-9826-df49dfd223eb/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bbe7cc55-ef05-4ae9-9d4c-b4aad8468c85/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1077534f-0902-487a-9826-df49dfd223eb/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bbe7cc55-ef05-4ae9-9d4c-b4aad8468c85/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:54 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop
|
||||
|
||||
|
@ -14,9 +14,10 @@ POST /v2/compute/qemu/img HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:51 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/qemu/img
|
||||
|
||||
|
@ -1,16 +1,17 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/1609e4ce-3925-4dfa-beb9-a37bb6e4eba8' -d '{"name": "test"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/35d71fe5-356d-440e-a170-d88e35258f06' -d '{"name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/1609e4ce-3925-4dfa-beb9-a37bb6e4eba8 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/35d71fe5-356d-440e-a170-d88e35258f06 HTTP/1.1
|
||||
{
|
||||
"name": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 3417
|
||||
Connection: close
|
||||
Content-Length: 3852
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:41 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -50,6 +51,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "utun0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet0",
|
||||
"special": true,
|
||||
@ -142,7 +148,8 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
}
|
||||
],
|
||||
"name": "test",
|
||||
"node_id": "1609e4ce-3925-4dfa-beb9-a37bb6e4eba8",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/builtin/35d71fe5-356d-440e-a170-d88e35258f06",
|
||||
"node_id": "35d71fe5-356d-440e-a170-d88e35258f06",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
@ -161,6 +168,12 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"name": "en2",
|
||||
"port_number": 2,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "utun0",
|
||||
"name": "utun0",
|
||||
"port_number": 3,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8' -d '{"console": 5003, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8df7b67d-41b8-48b7-a8b3-f25248b9af21' -d '{"console": 5006, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8df7b67d-41b8-48b7-a8b3-f25248b9af21 HTTP/1.1
|
||||
{
|
||||
"console": 5003,
|
||||
"console": 5006,
|
||||
"environment": "GNS3=1\nGNS4=0",
|
||||
"name": "test",
|
||||
"start_command": "yes"
|
||||
@ -10,16 +10,17 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5ffe5
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 654
|
||||
Connection: close
|
||||
Content-Length: 653
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:42 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
|
||||
|
||||
{
|
||||
"adapters": 2,
|
||||
"aux": 5002,
|
||||
"console": 5003,
|
||||
"aux": 5005,
|
||||
"console": 5006,
|
||||
"console_http_path": "/",
|
||||
"console_http_port": 80,
|
||||
"console_resolution": "1280x1024",
|
||||
@ -28,8 +29,8 @@ X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
|
||||
"environment": "GNS3=1\nGNS4=0",
|
||||
"image": "nginx:latest",
|
||||
"name": "test",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/docker/5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8",
|
||||
"node_id": "5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/docker/8df7b67d-41b8-48b7-a8b3-f25248b9af21",
|
||||
"node_id": "8df7b67d-41b8-48b7-a8b3-f25248b9af21",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"start_command": "yes",
|
||||
"status": "stopped"
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2aec8581-8312-4c46-9c64-8801854aea79' -d '{"console": 5002, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8b936d3d-8b50-437f-a205-15ce77fd4240' -d '{"console": 5005, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2aec8581-8312-4c46-9c64-8801854aea79 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8b936d3d-8b50-437f-a205-15ce77fd4240 HTTP/1.1
|
||||
{
|
||||
"console": 5002,
|
||||
"console": 5005,
|
||||
"ethernet_adapters": 4,
|
||||
"iourc_content": "test",
|
||||
"l1_keepalives": true,
|
||||
@ -16,29 +16,32 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2aec8581
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 708
|
||||
Connection: close
|
||||
Content-Length: 790
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:44 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5002,
|
||||
"console": 5005,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 4,
|
||||
"l1_keepalives": true,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "test",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/iou/2aec8581-8312-4c46-9c64-8801854aea79",
|
||||
"node_id": "2aec8581-8312-4c46-9c64-8801854aea79",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/iou/8b936d3d-8b50-437f-a205-15ce77fd4240",
|
||||
"node_id": "8b936d3d-8b50-437f-a205-15ce77fd4240",
|
||||
"nvram": 2048,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
"private_config_content": null,
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 512,
|
||||
"serial_adapters": 0,
|
||||
"startup_config": "startup-config.cfg",
|
||||
"startup_config_content": "hostname test",
|
||||
"status": "stopped",
|
||||
"use_default_iou_values": true
|
||||
}
|
||||
|
@ -1,27 +1,28 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7061bfeb-39f5-4b27-9557-2420b81fac6c' -d '{"name": "test"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/94f5a8c9-1e9e-42b0-bbba-5937d05c9c24' -d '{"name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7061bfeb-39f5-4b27-9557-2420b81fac6c HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/94f5a8c9-1e9e-42b0-bbba-5937d05c9c24 HTTP/1.1
|
||||
{
|
||||
"name": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 331
|
||||
Connection: close
|
||||
Content-Length: 334
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:46 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
{
|
||||
"name": "test",
|
||||
"node_id": "7061bfeb-39f5-4b27-9557-2420b81fac6c",
|
||||
"node_id": "94f5a8c9-1e9e-42b0-bbba-5937d05c9c24",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "gns3nat9",
|
||||
"interface": "virbr0",
|
||||
"name": "nat0",
|
||||
"port_number": 0,
|
||||
"type": "tap"
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,8 +1,8 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b99813b1-5ff4-485e-9f83-8e3cb55649fb' -d '{"console": 5002, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a88ca6cb-fea5-40c2-ada6-73f056e94eb7' -d '{"console": 5006, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b99813b1-5ff4-485e-9f83-8e3cb55649fb HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a88ca6cb-fea5-40c2-ada6-73f056e94eb7 HTTP/1.1
|
||||
{
|
||||
"console": 5002,
|
||||
"console": 5006,
|
||||
"hdb_disk_image": "linux\u8f7d.img",
|
||||
"name": "test",
|
||||
"ram": 1024
|
||||
@ -10,21 +10,24 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b99813b
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1456
|
||||
Connection: close
|
||||
Content-Length: 1509
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:49 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 1,
|
||||
"bios_image": "",
|
||||
"bios_image_md5sum": null,
|
||||
"boot_priority": "c",
|
||||
"cdrom_image": "",
|
||||
"cdrom_image_md5sum": null,
|
||||
"command_line": "",
|
||||
"console": 5002,
|
||||
"console": 5006,
|
||||
"console_type": "telnet",
|
||||
"cpu_throttling": 0,
|
||||
"cpus": 1,
|
||||
@ -46,15 +49,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:49:fb:00",
|
||||
"mac_address": "00:dd:80:4e:b7:00",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/b99813b1-5ff4-485e-9f83-8e3cb55649fb",
|
||||
"node_id": "b99813b1-5ff4-485e-9f83-8e3cb55649fb",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/a88ca6cb-fea5-40c2-ada6-73f056e94eb7",
|
||||
"node_id": "a88ca6cb-fea5-40c2-ada6-73f056e94eb7",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,29 +1,31 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/99b36e74-6202-4c94-a64a-4e90a177fb19' -d '{"console": 5002, "name": "test"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/26188067-49b1-40f6-8b2c-11ed74c7ac18' -d '{"console": 5005, "name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/99b36e74-6202-4c94-a64a-4e90a177fb19 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/26188067-49b1-40f6-8b2c-11ed74c7ac18 HTTP/1.1
|
||||
{
|
||||
"console": 5002,
|
||||
"console": 5005,
|
||||
"name": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 433
|
||||
Connection: close
|
||||
Content-Length: 463
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:53 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
|
||||
"adapters": 0,
|
||||
"console": 5002,
|
||||
"console": 5005,
|
||||
"console_type": "telnet",
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "99b36e74-6202-4c94-a64a-4e90a177fb19",
|
||||
"node_id": "26188067-49b1-40f6-8b2c-11ed74c7ac18",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,29 +1,29 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1fb10f34-00dc-48d8-8a07-ee9337e03c06' -d '{"console": 5002, "name": "test", "startup_script": "ip 192.168.1.1"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/550cc2b9-d124-467d-9407-3754c6bc287d' -d '{"console": 5006, "name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1fb10f34-00dc-48d8-8a07-ee9337e03c06 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/550cc2b9-d124-467d-9407-3754c6bc287d HTTP/1.1
|
||||
{
|
||||
"console": 5002,
|
||||
"name": "test",
|
||||
"startup_script": "ip 192.168.1.1"
|
||||
"console": 5006,
|
||||
"name": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 505
|
||||
Connection: close
|
||||
Content-Length: 484
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:55 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5002,
|
||||
"console": 5006,
|
||||
"console_type": "telnet",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/1fb10f34-00dc-48d8-8a07-ee9337e03c06",
|
||||
"node_id": "1fb10f34-00dc-48d8-8a07-ee9337e03c06",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/550cc2b9-d124-467d-9407-3754c6bc287d",
|
||||
"node_id": "550cc2b9-d124-467d-9407-3754c6bc287d",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": "ip 192.168.1.1",
|
||||
"startup_script_path": "startup.vpc",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -5,9 +5,10 @@ DELETE /v2/computes/my_compute_id HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:55 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/computes/{compute_id}
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/5a0dc853-249e-4f7b-ac4e-00bdef741285'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/1dec0fc5-4480-403e-b86a-3c356920a828'
|
||||
|
||||
DELETE /v2/projects/5a0dc853-249e-4f7b-ac4e-00bdef741285 HTTP/1.1
|
||||
DELETE /v2/projects/1dec0fc5-4480-403e-b86a-3c356920a828 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:20:03 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:32:02 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/projects/{project_id}
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/dae36643-b4b9-489d-b4c1-0d6bf8c6a079/drawings/59f70a89-21a8-4e7f-a3d4-a9c559c73f58'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/24ef7002-5dd6-4054-bf8a-d2aface0885e/drawings/b2f8b12f-a4cc-4621-affc-cf3dcd4ba513'
|
||||
|
||||
DELETE /v2/projects/dae36643-b4b9-489d-b4c1-0d6bf8c6a079/drawings/59f70a89-21a8-4e7f-a3d4-a9c559c73f58 HTTP/1.1
|
||||
DELETE /v2/projects/24ef7002-5dd6-4054-bf8a-d2aface0885e/drawings/b2f8b12f-a4cc-4621-affc-cf3dcd4ba513 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:20:00 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:56 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/projects/{project_id}/drawings/{drawing_id}
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/90d544c0-ecc1-43c4-9daf-f349a7fbc647/links/8975791d-acea-404c-9c4f-afc9cb74f08c'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/42a1b682-b5bf-4de4-b5af-5366fc20a111/links/105966d0-8a04-4cf5-95a4-ff13f1de7660'
|
||||
|
||||
DELETE /v2/projects/90d544c0-ecc1-43c4-9daf-f349a7fbc647/links/8975791d-acea-404c-9c4f-afc9cb74f08c HTTP/1.1
|
||||
DELETE /v2/projects/42a1b682-b5bf-4de4-b5af-5366fc20a111/links/105966d0-8a04-4cf5-95a4-ff13f1de7660 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:20:01 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:58 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/projects/{project_id}/links/{link_id}
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/a345928e-d655-457d-bd8e-5ece2233b547/nodes/a155fe6a-c8bc-4cd3-8200-76e43e17b26c'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/856d9a5f-f0fc-4a14-ab9c-6cd61abde4f6/nodes/5d7c89f2-3a82-4ad5-918d-798dc70aefb3'
|
||||
|
||||
DELETE /v2/projects/a345928e-d655-457d-bd8e-5ece2233b547/nodes/a155fe6a-c8bc-4cd3-8200-76e43e17b26c HTTP/1.1
|
||||
DELETE /v2/projects/856d9a5f-f0fc-4a14-ab9c-6cd61abde4f6/nodes/5d7c89f2-3a82-4ad5-918d-798dc70aefb3 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:20:02 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:32:00 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/projects/{project_id}/nodes/{node_id}
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/dd06697e-76d3-46a9-951e-c3e360c17759/snapshots/76eb2f34-7854-4fd6-9354-4227f401bd07'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/c84befb2-e203-4357-9958-770bd92cb1f2/snapshots/c65dfead-1080-45a1-85bf-57b0fe5983a2'
|
||||
|
||||
DELETE /v2/projects/dd06697e-76d3-46a9-951e-c3e360c17759/snapshots/76eb2f34-7854-4fd6-9354-4227f401bd07 HTTP/1.1
|
||||
DELETE /v2/projects/c84befb2-e203-4357-9958-770bd92cb1f2/snapshots/c65dfead-1080-45a1-85bf-57b0fe5983a2 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:20:04 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:32:04 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id}
|
||||
|
||||
|
@ -5,10 +5,11 @@ GET /v2/computes HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 387
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:55 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/computes
|
||||
|
||||
[
|
||||
|
@ -5,10 +5,11 @@ GET /v2/computes/my_compute_id HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 334
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:55 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/computes/{compute_id}
|
||||
|
||||
{
|
||||
|
@ -5,10 +5,11 @@ GET /v2/computes/my_compute/virtualbox/vms HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 2
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:56 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/computes/{compute_id}/{emulator}/{action:.+}
|
||||
|
||||
[]
|
||||
|
@ -5,10 +5,11 @@ GET /v2/computes/my_compute/qemu/images HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 95
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:55 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/computes/{compute_id}/{emulator}/images
|
||||
|
||||
[
|
||||
|
@ -5,10 +5,11 @@ GET /v2/gns3vm HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 148
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:20:00 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:57 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/gns3vm
|
||||
|
||||
{
|
||||
|
@ -5,15 +5,16 @@ GET /v2/gns3vm/engines HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1106
|
||||
Connection: close
|
||||
Content-Length: 1110
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:20:00 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:57 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/gns3vm/engines
|
||||
|
||||
[
|
||||
{
|
||||
"description": "VMware is the recommended choice for best performances.<br>The GNS3 VM can be <a href=\"https://github.com/GNS3/gns3-gui/releases/download/v2.0.0dev4/GNS3.VM.VMware.Workstation.2.0.0dev4.zip\">downloaded here</a>.",
|
||||
"description": "VMware is the recommended choice for best performances.<br>The GNS3 VM can be <a href=\"https://github.com/GNS3/gns3-gui/releases/download/v2.0.0dev11/GNS3.VM.VMware.Workstation.2.0.0dev11.zip\">downloaded here</a>.",
|
||||
"engine_id": "vmware",
|
||||
"name": "VMware Fusion",
|
||||
"support_headless": true,
|
||||
@ -21,7 +22,7 @@ X-Route: /v2/gns3vm/engines
|
||||
"support_when_exit": true
|
||||
},
|
||||
{
|
||||
"description": "VirtualBox doesn't support nested virtualization, this means running Qemu based VM could be very slow.<br>The GNS3 VM can be <a href=\"https://github.com/GNS3/gns3-gui/releases/download/v2.0.0dev4/GNS3.VM.VirtualBox.2.0.0dev4.zip\">downloaded here</a>",
|
||||
"description": "VirtualBox doesn't support nested virtualization, this means running Qemu based VM could be very slow.<br>The GNS3 VM can be <a href=\"https://github.com/GNS3/gns3-gui/releases/download/v2.0.0dev11/GNS3.VM.VirtualBox.2.0.0dev11.zip\">downloaded here</a>",
|
||||
"engine_id": "virtualbox",
|
||||
"name": "VirtualBox",
|
||||
"support_headless": true,
|
||||
|
@ -5,10 +5,11 @@ GET /v2/gns3vm/engines/vmware/vms HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 40
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:20:00 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:57 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/gns3vm/engines/{engine}/vms
|
||||
|
||||
[
|
||||
|
@ -5,10 +5,11 @@ GET /v2/projects HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 429
|
||||
Connection: close
|
||||
Content-Length: 428
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:20:03 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:32:01 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/projects
|
||||
|
||||
[
|
||||
@ -18,7 +19,7 @@ X-Route: /v2/projects
|
||||
"auto_start": false,
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_list_projects1",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_list_projects1",
|
||||
"project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"scene_height": 1000,
|
||||
"scene_width": 2000,
|
||||
|
@ -1,14 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/0714c0ef-654f-402d-9b5f-9a42431478c9'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/30013d5e-b284-4098-a12b-435d9ffdfc50'
|
||||
|
||||
GET /v2/projects/0714c0ef-654f-402d-9b5f-9a42431478c9 HTTP/1.1
|
||||
GET /v2/projects/30013d5e-b284-4098-a12b-435d9ffdfc50 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 379
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:20:03 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:32:02 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/projects/{project_id}
|
||||
|
||||
{
|
||||
@ -17,8 +18,8 @@ X-Route: /v2/projects/{project_id}
|
||||
"auto_start": false,
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpibw102pd/projects/0714c0ef-654f-402d-9b5f-9a42431478c9",
|
||||
"project_id": "0714c0ef-654f-402d-9b5f-9a42431478c9",
|
||||
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpoa69sgpa/projects/30013d5e-b284-4098-a12b-435d9ffdfc50",
|
||||
"project_id": "30013d5e-b284-4098-a12b-435d9ffdfc50",
|
||||
"scene_height": 1000,
|
||||
"scene_width": 2000,
|
||||
"status": "opened"
|
||||
|
@ -1,20 +1,21 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/b46d5053-9683-4b4b-ae08-d67fdd8016a3/drawings'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/adb641a0-8ec9-4b5a-b8df-cc993638c601/drawings'
|
||||
|
||||
GET /v2/projects/b46d5053-9683-4b4b-ae08-d67fdd8016a3/drawings HTTP/1.1
|
||||
GET /v2/projects/adb641a0-8ec9-4b5a-b8df-cc993638c601/drawings HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 363
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:20:00 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:56 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/projects/{project_id}/drawings
|
||||
|
||||
[
|
||||
{
|
||||
"drawing_id": "f0d4d443-3a0e-4319-897b-b58d87668092",
|
||||
"project_id": "b46d5053-9683-4b4b-ae08-d67fdd8016a3",
|
||||
"drawing_id": "377bccc0-779a-44b0-ab5e-98dfd6dc46cd",
|
||||
"project_id": "adb641a0-8ec9-4b5a-b8df-cc993638c601",
|
||||
"rotation": 0,
|
||||
"svg": "<svg height=\"210\" width=\"500\"><line x1=\"0\" y1=\"0\" x2=\"200\" y2=\"200\" style=\"stroke:rgb(255,0,0);stroke-width:2\" /></svg>",
|
||||
"x": 10,
|
||||
|
@ -1,14 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/ca14de30-087a-4994-bb54-b2b00e18d1ef/links'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/19def516-231c-4a43-8fdb-1d49333c1f8e/links'
|
||||
|
||||
GET /v2/projects/ca14de30-087a-4994-bb54-b2b00e18d1ef/links HTTP/1.1
|
||||
GET /v2/projects/19def516-231c-4a43-8fdb-1d49333c1f8e/links HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 1111
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:20:01 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:58 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/projects/{project_id}/links
|
||||
|
||||
[
|
||||
@ -16,7 +17,7 @@ X-Route: /v2/projects/{project_id}/links
|
||||
"capture_file_name": null,
|
||||
"capture_file_path": null,
|
||||
"capturing": false,
|
||||
"link_id": "398c9cb0-724e-4d56-a9b5-2b33831c8c39",
|
||||
"link_id": "9b74fb50-652a-47de-aa7a-f936fad2623a",
|
||||
"link_type": "ethernet",
|
||||
"nodes": [
|
||||
{
|
||||
@ -28,7 +29,7 @@ X-Route: /v2/projects/{project_id}/links
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "f931da2a-abe7-4e8b-8b40-385fa091cb4d",
|
||||
"node_id": "009935d3-bb71-48ee-8f8c-4160ecf36a1f",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
@ -40,10 +41,10 @@ X-Route: /v2/projects/{project_id}/links
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "3fcc232f-a6df-422c-800a-39ca356661d5",
|
||||
"node_id": "efd15e6d-cc6d-4b85-8e11-0389806f7231",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "ca14de30-087a-4994-bb54-b2b00e18d1ef"
|
||||
"project_id": "19def516-231c-4a43-8fdb-1d49333c1f8e"
|
||||
}
|
||||
]
|
||||
|
@ -1,14 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/a75e8c91-cb8a-4d9f-8d66-8180793b3c1c/nodes'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/387fb37d-314e-43b4-8fbd-4f1266662100/nodes'
|
||||
|
||||
GET /v2/projects/a75e8c91-cb8a-4d9f-8d66-8180793b3c1c/nodes HTTP/1.1
|
||||
GET /v2/projects/387fb37d-314e-43b4-8fbd-4f1266662100/nodes HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1305
|
||||
Connection: close
|
||||
Content-Length: 1303
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:20:01 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:59 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/projects/{project_id}/nodes
|
||||
|
||||
[
|
||||
@ -16,7 +17,7 @@ X-Route: /v2/projects/{project_id}/nodes
|
||||
"command_line": null,
|
||||
"compute_id": "example.com",
|
||||
"console": 2048,
|
||||
"console_host": "<MagicMock name='mock.console_host' id='4552667992'>",
|
||||
"console_host": "<MagicMock name='mock.console_host' id='4439344576'>",
|
||||
"console_type": null,
|
||||
"first_port_name": null,
|
||||
"height": 59,
|
||||
@ -29,7 +30,7 @@ X-Route: /v2/projects/{project_id}/nodes
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "efe73b73-94c6-40d8-bdaf-df0e2948940c",
|
||||
"node_id": "af74aa64-c387-4903-9879-16e5fe26c0df",
|
||||
"node_type": "vpcs",
|
||||
"port_name_format": "Ethernet{0}",
|
||||
"port_segment_size": 0,
|
||||
@ -42,10 +43,10 @@ X-Route: /v2/projects/{project_id}/nodes
|
||||
"link_type": "ethernet",
|
||||
"name": "Ethernet0",
|
||||
"port_number": 0,
|
||||
"short_name": "e0/0"
|
||||
"short_name": "e0"
|
||||
}
|
||||
],
|
||||
"project_id": "a75e8c91-cb8a-4d9f-8d66-8180793b3c1c",
|
||||
"project_id": "387fb37d-314e-43b4-8fbd-4f1266662100",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
|
@ -1,21 +1,22 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/e1b0cf1f-9284-4cd8-af88-047c18def631/nodes/160fed8d-9518-448a-8adf-6678f40cdfbe'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/b97cbb09-8eef-4def-b338-ab29d9942bc2/nodes/8d4fce2b-5b61-446d-b7a7-93b07e4cabac'
|
||||
|
||||
GET /v2/projects/e1b0cf1f-9284-4cd8-af88-047c18def631/nodes/160fed8d-9518-448a-8adf-6678f40cdfbe HTTP/1.1
|
||||
GET /v2/projects/b97cbb09-8eef-4def-b338-ab29d9942bc2/nodes/8d4fce2b-5b61-446d-b7a7-93b07e4cabac HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1125
|
||||
Connection: close
|
||||
Content-Length: 1123
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:20:01 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:31:59 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/projects/{project_id}/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": null,
|
||||
"compute_id": "example.com",
|
||||
"console": 2048,
|
||||
"console_host": "<MagicMock name='mock.console_host' id='4556132928'>",
|
||||
"console_host": "<MagicMock name='mock.console_host' id='4434431336'>",
|
||||
"console_type": null,
|
||||
"first_port_name": null,
|
||||
"height": 59,
|
||||
@ -28,7 +29,7 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "160fed8d-9518-448a-8adf-6678f40cdfbe",
|
||||
"node_id": "8d4fce2b-5b61-446d-b7a7-93b07e4cabac",
|
||||
"node_type": "vpcs",
|
||||
"port_name_format": "Ethernet{0}",
|
||||
"port_segment_size": 0,
|
||||
@ -41,10 +42,10 @@ X-Route: /v2/projects/{project_id}/nodes/{node_id}
|
||||
"link_type": "ethernet",
|
||||
"name": "Ethernet0",
|
||||
"port_number": 0,
|
||||
"short_name": "e0/0"
|
||||
"short_name": "e0"
|
||||
}
|
||||
],
|
||||
"project_id": "e1b0cf1f-9284-4cd8-af88-047c18def631",
|
||||
"project_id": "b97cbb09-8eef-4def-b338-ab29d9942bc2",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
|
@ -1,14 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/db5ec58a-09ff-497e-9631-1472bf262a3d/nodes/563ae8d3-cab5-4c53-b0db-b2d0d0eee741/dynamips/auto_idlepc'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/5892e20f-136f-4a75-821d-004f039a7db4/nodes/3e529564-a1cd-4852-a4cc-2193da8782df/dynamips/auto_idlepc'
|
||||
|
||||
GET /v2/projects/db5ec58a-09ff-497e-9631-1472bf262a3d/nodes/563ae8d3-cab5-4c53-b0db-b2d0d0eee741/dynamips/auto_idlepc HTTP/1.1
|
||||
GET /v2/projects/5892e20f-136f-4a75-821d-004f039a7db4/nodes/3e529564-a1cd-4852-a4cc-2193da8782df/dynamips/auto_idlepc HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 30
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:20:02 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:32:00 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/projects/{project_id}/nodes/{node_id}/dynamips/auto_idlepc
|
||||
|
||||
{
|
||||
|
@ -1,14 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/74e08b86-700e-4d38-a32c-f898421a8bef/nodes/fcdc2c76-cb28-4380-9c1c-f1e56f1f2017/dynamips/idlepc_proposals'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/f6d48c79-bbf2-48e9-87dd-706fcf40eb7b/nodes/3a1aa9c0-8ea9-4372-874a-412edc9022d5/dynamips/idlepc_proposals'
|
||||
|
||||
GET /v2/projects/74e08b86-700e-4d38-a32c-f898421a8bef/nodes/fcdc2c76-cb28-4380-9c1c-f1e56f1f2017/dynamips/idlepc_proposals HTTP/1.1
|
||||
GET /v2/projects/f6d48c79-bbf2-48e9-87dd-706fcf40eb7b/nodes/3a1aa9c0-8ea9-4372-874a-412edc9022d5/dynamips/idlepc_proposals HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 38
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:20:02 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:32:01 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/projects/{project_id}/nodes/{node_id}/dynamips/idlepc_proposals
|
||||
|
||||
[
|
||||
|
@ -1,21 +1,22 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/6bb95778-66d6-499a-b872-722ab5f1bbb4/snapshots'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/ea93460a-c843-4c89-b8ad-5cfd322292fc/snapshots'
|
||||
|
||||
GET /v2/projects/6bb95778-66d6-499a-b872-722ab5f1bbb4/snapshots HTTP/1.1
|
||||
GET /v2/projects/ea93460a-c843-4c89-b8ad-5cfd322292fc/snapshots HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 197
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:20:04 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:32:04 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/projects/{project_id}/snapshots
|
||||
|
||||
[
|
||||
{
|
||||
"created_at": 1478193604,
|
||||
"created_at": 1490088724,
|
||||
"name": "test",
|
||||
"project_id": "6bb95778-66d6-499a-b872-722ab5f1bbb4",
|
||||
"snapshot_id": "3fd6e6b5-084e-4eb7-b599-f7636c0bd117"
|
||||
"project_id": "ea93460a-c843-4c89-b8ad-5cfd322292fc",
|
||||
"snapshot_id": "2f250c44-3f80-437a-bac7-b03e66e0482a"
|
||||
}
|
||||
]
|
||||
|
@ -5,10 +5,11 @@ GET /v2/settings HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 20
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:20:04 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:32:04 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/settings
|
||||
|
||||
{
|
||||
|
@ -5,10 +5,11 @@ GET /v2/symbols HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 5174
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:20:04 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Tue, 21 Mar 2017 09:32:05 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/symbols
|
||||
|
||||
[
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user