mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-24 17:55:15 +00:00
Compare commits
468 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 | |||
2acd6ce884 | |||
af530be346 | |||
9c3cfc4f4e | |||
4eed9acbd5 | |||
c7d878ed9e | |||
49f1ee2e32 | |||
52adf45740 | |||
2011aca43a | |||
3bc78f61df | |||
572fa08049 | |||
7ba7c89594 | |||
f86358ad71 | |||
8f6d25cc2b | |||
3259ec1220 | |||
60eea1f171 | |||
b79235afb7 | |||
f3e9917479 | |||
74a7e630d3 | |||
1b6411f88e | |||
46b6e7c5ee | |||
d0f65aebff | |||
30f29d00c4 | |||
81a9b63dbc | |||
d4603ee346 | |||
668c479ef6 | |||
a3495304ad | |||
9f6f830418 | |||
1cf987a548 | |||
8f42122702 | |||
89537204df | |||
1106a1af47 | |||
d2f0cddbd7 | |||
9872fc09b7 | |||
35c2e2fcc4 | |||
922da7c90f | |||
e2fd339f35 | |||
897a94f343 | |||
063087f6fb | |||
d16e3bb37b | |||
4cd08c8955 | |||
4bb990bf0c | |||
508edf5cc5 | |||
c4327ec74c | |||
846041a59c | |||
5ba5c62670 | |||
bd1560ae50 | |||
1d1861fe51 | |||
d006ea0f56 | |||
52260cba53 | |||
d55c73bc8e | |||
97391185e6 | |||
9a632fb823 | |||
cb02046e01 | |||
c53201b753 | |||
95e944257a | |||
e3b1eee85b | |||
5efc5684ba | |||
433f620905 | |||
49315adf79 | |||
a36fc37250 | |||
2b15da3d19 | |||
b3d83b1b0b | |||
60a145afbb | |||
a776b36e98 | |||
40263e14ca | |||
9b6b989d1b | |||
794dac31f5 | |||
ff47fd31e2 | |||
2215702ae8 | |||
03555a3489 | |||
35d5a4a21c | |||
abcddb99b8 | |||
62db0b628b | |||
38d9555f72 | |||
7754d7f211 | |||
875051d05e | |||
31c04cc95b | |||
a853e87fa5 | |||
9be293909e | |||
1beae95443 | |||
40af2a35e0 | |||
5ab85e5c9e | |||
8ad5670eeb | |||
d2564cee9b | |||
434f6a70dd | |||
a872f0328d | |||
11f290482d | |||
e4fdfbd091 | |||
dcff51eb75 | |||
a14ad2fc99 | |||
14fd8104b8 | |||
75890c8f5a | |||
81b2894658 | |||
94ceb2dda0 | |||
8850265cb6 | |||
66a237628a | |||
928d9f13f4 | |||
ecfa89cba8 | |||
6e5e9e3df9 | |||
56c580dc44 | |||
0250547479 | |||
89bbe0ef1b | |||
3c384a7bf0 | |||
5166d894eb | |||
e996b825c6 | |||
5e4f5fe2d1 | |||
a8b78a9b0a | |||
2c6063569a | |||
fdc9283e04 | |||
63a92c4a16 | |||
8dd4f63aca | |||
3bc4e951b8 | |||
8db9b89318 | |||
52577b55b2 | |||
3bb4f6f133 | |||
c5ef6b310d | |||
1bb760d3f0 | |||
65090c6f87 | |||
477091207d | |||
f968f6616f | |||
0f0dff3bbb | |||
57e2fd9943 | |||
ca6f014207 | |||
5f988bae2f | |||
bddf9ec2ac | |||
69f154d9cc | |||
db8296f548 | |||
3754a49cc0 | |||
15d190d911 | |||
553e137a13 | |||
3c5cbebfb4 | |||
a35eaa8e60 | |||
7931ee01b3 | |||
4fe2b746d0 | |||
183f602fc0 | |||
c271ef8c6a | |||
0c87d8e1bd | |||
7255754fef | |||
cf723962af | |||
1b3e47ce83 | |||
74695efe90 | |||
ea94731418 | |||
5dee4eb052 | |||
dc26be43c2 | |||
6f43f988c3 | |||
4e15f89604 | |||
382d8887d5 | |||
0d6adb0620 | |||
1e73962e33 | |||
3df3aa84ff | |||
7c981f9322 | |||
21ec2a6271 | |||
ce5ff93242 | |||
c254011b33 | |||
0d022a4d33 | |||
b85b4b73cc | |||
308706e3d4 | |||
7c1a079ee8 | |||
ae76a4f778 | |||
94ebd732a8 | |||
9bceaa89b7 | |||
8150c3007e | |||
21c83de445 | |||
6be5b6ffad | |||
9d94c47fc8 | |||
bd4de862c8 | |||
53e6ee1b3a | |||
4a5066c2a5 | |||
ea1c525181 | |||
0cfdde7b7e | |||
ae1a9d9a5f | |||
eff23eefe9 | |||
620de3ff25 | |||
fd911542f7 | |||
eabe4eb97e | |||
afb7eca27a | |||
cf3ed5a329 | |||
048d2c12d0 | |||
1080147cf5 | |||
b50246fc2b | |||
0f9df6a2f8 | |||
49c3ecf02e | |||
9e861a7340 | |||
1f44e08cdd | |||
9799dabb98 | |||
f8cba8cd50 | |||
4fe293f1d5 | |||
59dcdcc141 | |||
4815904737 | |||
ae1e027031 | |||
597e1e618d | |||
acd1d95a8e | |||
0caf74443b | |||
786159110e | |||
b9e7ccc14f | |||
10e7b32409 | |||
ac1eef256f | |||
00fc2fa007 | |||
19d184e04c | |||
db6485e702 | |||
106915f419 | |||
69fcf801c3 | |||
dc363bbd38 | |||
43236746f9 | |||
f038735595 | |||
66a789672d | |||
a4f8675c93 | |||
3ecdd1d30c | |||
97cc60fad4 | |||
8adc010ba0 | |||
7d35d1a34f | |||
fbd3a54877 | |||
da71f29208 | |||
1eb423c204 | |||
2a4b68d3b7 | |||
19be2d85b7 | |||
8055547936 | |||
40ae563da1 | |||
dd849f7945 | |||
b53b34d485 | |||
a8ffaa9cb5 | |||
f737989e44 | |||
b9b0feed62 | |||
421e127603 | |||
e63da227d0 | |||
780b00f095 | |||
cb0a7c6a3f | |||
b43a0f7dac | |||
ec3660c979 | |||
fbdcf67d29 | |||
a9c7c3ca3b | |||
241c9b0c11 | |||
b6fa14454e | |||
a437760f5d | |||
98480881a3 | |||
d60b606d5e | |||
5a695d2651 | |||
54c45f0b98 | |||
46e1fbda60 | |||
5a7f5d2950 | |||
4b4053dc2b | |||
2b9c190bcf | |||
7baf584367 | |||
c7d9af121f | |||
04aec4619f | |||
8299ce800d | |||
4aa7a0a9df | |||
48a73f9ab5 | |||
780086cd5b | |||
fb8a942620 | |||
6fa8c52482 | |||
f3d255756b | |||
99bdf37ec3 | |||
420168015c | |||
bfb82a9618 | |||
1e0b724e47 | |||
4d6d0e96c6 | |||
36175f7c26 | |||
a8c32e6b8e | |||
a01b55f07b | |||
a7184f32bd | |||
a5ff0b8579 |
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
*.py[cod]
|
||||
__pycache__
|
||||
|
||||
#py.test
|
||||
.cache
|
||||
@ -13,7 +14,6 @@ dist
|
||||
build
|
||||
eggs
|
||||
parts
|
||||
bin
|
||||
var
|
||||
sdist
|
||||
develop-eggs
|
||||
|
17
.travis.yml
17
.travis.yml
@ -1,13 +1,20 @@
|
||||
language: python
|
||||
python:
|
||||
- '3.5'
|
||||
- '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
|
||||
|
382
CHANGELOG
382
CHANGELOG
@ -1,5 +1,386 @@
|
||||
# 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
|
||||
* Fix an issue with Docker and IOU packet capture
|
||||
* Support aiohttp 1.2 (but not compatible with previous versions)
|
||||
* Support UDP cloud from 1.5
|
||||
* Relax permission check on OSX, it seem returning wrong info for setuid
|
||||
* Fix start all create error if a docker container is already running
|
||||
* Close project if one one the compute of the project is down
|
||||
* Fix error when you upload an empty file
|
||||
* Fix KeyError: 'color' when converting some 1.3 topologies
|
||||
* Fix move a docker restart it
|
||||
* Fix export of projects with docker with a / in the image name
|
||||
* Fix an error on Linux during export
|
||||
* Fix hot link issues in Docker
|
||||
* Fix Can't delete link between docker VM after they were in use
|
||||
* Fix hardware virtualization detection when an ethernet switch is running
|
||||
* Trust user for host binding of link adress
|
||||
* Code cleanup for docker interface creation
|
||||
* Fix a rare crash when writing a file on a remote server
|
||||
* Fix delete project on remote compute server
|
||||
* Fix trouble with builtin devices when we free ports
|
||||
* When a dynamips command failed display the full command to the user
|
||||
* Raise error when we can't found VboxManage at GNS3 VM startup
|
||||
* Catch auth errors when adding a compute
|
||||
* Do not block server startup if one project use non implemented conversion
|
||||
* Fix an error when deleting a compute already deleted
|
||||
* Catch cancelled error when you Ctrl-C during server initalisation
|
||||
* Handle OSerror when listing images
|
||||
* Fix a rare crash when stopping qemu
|
||||
* Improve docker HTTP console
|
||||
* Fix configuration lost during save as on remote server
|
||||
* 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
|
||||
* Update the way we start controller to avoid hiding crash reports
|
||||
* Fix when you switch console from VNC to telnet it's fail
|
||||
* AttributeError: 'Project' object has no attribute 'emit'
|
||||
* Improve autostart logging
|
||||
* Fix warning when vmware is not installed
|
||||
* If a VMware command fail retry
|
||||
* Do not recurse scan for images in standard image directory
|
||||
* When we restore snapshot on a fail project do not crash
|
||||
* Catch error when qemuy can't connect to his console
|
||||
* Catch error when no space left on disk during export
|
||||
* Improve vmware error message for easier copy paste
|
||||
* Catch error if you export a project deleted from disk
|
||||
* Qemu UDP listen on all ips
|
||||
* Force yarl version >= 0.7.0
|
||||
* Ask user to refresh is user session if he just installed ubridge
|
||||
|
||||
## 2.0.0 alpha 4 24/11/2016
|
||||
|
||||
* Do not block traffic originating from an Ethernet interface in the cloud. Ref #771.
|
||||
* Prevent capture on non running node
|
||||
* Make the Ethernet side the source in uBridge connection and UDP tunnel the destination. Ref #771.
|
||||
* IOURC is a text box instead of a file path
|
||||
* Use vnetlib64.exe when possible
|
||||
* Multiple improvements around starting the GNS3 VM
|
||||
* Wait for the end of project loading before making new change
|
||||
* Avoid crash due to permission error on the .backup file
|
||||
* For security reason debug informations can only be exported from local server
|
||||
* Add more debug informations if VM failed to start
|
||||
* Fix opening a project whith the same non linked VM as current project
|
||||
* Return default symbol if user asked for a non existing symbol
|
||||
* Do not log warning at qemu exit on windows if it's normal
|
||||
* Speed up interfaces listening on Windows
|
||||
* Fix filtering special interfaces on Windows
|
||||
* If server answer not found explain this could be due to the usage of 1.X server
|
||||
* Do not reload a project via /load if the project is already opened
|
||||
* Fix you can not pass auto close at project creation
|
||||
* Fix traceback when sending invalid parameters to the server
|
||||
* Require ubridge 0.9.7 this fix error with IOL bridge creation
|
||||
* Display path of vnetlib during interface creations
|
||||
* Catch errors when listing images
|
||||
* Better handle compute unavailable errors
|
||||
* Fix NameError: name 'available_ram' is not define
|
||||
* If we can found a common subnet we return the host binding for link creation
|
||||
* Do not connect GNS3 to remote server via 169.254.X.X
|
||||
* Qemu telnet support multiple client connected
|
||||
* Support multiple client connected to the same VPCS console
|
||||
* Increase timeout for link creation
|
||||
* Support for serial console for Virtual BOX and VMware using asyncio
|
||||
* Fix timeout issues when starting VMware or VBox
|
||||
* Ask for reboot if VBoxManage is not found
|
||||
* Fix a crash with VirtualBox linked clone
|
||||
* Replace iouyap by ubridge to handle IOU connections. Fixes #614.
|
||||
* Lock VMware by VM instead of globally
|
||||
* Support bridge in cloud
|
||||
* Fix support of IOS images outside standard directories
|
||||
* Raise clean error when node timeout when stopped
|
||||
* Fix random VirtualBox creation error when using linked clone
|
||||
* Drop console_type serial, and enable_remote_console for Vbox and VMware
|
||||
* Do not dump iourc_content to .gns3 file
|
||||
* Forward server disconnected errors
|
||||
* Fix a crash when vboxmanage is not found
|
||||
* Raise error if IOU image is not configured
|
||||
* Fix crash when getting font
|
||||
* Fix a crash when default font is missing
|
||||
* Fix a crash when vmrun is not found
|
||||
|
||||
## 2.0.0 alpha 3 28/10/16
|
||||
|
||||
* Fix uuid of VirtualBox VM after a save as
|
||||
* Explain that segfault on IOU is a issue with the image
|
||||
* Fix crash when you import a corrupted SVG
|
||||
* Fix Error while creating link: Port 0 is not allocated. when you have an invalid interface
|
||||
* No timeout for listing images
|
||||
* Handle 408 HTTP status code (request timeout)
|
||||
* Move code for exposing VM ip to the VM itself. And display VM starting status
|
||||
* Fix a crash when we have error during export project
|
||||
* Improve remote server console host support when binding to 0.0.0.0
|
||||
* Fix port naming for atm switch
|
||||
* Fix port naming for FrameRelay switch
|
||||
* Catch permission errors when listing images
|
||||
* If we can't found the VMware version we use workstation
|
||||
* CURL API sample for creating a dynamips router
|
||||
* Fix crash in idlePC compute
|
||||
* Add sample api call for creating a qemu node
|
||||
* Try a different method in order to retrieve IP from VMware
|
||||
* Fix naming of IOU serial interfaces
|
||||
* Improve timeout management
|
||||
* When exporting debug information export GNS3 VM vmx content
|
||||
* /debug for exporting debug informations
|
||||
* Raise error if using a non linked clone VM twice
|
||||
* Fix a possible deadlock at exit
|
||||
* Fix import of some old dynamips topologies
|
||||
* Fix a crash with some old virtualbox topologies
|
||||
* Fix conflict issue between the GNS3VM and a remote server
|
||||
* Fix typo in error message about the GNS3 VM
|
||||
* Fix an error when importing old topology without color for label
|
||||
* Use tap adapter instead of veth for docker (allow usage of vlan)
|
||||
* Avoid crash during tests if VNC server run on host PC
|
||||
|
||||
## 2.0.0 alpha 2 20/10/2016
|
||||
* Return md5sum and filesize in the list of images
|
||||
* Disable binding to an IPV6
|
||||
* Support symbol None (from old versions)
|
||||
* Support named remote servers for VPCS
|
||||
* Improve vmrun error messages
|
||||
* If vmware raise an error about invalid host type we retry with player
|
||||
* Do not trust client for the type of VMware host
|
||||
* Improve error when default vm directory is not found
|
||||
* Add a clear warning about /upload deprecated
|
||||
* /duplicate support non opened projects
|
||||
* Fix Snapshot restore does not work with IOS routers
|
||||
* Use last zipstream version
|
||||
* Strip space from all nodes names
|
||||
* When checking for a free port check if the host and 0.0.0.0 are available
|
||||
* If listen on all interface do not return localhost as console
|
||||
* Fix HTTP console not working for docker containers
|
||||
* Fix IPV6 server support
|
||||
* Fix connection issue with IOU when a device as serial link
|
||||
* Catch an error when docker is not running
|
||||
* If docker container state failed to return we consider the container stopped
|
||||
* Fix Error when converting some dynamips topologies from 1.3 => 2.0
|
||||
* After conversion from 1.X check the topology before save to disk
|
||||
* Keep forever .gns3 backup before version upgrade
|
||||
* Update crash report key
|
||||
* Fix save of topology size
|
||||
* Missing busybox for docker
|
||||
* GNS3 server can't be keep as zipped egg
|
||||
* Check if GNS3 has access to all docker resssources
|
||||
* Return the platform of a compute
|
||||
* Handle errors when startup config path is wrong
|
||||
* smm=off is only for 64bits
|
||||
* Fix uploads of large images
|
||||
* Stop raising error if VMware has not enough ram. Not working on some system
|
||||
* Increase creation timeout for docker container
|
||||
* Fix a rare crash in vbox
|
||||
* Fix errors where free port as marked as used after an error
|
||||
* Fix a bug when selecting a topology and deleting multiple linked device
|
||||
* Set Qemu uuid for csr1000v
|
||||
* Prevent connect a node to himself
|
||||
* Fix BadZipFile: File is not a zip file
|
||||
* The gns3_controller.conf is located in the same directory of gns3_server.conf
|
||||
* Make sure the compute has an id
|
||||
* Fix crash if you manually delete the project directory and use the delete button in interface
|
||||
* Catch timeout error when closing project
|
||||
* Fix a crash when importing some old topologies.
|
||||
* Fix a crash if font information is missing
|
||||
|
||||
## 2.0.0 alpha 1 29/09/2016
|
||||
* Save as you go
|
||||
* Smart packet capture
|
||||
@ -33,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.2.3
|
||||
pytest==2.8.2
|
||||
pep8==1.5.7
|
||||
pytest-capturelog==0.7
|
||||
pytest-cov==2.2.0
|
||||
pytest-timeout==0.5
|
||||
sphinx==1.5.3
|
||||
pytest==3.0.7
|
||||
pep8==1.7.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: Tue, 27 Sep 2016 10:01:09 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/b2962852-e0d1-4853-8775-0f2fde055070'
|
||||
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/b2962852-e0d1-4853-8775-0f2fde055070 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: Tue, 27 Sep 2016 10:01:04 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/acd457ac-8dcc-40e5-9488-3852cfd11b5b/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/acd457ac-8dcc-40e5-9488-3852cfd11b5b/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: Tue, 27 Sep 2016 10:01:03 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/b913e4a7-a742-4b35-ab6a-4eb0dd071647/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/b913e4a7-a742-4b35-ab6a-4eb0dd071647/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: Tue, 27 Sep 2016 10:01:04 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/11f8702c-ad8d-4d4d-92e1-36dc351fdcd2'
|
||||
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/11f8702c-ad8d-4d4d-92e1-36dc351fdcd2 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: Tue, 27 Sep 2016 10:01:06 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/93c55439-b21b-4b96-b6b0-7655acba60f7/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/93c55439-b21b-4b96-b6b0-7655acba60f7/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: Tue, 27 Sep 2016 10:01:07 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/3ea3c44d-84d3-4e45-8222-e31898fdeaf5'
|
||||
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/3ea3c44d-84d3-4e45-8222-e31898fdeaf5 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: Tue, 27 Sep 2016 10:01:08 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/35b8df58-f7c8-4129-99d0-5783b3d7308a/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/35b8df58-f7c8-4129-99d0-5783b3d7308a/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: Tue, 27 Sep 2016 10:01:08 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/d215e65d-106a-4bb2-97a1-ad203f82f33f'
|
||||
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/d215e65d-106a-4bb2-97a1-ad203f82f33f 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: Tue, 27 Sep 2016 10:01:11 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/327e074d-dffe-4164-9e85-cc27c9794680/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/327e074d-dffe-4164-9e85-cc27c9794680/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: Tue, 27 Sep 2016 10:01:12 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/0eadcf1f-131a-485c-8001-15ae99ae9df5/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/0eadcf1f-131a-485c-8001-15ae99ae9df5/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: Tue, 27 Sep 2016 10:01:14 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/2d59aa95-5971-438d-9e56-74d4e1632e56'
|
||||
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/2d59aa95-5971-438d-9e56-74d4e1632e56 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: Tue, 27 Sep 2016 10:01:15 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/93d1c07e-515f-4981-be59-4ba61cbf9fb4/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/93d1c07e-515f-4981-be59-4ba61cbf9fb4/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: Tue, 27 Sep 2016 10:01:15 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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: 316
|
||||
Connection: close
|
||||
Content-Length: 348
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:03 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
Date: Tue, 21 Mar 2017 09:31:40 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/capabilities
|
||||
|
||||
{
|
||||
@ -27,5 +28,6 @@ X-Route: /v2/compute/capabilities
|
||||
"docker",
|
||||
"iou"
|
||||
],
|
||||
"version": "2.0.0dev1"
|
||||
"platform": "linuxdebian",
|
||||
"version": "2.0.0dev11"
|
||||
}
|
||||
|
@ -5,15 +5,18 @@ GET /v2/compute/iou/images HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 72
|
||||
Connection: close
|
||||
Content-Length: 149
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:07 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
Date: Tue, 21 Mar 2017 09:31:45 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/iou/images
|
||||
|
||||
[
|
||||
{
|
||||
"filename": "iou.bin",
|
||||
"filesize": 7,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"path": "iou.bin"
|
||||
}
|
||||
]
|
||||
|
@ -5,17 +5,18 @@ GET /v2/compute/network/interfaces HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 5502
|
||||
Connection: close
|
||||
Content-Length: 5665
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:08 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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,12 +76,21 @@ 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": "172.16.43.1",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:00",
|
||||
"name": "vboxnet0",
|
||||
"netmask": null,
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
@ -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,19 +5,20 @@ GET /v2/compute/projects HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 198
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:08 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
Date: Tue, 21 Mar 2017 09:31:47 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
[
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
},
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
|
||||
}
|
||||
]
|
||||
|
@ -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: Tue, 27 Sep 2016 10:01:08 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/fba79b97-a89f-40f0-be86-7634ac44d703'
|
||||
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/fba79b97-a89f-40f0-be86-7634ac44d703 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: Tue, 27 Sep 2016 10:01:03 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": "fba79b97-a89f-40f0-be86-7634ac44d703",
|
||||
"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/98822cd8-c665-4193-a301-677053402417'
|
||||
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/98822cd8-c665-4193-a301-677053402417 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: Tue, 27 Sep 2016 10:01:06 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": 5713,
|
||||
"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-198/test_json5/project-files/iou/98822cd8-c665-4193-a301-677053402417",
|
||||
"node_id": "98822cd8-c665-4193-a301-677053402417",
|
||||
"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/063c9b85-32ac-464b-9fc3-3428bc811583'
|
||||
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/063c9b85-32ac-464b-9fc3-3428bc811583 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: Tue, 27 Sep 2016 10:01:07 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": "063c9b85-32ac-464b-9fc3-3428bc811583",
|
||||
"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/42008117-5532-411a-b9f0-badc126dc605'
|
||||
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/42008117-5532-411a-b9f0-badc126dc605 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: Tue, 27 Sep 2016 10:01:11 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": 5713,
|
||||
"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:c6:05:00",
|
||||
"mac_address": "00:dd:80:df:6b:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/42008117-5532-411a-b9f0-badc126dc605",
|
||||
"node_id": "42008117-5532-411a-b9f0-badc126dc605",
|
||||
"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/tmpmccqyvwn/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,27 +1,28 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a9820776-cd32-4112-b445-7a195a523733'
|
||||
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/a9820776-cd32-4112-b445-7a195a523733 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: 471
|
||||
Connection: close
|
||||
Content-Length: 465
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:13 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": 5714,
|
||||
"enable_remote_console": false,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VMTEST",
|
||||
"node_directory": null,
|
||||
"node_id": "a9820776-cd32-4112-b445-7a195a523733",
|
||||
"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/a7fd9767-260b-444c-995e-a5d8a97652d6'
|
||||
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/a7fd9767-260b-444c-995e-a5d8a97652d6 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: Tue, 27 Sep 2016 10:01:14 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": 5722,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/a7fd9767-260b-444c-995e-a5d8a97652d6",
|
||||
"node_id": "a7fd9767-260b-444c-995e-a5d8a97652d6",
|
||||
"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: Tue, 27 Sep 2016 10:01:12 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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: Tue, 27 Sep 2016 10:01:13 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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: Tue, 27 Sep 2016 10:01:13 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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.0dev1"
|
||||
"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: Tue, 27 Sep 2016 10:01:08 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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: Tue, 27 Sep 2016 10:01:09 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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: Tue, 27 Sep 2016 10:01:03 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": "01a55236-2403-4215-bc5a-4b5e9232aaab",
|
||||
"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/7da4afa7-1def-4f3d-b01c-53f2b9d86e13/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/7da4afa7-1def-4f3d-b01c-53f2b9d86e13/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/7da4a
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:03 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/659d8f18-71b2-4f6a-9e15-99900156ac35/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/659d8f18-71b2-4f6a-9e15-99900156ac35/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/659d
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:04 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/65c5b5b9-7487-4504-bdcc-42e2f5178e73/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/65c5b5b9-7487-4504-bdcc-42e2f5178e73/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/65c5
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 146
|
||||
Connection: close
|
||||
Content-Length: 145
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:05 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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-198/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/2cf9d165-40be-4651-bc86-e780f0ba6e93/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/2cf9d165-40be-4651-bc86-e780f0ba6e93/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: Tue, 27 Sep 2016 10:01:05 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": "4eff93c6-3933-4bfc-9a84-7dd039341e9a", "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": "4eff93c6-3933-4bfc-9a84-7dd039341e9a",
|
||||
"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: Tue, 27 Sep 2016 10:01:05 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": 5713,
|
||||
"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-198/test_json5/project-files/iou/4eff93c6-3933-4bfc-9a84-7dd039341e9a",
|
||||
"node_id": "4eff93c6-3933-4bfc-9a84-7dd039341e9a",
|
||||
"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/8124305e-fbbd-4e7f-88ca-c877a93dcad5/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/8124305e-fbbd-4e7f-88ca-c877a93dcad5/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/8124305
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 64
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:06 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/7f566cd2-d08e-4f1c-aa87-675354f489ed/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/7f566cd2-d08e-4f1c-aa87-675354f489ed/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/7f566cd
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 146
|
||||
Connection: close
|
||||
Content-Length: 145
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:07 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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-198/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/93ca09d8-2e45-4a85-a4e3-0665dec3f16d/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/93ca09d8-2e45-4a85-a4e3-0665dec3f16d/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: Tue, 27 Sep 2016 10:01:07 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/854400c8-8ab2-4968-9493-7457f062a0b9/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/854400c8-8ab2-4968-9493-7457f062a0b9/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: Tue, 27 Sep 2016 10:01:06 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/45022335-0848-4370-b0a0-8a8a6d801f4d/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/45022335-0848-4370-b0a0-8a8a6d801f4d/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: Tue, 27 Sep 2016 10:01:06 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": 5713,
|
||||
"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-198/test_json5/project-files/iou/45022335-0848-4370-b0a0-8a8a6d801f4d",
|
||||
"node_id": "45022335-0848-4370-b0a0-8a8a6d801f4d",
|
||||
"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/840c81d5-88fd-4d59-ab89-cacb6d194ffb/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/840c81d5-88fd-4d59-ab89-cacb6d194ffb/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: Tue, 27 Sep 2016 10:01:06 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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: Tue, 27 Sep 2016 10:01:07 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": "3cdf49d9-e2a5-4359-aa72-b995b261ba97",
|
||||
"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/60c8420d-7c38-4628-859d-85e406dfb436/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/60c8420d-7c38-4628-859d-85e406dfb436/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/60c8420
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:07 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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: Tue, 27 Sep 2016 10:01:08 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/tmpmccqyvwn/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/tmpmccqyvwn/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: Tue, 27 Sep 2016 10:01:10 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": 5713,
|
||||
"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:09:c6:00",
|
||||
"mac_address": "00:dd:80:71:32:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/bcf073b1-a5a1-4ce9-bc64-726267e509c6",
|
||||
"node_id": "bcf073b1-a5a1-4ce9-bc64-726267e509c6",
|
||||
"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/tmpmccqyvwn/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/20362237-021f-45d1-84de-a2bf4c20a9d7/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/20362237-021f-45d1-84de-a2bf4c20a9d7/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/203622
|
||||
|
||||
|
||||
HTTP/1.1 409
|
||||
Connection: close
|
||||
Content-Length: 81
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:12 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/1f47ef21-6d84-4b5b-8bd4-543cc2739f3b/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/1f47ef21-6d84-4b5b-8bd4-543cc2739f3b/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: Tue, 27 Sep 2016 10:01:11 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/8fa2adb1-1885-40c5-bed1-dcfccaab2520/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/8fa2adb1-1885-40c5-bed1-dcfccaab2520/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: Tue, 27 Sep 2016 10:01:11 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/95f51a24-4db3-4fd4-89d0-25861018af48/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/95f51a24-4db3-4fd4-89d0-25861018af48/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: Tue, 27 Sep 2016 10:01:11 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": 5713,
|
||||
"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:af:48:00",
|
||||
"mac_address": "00:dd:80:1d:b1:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/95f51a24-4db3-4fd4-89d0-25861018af48",
|
||||
"node_id": "95f51a24-4db3-4fd4-89d0-25861018af48",
|
||||
"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/tmpmccqyvwn/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/8e454bb5-4b20-4ee6-8363-932c95ad1244/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/8e454bb5-4b20-4ee6-8363-932c95ad1244/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: Tue, 27 Sep 2016 10:01:11 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/b5a956a2-c5eb-47ca-8660-297f9db97eb9/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/b5a956a2-c5eb-47ca-8660-297f9db97eb9/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: Tue, 27 Sep 2016 10:01:11 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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,23 +9,24 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 465
|
||||
Connection: close
|
||||
Content-Length: 459
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:13 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": 5713,
|
||||
"enable_remote_console": false,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"node_directory": null,
|
||||
"node_id": "139b95df-46bb-4ea8-90b0-93b7f72e7220",
|
||||
"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/21e608e1-264b-42cc-919c-bee9d02f7d55/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/21e608e1-264b-42cc-919c-bee9d02f7d55/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: Tue, 27 Sep 2016 10:01:14 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/dfa20c67-40f7-43cc-9f84-0dad2ba1a27c/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/dfa20c67-40f7-43cc-9f84-0dad2ba1a27c/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: Tue, 27 Sep 2016 10:01:13 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/43cb3d3d-4c83-4315-983c-f4c481822476/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/43cb3d3d-4c83-4315-983c-f4c481822476/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: Tue, 27 Sep 2016 10:01:13 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/a7022726-0273-4f8b-8bb0-5c04fee78d3a/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/a7022726-0273-4f8b-8bb0-5c04fee78d3a/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: Tue, 27 Sep 2016 10:01:13 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/a9675ed7-1f32-41a7-b231-bb923fbe4302/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/a9675ed7-1f32-41a7-b231-bb923fbe4302/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: Tue, 27 Sep 2016 10:01:13 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/c39a0d07-64b2-44dd-9019-f5bf9eec7361/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/c39a0d07-64b2-44dd-9019-f5bf9eec7361/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: Tue, 27 Sep 2016 10:01:13 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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: Tue, 27 Sep 2016 10:01:14 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": 5722,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/e38e7a07-93f4-48fd-96f6-05663168870d",
|
||||
"node_id": "e38e7a07-93f4-48fd-96f6-05663168870d",
|
||||
"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/d8deb983-a1b6-4c88-bb57-8a8c6d8a93d7/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/d8deb983-a1b6-4c88-bb57-8a8c6d8a93d7/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/d8deb9
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:14 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/726299c5-a366-4613-bdb6-c3b6ba9dc62f/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/726299c5-a366-4613-bdb6-c3b6ba9dc62f/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: Tue, 27 Sep 2016 10:01:15 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/2b837084-9351-4f74-b5d7-6e00b81a75bd/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/2b837084-9351-4f74-b5d7-6e00b81a75bd/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: Tue, 27 Sep 2016 10:01:15 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": 5722,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/2b837084-9351-4f74-b5d7-6e00b81a75bd",
|
||||
"node_id": "2b837084-9351-4f74-b5d7-6e00b81a75bd",
|
||||
"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/6a350a47-5117-4cf5-813c-6b4ab6ab5d15/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/6a350a47-5117-4cf5-813c-6b4ab6ab5d15/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: Tue, 27 Sep 2016 10:01:15 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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: Tue, 27 Sep 2016 10:01:13 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/ad6018a3-6fe5-4e57-814b-09472ee68a82' -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/ad6018a3-6fe5-4e57-814b-09472ee68a82 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: Tue, 27 Sep 2016 10:01:04 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": "ad6018a3-6fe5-4e57-814b-09472ee68a82",
|
||||
"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/57d77310-c390-42a9-abd5-5401f7f5a7d6' -d '{"console": 5715, "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/57d77310-c390-42a9-abd5-5401f7f5a7d6 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8df7b67d-41b8-48b7-a8b3-f25248b9af21 HTTP/1.1
|
||||
{
|
||||
"console": 5715,
|
||||
"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/57d77
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 654
|
||||
Connection: close
|
||||
Content-Length: 653
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:05 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": 5714,
|
||||
"console": 5715,
|
||||
"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-198/test_json5/project-files/docker/57d77310-c390-42a9-abd5-5401f7f5a7d6",
|
||||
"node_id": "57d77310-c390-42a9-abd5-5401f7f5a7d6",
|
||||
"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/65f7738a-38aa-46c4-8a49-51a5a7aaabcc' -d '{"console": 5714, "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/65f7738a-38aa-46c4-8a49-51a5a7aaabcc HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8b936d3d-8b50-437f-a205-15ce77fd4240 HTTP/1.1
|
||||
{
|
||||
"console": 5714,
|
||||
"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/65f7738a
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 708
|
||||
Connection: close
|
||||
Content-Length: 790
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:06 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": 5714,
|
||||
"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-198/test_json5/project-files/iou/65f7738a-38aa-46c4-8a49-51a5a7aaabcc",
|
||||
"node_id": "65f7738a-38aa-46c4-8a49-51a5a7aaabcc",
|
||||
"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/7402624f-431b-4d4e-935a-6deb548bd81b' -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/7402624f-431b-4d4e-935a-6deb548bd81b 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: Tue, 27 Sep 2016 10:01:08 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": "7402624f-431b-4d4e-935a-6deb548bd81b",
|
||||
"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/18a04195-5602-47dd-9c1d-b6dee3b90e5e' -d '{"console": 5714, "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/18a04195-5602-47dd-9c1d-b6dee3b90e5e HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a88ca6cb-fea5-40c2-ada6-73f056e94eb7 HTTP/1.1
|
||||
{
|
||||
"console": 5714,
|
||||
"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/18a0419
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1456
|
||||
Connection: close
|
||||
Content-Length: 1509
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:11 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": 5714,
|
||||
"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:0e:5e:00",
|
||||
"mac_address": "00:dd:80:4e:b7:00",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/18a04195-5602-47dd-9c1d-b6dee3b90e5e",
|
||||
"node_id": "18a04195-5602-47dd-9c1d-b6dee3b90e5e",
|
||||
"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/tmpmccqyvwn/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,30 +1,31 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/35e77f7c-5e4c-4e39-a025-aee0a65bc77d' -d '{"console": 5723, "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/35e77f7c-5e4c-4e39-a025-aee0a65bc77d HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/26188067-49b1-40f6-8b2c-11ed74c7ac18 HTTP/1.1
|
||||
{
|
||||
"console": 5723,
|
||||
"console": 5005,
|
||||
"name": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 469
|
||||
Connection: close
|
||||
Content-Length: 463
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:14 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": 5723,
|
||||
"enable_remote_console": false,
|
||||
"console": 5005,
|
||||
"console_type": "telnet",
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "35e77f7c-5e4c-4e39-a025-aee0a65bc77d",
|
||||
"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/89b33b7f-9d21-4dce-b584-5afed089910d' -d '{"console": 5724, "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/89b33b7f-9d21-4dce-b584-5afed089910d HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/550cc2b9-d124-467d-9407-3754c6bc287d HTTP/1.1
|
||||
{
|
||||
"console": 5724,
|
||||
"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: Tue, 27 Sep 2016 10:01:15 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": 5724,
|
||||
"console": 5006,
|
||||
"console_type": "telnet",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpo2joh79j/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/89b33b7f-9d21-4dce-b584-5afed089910d",
|
||||
"node_id": "89b33b7f-9d21-4dce-b584-5afed089910d",
|
||||
"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"
|
||||
}
|
||||
|
14
docs/api/examples/controller_delete_computescomputeid.txt
Normal file
14
docs/api/examples/controller_delete_computescomputeid.txt
Normal file
@ -0,0 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/computes/my_compute_id'
|
||||
|
||||
DELETE /v2/computes/my_compute_id HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Tue, 21 Mar 2017 09:31:55 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/computes/{compute_id}
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/fbe3330d-b6ca-406d-a6c9-fe9703ee8763'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/1dec0fc5-4480-403e-b86a-3c356920a828'
|
||||
|
||||
DELETE /v2/projects/fbe3330d-b6ca-406d-a6c9-fe9703ee8763 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: Tue, 27 Sep 2016 10:01:22 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/9dc27fe7-73a9-4dbe-94ee-f87bd8d0470b/drawings/de040a53-4865-4894-a5ab-d49bd99520cd'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/24ef7002-5dd6-4054-bf8a-d2aface0885e/drawings/b2f8b12f-a4cc-4621-affc-cf3dcd4ba513'
|
||||
|
||||
DELETE /v2/projects/9dc27fe7-73a9-4dbe-94ee-f87bd8d0470b/drawings/de040a53-4865-4894-a5ab-d49bd99520cd 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: Tue, 27 Sep 2016 10:01:17 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/38865d4b-a234-4c29-a55e-62a39f27659e/links/a9cee8bd-b589-4228-a7dd-4e510885d74a'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/42a1b682-b5bf-4de4-b5af-5366fc20a111/links/105966d0-8a04-4cf5-95a4-ff13f1de7660'
|
||||
|
||||
DELETE /v2/projects/38865d4b-a234-4c29-a55e-62a39f27659e/links/a9cee8bd-b589-4228-a7dd-4e510885d74a 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: Tue, 27 Sep 2016 10:01:19 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/a27cbb34-9e4e-458e-9404-a8956edab9e0/nodes/bc298eb5-15d6-480d-8a81-326841bec062'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/856d9a5f-f0fc-4a14-ab9c-6cd61abde4f6/nodes/5d7c89f2-3a82-4ad5-918d-798dc70aefb3'
|
||||
|
||||
DELETE /v2/projects/a27cbb34-9e4e-458e-9404-a8956edab9e0/nodes/bc298eb5-15d6-480d-8a81-326841bec062 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: Tue, 27 Sep 2016 10:01:21 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/e101ad6d-fbf7-4c92-be30-2eb4524c9adb/snapshots/78c0d800-83c3-4c52-9dab-421cfc80abaa'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/c84befb2-e203-4357-9958-770bd92cb1f2/snapshots/c65dfead-1080-45a1-85bf-57b0fe5983a2'
|
||||
|
||||
DELETE /v2/projects/e101ad6d-fbf7-4c92-be30-2eb4524c9adb/snapshots/78c0d800-83c3-4c52-9dab-421cfc80abaa 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: Tue, 27 Sep 2016 10:01:24 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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: Tue, 27 Sep 2016 10:01:16 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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: Tue, 27 Sep 2016 10:01:16 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
Date: Tue, 21 Mar 2017 09:31:55 GMT
|
||||
Server: Python/3.6 GNS3/2.0.0dev11
|
||||
X-Route: /v2/computes/{compute_id}
|
||||
|
||||
{
|
||||
|
@ -0,0 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/computes/my_compute/virtualbox/vms'
|
||||
|
||||
GET /v2/computes/my_compute/virtualbox/vms HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 2
|
||||
Content-Type: application/json
|
||||
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: Tue, 27 Sep 2016 10:01:16 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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: Tue, 27 Sep 2016 10:01:17 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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: Tue, 27 Sep 2016 10:01:17 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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.0dev1/GNS3.VM.VMware.Workstation.2.0.0dev1.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.0dev1/GNS3.VM.VirtualBox.2.0.0dev1.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: Tue, 27 Sep 2016 10:01:17 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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: Tue, 27 Sep 2016 10:01:22 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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-198/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/b7f06506-7cdb-4fed-beca-f68e685c694c'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/30013d5e-b284-4098-a12b-435d9ffdfc50'
|
||||
|
||||
GET /v2/projects/b7f06506-7cdb-4fed-beca-f68e685c694c 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: Tue, 27 Sep 2016 10:01:22 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/tmpszefva4f/projects/b7f06506-7cdb-4fed-beca-f68e685c694c",
|
||||
"project_id": "b7f06506-7cdb-4fed-beca-f68e685c694c",
|
||||
"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/93b786be-fd9d-4fbf-b9a1-c53ebd52e3b1/drawings'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/adb641a0-8ec9-4b5a-b8df-cc993638c601/drawings'
|
||||
|
||||
GET /v2/projects/93b786be-fd9d-4fbf-b9a1-c53ebd52e3b1/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: Tue, 27 Sep 2016 10:01:17 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": "b2654fa7-f511-4dcb-986e-491ec84b42d8",
|
||||
"project_id": "93b786be-fd9d-4fbf-b9a1-c53ebd52e3b1",
|
||||
"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/2295ee85-fc8b-4fa2-878c-914ff651c4a8/links'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/19def516-231c-4a43-8fdb-1d49333c1f8e/links'
|
||||
|
||||
GET /v2/projects/2295ee85-fc8b-4fa2-878c-914ff651c4a8/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: Tue, 27 Sep 2016 10:01:18 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": "ca268d39-d533-4182-87da-16ef58fbf230",
|
||||
"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": "c824d9de-a001-47e4-bbce-9fee0533c10c",
|
||||
"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": "1a1944d6-405f-44cc-9c97-40c753b213f2",
|
||||
"node_id": "efd15e6d-cc6d-4b85-8e11-0389806f7231",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "2295ee85-fc8b-4fa2-878c-914ff651c4a8"
|
||||
"project_id": "19def516-231c-4a43-8fdb-1d49333c1f8e"
|
||||
}
|
||||
]
|
||||
|
@ -1,14 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/c55181df-bfe9-4556-9f56-d07b471c7c29/nodes'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/387fb37d-314e-43b4-8fbd-4f1266662100/nodes'
|
||||
|
||||
GET /v2/projects/c55181df-bfe9-4556-9f56-d07b471c7c29/nodes HTTP/1.1
|
||||
GET /v2/projects/387fb37d-314e-43b4-8fbd-4f1266662100/nodes HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1264
|
||||
Connection: close
|
||||
Content-Length: 1303
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:19 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": "example.org",
|
||||
"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": "c09fb918-12f6-4b7f-a821-12f893bd236a",
|
||||
"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": "c55181df-bfe9-4556-9f56-d07b471c7c29",
|
||||
"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/a9ed36e5-580d-4a3e-8624-986dabbe4541/nodes/3b02a817-722a-4908-85c1-1f02eeb01739'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/b97cbb09-8eef-4def-b338-ab29d9942bc2/nodes/8d4fce2b-5b61-446d-b7a7-93b07e4cabac'
|
||||
|
||||
GET /v2/projects/a9ed36e5-580d-4a3e-8624-986dabbe4541/nodes/3b02a817-722a-4908-85c1-1f02eeb01739 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: 1084
|
||||
Connection: close
|
||||
Content-Length: 1123
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:20 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": "example.org",
|
||||
"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": "3b02a817-722a-4908-85c1-1f02eeb01739",
|
||||
"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": "a9ed36e5-580d-4a3e-8624-986dabbe4541",
|
||||
"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/068949e7-9a81-4efd-a5d7-d0ee52a0b16e/nodes/8b12f20d-0a89-4d31-8028-555a6bebf8b0/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/068949e7-9a81-4efd-a5d7-d0ee52a0b16e/nodes/8b12f20d-0a89-4d31-8028-555a6bebf8b0/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: Tue, 27 Sep 2016 10:01:21 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/04da7de1-40c9-4a5f-af3a-043f3891db97/nodes/84dd267d-b4ed-4db8-ab80-3b256cc2ca98/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/04da7de1-40c9-4a5f-af3a-043f3891db97/nodes/84dd267d-b4ed-4db8-ab80-3b256cc2ca98/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: Tue, 27 Sep 2016 10:01:21 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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/e6ebdced-ee5e-4af0-8d1e-8a377fb9ee41/snapshots'
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/ea93460a-c843-4c89-b8ad-5cfd322292fc/snapshots'
|
||||
|
||||
GET /v2/projects/e6ebdced-ee5e-4af0-8d1e-8a377fb9ee41/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: Tue, 27 Sep 2016 10:01:24 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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": 1474970484,
|
||||
"created_at": 1490088724,
|
||||
"name": "test",
|
||||
"project_id": "e6ebdced-ee5e-4af0-8d1e-8a377fb9ee41",
|
||||
"snapshot_id": "472104bf-b65c-4d6d-b288-5bf3981826e5"
|
||||
"project_id": "ea93460a-c843-4c89-b8ad-5cfd322292fc",
|
||||
"snapshot_id": "2f250c44-3f80-437a-bac7-b03e66e0482a"
|
||||
}
|
||||
]
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user