mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-24 17:55:15 +00:00
Compare commits
413 Commits
Author | SHA1 | Date | |
---|---|---|---|
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
|
||||
|
@ -1,13 +1,12 @@
|
||||
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
|
||||
|
336
CHANGELOG
336
CHANGELOG
@ -1,5 +1,340 @@
|
||||
# Change Log
|
||||
|
||||
## 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 +368,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.6
|
||||
pep8==1.7.0
|
||||
pytest-catchlog==1.2.2
|
||||
pytest-timeout==1.2.0
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b2962852-e0d1-4853-8775-0f2fde055070'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b2962852-e0d1-4853-8775-0f2fde055070 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
@ -1,13 +0,0 @@
|
||||
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'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/acd457ac-8dcc-40e5-9488-3852cfd11b5b/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
@ -1,13 +0,0 @@
|
||||
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'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b913e4a7-a742-4b35-ab6a-4eb0dd071647/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/11f8702c-ad8d-4d4d-92e1-36dc351fdcd2'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/11f8702c-ad8d-4d4d-92e1-36dc351fdcd2 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
@ -1,13 +0,0 @@
|
||||
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'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/93c55439-b21b-4b96-b6b0-7655acba60f7/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/3ea3c44d-84d3-4e45-8222-e31898fdeaf5'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/3ea3c44d-84d3-4e45-8222-e31898fdeaf5 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
@ -1,13 +0,0 @@
|
||||
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'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/35b8df58-f7c8-4129-99d0-5783b3d7308a/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d215e65d-106a-4bb2-97a1-ad203f82f33f'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d215e65d-106a-4bb2-97a1-ad203f82f33f HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
@ -1,13 +0,0 @@
|
||||
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'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/327e074d-dffe-4164-9e85-cc27c9794680/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
@ -1,13 +0,0 @@
|
||||
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'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0eadcf1f-131a-485c-8001-15ae99ae9df5/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2d59aa95-5971-438d-9e56-74d4e1632e56'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2d59aa95-5971-438d-9e56-74d4e1632e56 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
@ -1,13 +0,0 @@
|
||||
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'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/93d1c07e-515f-4981-be59-4ba61cbf9fb4/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
@ -1,31 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/capabilities'
|
||||
|
||||
GET /v2/compute/capabilities HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 316
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:03 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/capabilities
|
||||
|
||||
{
|
||||
"node_types": [
|
||||
"cloud",
|
||||
"ethernet_hub",
|
||||
"ethernet_switch",
|
||||
"nat",
|
||||
"vpcs",
|
||||
"virtualbox",
|
||||
"dynamips",
|
||||
"frame_relay_switch",
|
||||
"atm_switch",
|
||||
"qemu",
|
||||
"vmware",
|
||||
"docker",
|
||||
"iou"
|
||||
],
|
||||
"version": "2.0.0dev1"
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/iou/images'
|
||||
|
||||
GET /v2/compute/iou/images HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 72
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:07 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/iou/images
|
||||
|
||||
[
|
||||
{
|
||||
"filename": "iou.bin",
|
||||
"path": "iou.bin"
|
||||
}
|
||||
]
|
@ -1,240 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/network/interfaces'
|
||||
|
||||
GET /v2/compute/network/interfaces HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 5502
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:08 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/network/interfaces
|
||||
|
||||
[
|
||||
{
|
||||
"id": "bridge0",
|
||||
"ip_address": "",
|
||||
"mac_address": "3e:07:54:87:bc:00",
|
||||
"name": "bridge0",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "en0",
|
||||
"ip_address": "",
|
||||
"mac_address": "3c:07:54:78:07:cc",
|
||||
"name": "en0",
|
||||
"netmask": "",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "en1",
|
||||
"ip_address": "192.168.84.156",
|
||||
"mac_address": "68:a8:6d:4a:c3:16",
|
||||
"name": "en1",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "en2",
|
||||
"ip_address": "",
|
||||
"mac_address": "d2:00:1b:c0:17:80",
|
||||
"name": "en2",
|
||||
"netmask": "",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "fw0",
|
||||
"ip_address": "",
|
||||
"mac_address": "3c:07:54:ff:fe:bc:01:78",
|
||||
"name": "fw0",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "lo0",
|
||||
"ip_address": "127.0.0.1",
|
||||
"mac_address": "",
|
||||
"name": "lo0",
|
||||
"netmask": "255.0.0.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "p2p0",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:a8:6d:4a:c3:16",
|
||||
"name": "p2p0",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vboxnet0",
|
||||
"ip_address": "172.16.43.1",
|
||||
"mac_address": "0a:00:27:00:00:00",
|
||||
"name": "vboxnet0",
|
||||
"netmask": null,
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vboxnet1",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:01",
|
||||
"name": "vboxnet1",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vboxnet2",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:02",
|
||||
"name": "vboxnet2",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vboxnet3",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:03",
|
||||
"name": "vboxnet3",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vboxnet4",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:04",
|
||||
"name": "vboxnet4",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vboxnet5",
|
||||
"ip_address": "192.168.33.1",
|
||||
"mac_address": "0a:00:27:00:00:05",
|
||||
"name": "vboxnet5",
|
||||
"netmask": null,
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vboxnet6",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:06",
|
||||
"name": "vboxnet6",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vboxnet7",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:07",
|
||||
"name": "vboxnet7",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet1",
|
||||
"ip_address": "172.16.16.1",
|
||||
"mac_address": "00:50:56:c0:00:01",
|
||||
"name": "vmnet1",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet10",
|
||||
"ip_address": "172.16.7.1",
|
||||
"mac_address": "00:50:56:c0:00:0a",
|
||||
"name": "vmnet10",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet2",
|
||||
"ip_address": "172.16.0.1",
|
||||
"mac_address": "00:50:56:c0:00:02",
|
||||
"name": "vmnet2",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet3",
|
||||
"ip_address": "172.16.1.1",
|
||||
"mac_address": "00:50:56:c0:00:03",
|
||||
"name": "vmnet3",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet4",
|
||||
"ip_address": "172.16.2.1",
|
||||
"mac_address": "00:50:56:c0:00:04",
|
||||
"name": "vmnet4",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet5",
|
||||
"ip_address": "172.16.3.1",
|
||||
"mac_address": "00:50:56:c0:00:05",
|
||||
"name": "vmnet5",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet6",
|
||||
"ip_address": "172.16.4.1",
|
||||
"mac_address": "00:50:56:c0:00:06",
|
||||
"name": "vmnet6",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet7",
|
||||
"ip_address": "172.16.5.1",
|
||||
"mac_address": "00:50:56:c0:00:07",
|
||||
"name": "vmnet7",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet8",
|
||||
"ip_address": "192.168.229.1",
|
||||
"mac_address": "00:50:56:c0:00:08",
|
||||
"name": "vmnet8",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet9",
|
||||
"ip_address": "172.16.6.1",
|
||||
"mac_address": "00:50:56:c0:00:09",
|
||||
"name": "vmnet9",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
}
|
||||
]
|
@ -1,23 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects'
|
||||
|
||||
GET /v2/compute/projects HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 198
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:08 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
[
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "52010203-0405-0607-0809-0a0b0c0d0e0b"
|
||||
},
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "51010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
}
|
||||
]
|
@ -1,17 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/40010203-0405-0607-0809-0a0b0c0d0e02'
|
||||
|
||||
GET /v2/compute/projects/40010203-0405-0607-0809-0a0b0c0d0e02 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 80
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:08 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "40010203-0405-0607-0809-0a0b0c0d0e02"
|
||||
}
|
@ -1,166 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/fba79b97-a89f-40f0-be86-7634ac44d703'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/fba79b97-a89f-40f0-be86-7634ac44d703 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 3420
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:03 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
{
|
||||
"interfaces": [
|
||||
{
|
||||
"name": "bridge0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en1",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en2",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "fw0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "lo0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "p2p0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet1",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet3",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet4",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet5",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet6",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet7",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet1",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet10",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet3",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet4",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet5",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet6",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet7",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet8",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet9",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"node_id": "fba79b97-a89f-40f0-be86-7634ac44d703",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
"name": "en0",
|
||||
"port_number": 0,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "en1",
|
||||
"name": "en1",
|
||||
"port_number": 1,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "en2",
|
||||
"name": "en2",
|
||||
"port_number": 2,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "started"
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/98822cd8-c665-4193-a301-677053402417'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/98822cd8-c665-4193-a301-677053402417 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 697
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:06 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5713,
|
||||
"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",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 256,
|
||||
"serial_adapters": 2,
|
||||
"startup_config": null,
|
||||
"status": "stopped",
|
||||
"use_default_iou_values": true
|
||||
}
|
@ -1,27 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/063c9b85-32ac-464b-9fc3-3428bc811583'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/063c9b85-32ac-464b-9fc3-3428bc811583 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 332
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:07 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "063c9b85-32ac-464b-9fc3-3428bc811583",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "gns3nat5",
|
||||
"name": "nat0",
|
||||
"port_number": 0,
|
||||
"type": "tap"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "started"
|
||||
}
|
@ -1,56 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/42008117-5532-411a-b9f0-badc126dc605'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/42008117-5532-411a-b9f0-badc126dc605 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1415
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:11 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 1,
|
||||
"boot_priority": "c",
|
||||
"cdrom_image": "",
|
||||
"cdrom_image_md5sum": null,
|
||||
"command_line": "",
|
||||
"console": 5713,
|
||||
"console_type": "telnet",
|
||||
"cpu_throttling": 0,
|
||||
"cpus": 1,
|
||||
"hda_disk_image": "",
|
||||
"hda_disk_image_md5sum": null,
|
||||
"hda_disk_interface": "ide",
|
||||
"hdb_disk_image": "",
|
||||
"hdb_disk_image_md5sum": null,
|
||||
"hdb_disk_interface": "ide",
|
||||
"hdc_disk_image": "",
|
||||
"hdc_disk_image_md5sum": null,
|
||||
"hdc_disk_interface": "ide",
|
||||
"hdd_disk_image": "",
|
||||
"hdd_disk_image_md5sum": null,
|
||||
"hdd_disk_interface": "ide",
|
||||
"initrd": "",
|
||||
"initrd_md5sum": null,
|
||||
"kernel_command_line": "",
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:c6:05: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",
|
||||
"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",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a9820776-cd32-4112-b445-7a195a523733'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a9820776-cd32-4112-b445-7a195a523733 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 471
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:13 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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,
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VMTEST",
|
||||
"node_directory": null,
|
||||
"node_id": "a9820776-cd32-4112-b445-7a195a523733",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vmname": "VMTEST"
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a7fd9767-260b-444c-995e-a5d8a97652d6'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/a7fd9767-260b-444c-995e-a5d8a97652d6 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 489
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:14 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5722,
|
||||
"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",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
"status": "stopped"
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/qemu/binaries' -d '{"archs": ["i386"]}'
|
||||
|
||||
GET /v2/compute/qemu/binaries HTTP/1.1
|
||||
{
|
||||
"archs": [
|
||||
"i386"
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 212
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:12 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/qemu/binaries
|
||||
|
||||
[
|
||||
{
|
||||
"path": "/tmp/x86_64",
|
||||
"version": "2.2.0"
|
||||
},
|
||||
{
|
||||
"path": "/tmp/alpha",
|
||||
"version": "2.1.0"
|
||||
},
|
||||
{
|
||||
"path": "/tmp/i386",
|
||||
"version": "2.1.0"
|
||||
}
|
||||
]
|
@ -1,18 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/qemu/capabilities'
|
||||
|
||||
GET /v2/compute/qemu/capabilities HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 39
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:13 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/qemu/capabilities
|
||||
|
||||
{
|
||||
"kvm": [
|
||||
"x86_64"
|
||||
]
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/version'
|
||||
|
||||
GET /v2/compute/version HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 49
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:13 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/version
|
||||
|
||||
{
|
||||
"local": true,
|
||||
"version": "2.0.0dev1"
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects' -d '{"name": "test", "project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f"}'
|
||||
|
||||
POST /v2/compute/projects HTTP/1.1
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 80
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:08 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
{
|
||||
"name": "test",
|
||||
"project_id": "10010203-0405-0607-0809-0a0b0c0d0e0f"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/close' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/close HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/close
|
||||
|
@ -1,168 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes' -d '{"name": "Cloud 1"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/1.1
|
||||
{
|
||||
"name": "Cloud 1"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 3420
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:03 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
|
||||
{
|
||||
"interfaces": [
|
||||
{
|
||||
"name": "bridge0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en1",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en2",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "fw0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "lo0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "p2p0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet1",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet3",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet4",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet5",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet6",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet7",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet1",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet10",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet3",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet4",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet5",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet6",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet7",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet8",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet9",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"node_id": "01a55236-2403-4215-bc5a-4b5e9232aaab",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
"name": "en0",
|
||||
"port_number": 0,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "en1",
|
||||
"name": "en1",
|
||||
"port_number": 1,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "en2",
|
||||
"name": "en2",
|
||||
"port_number": 2,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "started"
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
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"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/7da4afa7-1def-4f3d-b01c-53f2b9d86e13/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:03 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
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"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/659d8f18-71b2-4f6a-9e15-99900156ac35/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:04 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
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"}'
|
||||
|
||||
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
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 146
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:05 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
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 '{}'
|
||||
|
||||
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
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
@ -1,38 +0,0 @@
|
||||
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"}'
|
||||
|
||||
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",
|
||||
"path": "iou.bin",
|
||||
"startup_config_content": "hostname test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 713
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:05 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5713,
|
||||
"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",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 256,
|
||||
"serial_adapters": 2,
|
||||
"startup_config": "startup-config.cfg",
|
||||
"status": "stopped",
|
||||
"use_default_iou_values": true
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
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"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8124305e-fbbd-4e7f-88ca-c877a93dcad5/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "bridge0",
|
||||
"type": "nio_ethernet"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 64
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:06 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"ethernet_device": "bridge0",
|
||||
"type": "nio_ethernet"
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
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"}'
|
||||
|
||||
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
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 146
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:07 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
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 '{}'
|
||||
|
||||
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
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/854400c8-8ab2-4968-9493-7457f062a0b9/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/854400c8-8ab2-4968-9493-7457f062a0b9/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload
|
||||
|
@ -1,35 +0,0 @@
|
||||
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"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/45022335-0848-4370-b0a0-8a8a6d801f4d/start HTTP/1.1
|
||||
{
|
||||
"iourc_content": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 697
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:06 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5713,
|
||||
"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",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 256,
|
||||
"serial_adapters": 2,
|
||||
"startup_config": null,
|
||||
"status": "stopped",
|
||||
"use_default_iou_values": true
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/840c81d5-88fd-4d59-ab89-cacb6d194ffb/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/840c81d5-88fd-4d59-ab89-cacb6d194ffb/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop
|
||||
|
@ -1,29 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes' -d '{"name": "Nat 1"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes HTTP/1.1
|
||||
{
|
||||
"name": "Nat 1"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 332
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:07 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "3cdf49d9-e2a5-4359-aa72-b995b261ba97",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "gns3nat4",
|
||||
"name": "nat0",
|
||||
"port_number": 0,
|
||||
"type": "tap"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "started"
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
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"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/60c8420d-7c38-4628-859d-85e406dfb436/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:07 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/ports/udp' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/ports/udp HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 25
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:08 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/ports/udp
|
||||
|
||||
{
|
||||
"udp_port": 10000
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
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}'
|
||||
|
||||
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",
|
||||
"ram": 1024
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 1461
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:10 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 1,
|
||||
"boot_priority": "c",
|
||||
"cdrom_image": "",
|
||||
"cdrom_image_md5sum": null,
|
||||
"command_line": "",
|
||||
"console": 5713,
|
||||
"console_type": "telnet",
|
||||
"cpu_throttling": 0,
|
||||
"cpus": 1,
|
||||
"hda_disk_image": "linux\u8f7d.img",
|
||||
"hda_disk_image_md5sum": "c4ca4238a0b923820dcc509a6f75849b",
|
||||
"hda_disk_interface": "ide",
|
||||
"hdb_disk_image": "",
|
||||
"hdb_disk_image_md5sum": null,
|
||||
"hdb_disk_interface": "ide",
|
||||
"hdc_disk_image": "",
|
||||
"hdc_disk_image_md5sum": null,
|
||||
"hdc_disk_interface": "ide",
|
||||
"hdd_disk_image": "",
|
||||
"hdd_disk_image_md5sum": null,
|
||||
"hdd_disk_interface": "ide",
|
||||
"initrd": "",
|
||||
"initrd_md5sum": null,
|
||||
"kernel_command_line": "",
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:09:c6: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",
|
||||
"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",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
}
|
@ -1,20 +0,0 @@
|
||||
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"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/20362237-021f-45d1-84de-a2bf4c20a9d7/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "eth0",
|
||||
"type": "nio_ethernet"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 409
|
||||
Content-Length: 81
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:12 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"message": "NIO of type nio_ethernet is not supported",
|
||||
"status": 409
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f47ef21-6d84-4b5b-8bd4-543cc2739f3b/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f47ef21-6d84-4b5b-8bd4-543cc2739f3b/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8fa2adb1-1885-40c5-bed1-dcfccaab2520/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8fa2adb1-1885-40c5-bed1-dcfccaab2520/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume
|
||||
|
@ -1,56 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/95f51a24-4db3-4fd4-89d0-25861018af48/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/95f51a24-4db3-4fd4-89d0-25861018af48/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1415
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:11 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 1,
|
||||
"boot_priority": "c",
|
||||
"cdrom_image": "",
|
||||
"cdrom_image_md5sum": null,
|
||||
"command_line": "",
|
||||
"console": 5713,
|
||||
"console_type": "telnet",
|
||||
"cpu_throttling": 0,
|
||||
"cpus": 1,
|
||||
"hda_disk_image": "",
|
||||
"hda_disk_image_md5sum": null,
|
||||
"hda_disk_interface": "ide",
|
||||
"hdb_disk_image": "",
|
||||
"hdb_disk_image_md5sum": null,
|
||||
"hdb_disk_interface": "ide",
|
||||
"hdc_disk_image": "",
|
||||
"hdc_disk_image_md5sum": null,
|
||||
"hdc_disk_interface": "ide",
|
||||
"hdd_disk_image": "",
|
||||
"hdd_disk_image_md5sum": null,
|
||||
"hdd_disk_interface": "ide",
|
||||
"initrd": "",
|
||||
"initrd_md5sum": null,
|
||||
"kernel_command_line": "",
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:af:48: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",
|
||||
"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",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8e454bb5-4b20-4ee6-8363-932c95ad1244/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8e454bb5-4b20-4ee6-8363-932c95ad1244/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b5a956a2-c5eb-47ca-8660-297f9db97eb9/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b5a956a2-c5eb-47ca-8660-297f9db97eb9/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend
|
||||
|
@ -1,34 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes' -d '{"linked_clone": false, "name": "VM1", "vmname": "VM1"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes HTTP/1.1
|
||||
{
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"vmname": "VM1"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 465
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:13 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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,
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"node_directory": null,
|
||||
"node_id": "139b95df-46bb-4ea8-90b0-93b7f72e7220",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vmname": "VM1"
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
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"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/21e608e1-264b-42cc-919c-bee9d02f7d55/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:14 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dfa20c67-40f7-43cc-9f84-0dad2ba1a27c/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dfa20c67-40f7-43cc-9f84-0dad2ba1a27c/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/43cb3d3d-4c83-4315-983c-f4c481822476/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/43cb3d3d-4c83-4315-983c-f4c481822476/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a7022726-0273-4f8b-8bb0-5c04fee78d3a/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a7022726-0273-4f8b-8bb0-5c04fee78d3a/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a9675ed7-1f32-41a7-b231-bb923fbe4302/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a9675ed7-1f32-41a7-b231-bb923fbe4302/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c39a0d07-64b2-44dd-9019-f5bf9eec7361/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c39a0d07-64b2-44dd-9019-f5bf9eec7361/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend
|
||||
|
@ -1,27 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes' -d '{"name": "PC TEST 1"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes HTTP/1.1
|
||||
{
|
||||
"name": "PC TEST 1"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 489
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:14 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5722,
|
||||
"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",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
"status": "stopped"
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
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"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/d8deb983-a1b6-4c88-bb57-8a8c6d8a93d7/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:14 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/726299c5-a366-4613-bdb6-c3b6ba9dc62f/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/726299c5-a366-4613-bdb6-c3b6ba9dc62f/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload
|
||||
|
@ -1,25 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2b837084-9351-4f74-b5d7-6e00b81a75bd/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/2b837084-9351-4f74-b5d7-6e00b81a75bd/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 489
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:15 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5722,
|
||||
"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",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
"status": "stopped"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6a350a47-5117-4cf5-813c-6b4ab6ab5d15/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/6a350a47-5117-4cf5-813c-6b4ab6ab5d15/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop
|
||||
|
@ -1,22 +0,0 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/qemu/img' -d '{"cluster_size": 64, "format": "qcow2", "lazy_refcounts": "off", "path": "/tmp/hda.qcow2", "preallocation": "metadata", "qemu_img": "/tmp/qemu-img", "refcount_bits": 12, "size": 100}'
|
||||
|
||||
POST /v2/compute/qemu/img HTTP/1.1
|
||||
{
|
||||
"cluster_size": 64,
|
||||
"format": "qcow2",
|
||||
"lazy_refcounts": "off",
|
||||
"path": "/tmp/hda.qcow2",
|
||||
"preallocation": "metadata",
|
||||
"qemu_img": "/tmp/qemu-img",
|
||||
"refcount_bits": 12,
|
||||
"size": 100
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
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
|
||||
X-Route: /v2/compute/qemu/img
|
||||
|
@ -1,168 +0,0 @@
|
||||
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"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/ad6018a3-6fe5-4e57-814b-09472ee68a82 HTTP/1.1
|
||||
{
|
||||
"name": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 3417
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:04 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
{
|
||||
"interfaces": [
|
||||
{
|
||||
"name": "bridge0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en0",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en1",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "en2",
|
||||
"special": false,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "fw0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "lo0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "p2p0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet1",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet3",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet4",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet5",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet6",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet7",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet1",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet10",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet3",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet4",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet5",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet6",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet7",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet8",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet9",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"name": "test",
|
||||
"node_id": "ad6018a3-6fe5-4e57-814b-09472ee68a82",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
"name": "en0",
|
||||
"port_number": 0,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "en1",
|
||||
"name": "en1",
|
||||
"port_number": 1,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"interface": "en2",
|
||||
"name": "en2",
|
||||
"port_number": 2,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "started"
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
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"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/57d77310-c390-42a9-abd5-5401f7f5a7d6 HTTP/1.1
|
||||
{
|
||||
"console": 5715,
|
||||
"environment": "GNS3=1\nGNS4=0",
|
||||
"name": "test",
|
||||
"start_command": "yes"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 654
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:05 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
|
||||
|
||||
{
|
||||
"adapters": 2,
|
||||
"aux": 5714,
|
||||
"console": 5715,
|
||||
"console_http_path": "/",
|
||||
"console_http_port": 80,
|
||||
"console_resolution": "1280x1024",
|
||||
"console_type": "telnet",
|
||||
"container_id": "8bd8153ea8f5",
|
||||
"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",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"start_command": "yes",
|
||||
"status": "stopped"
|
||||
}
|
@ -1,44 +0,0 @@
|
||||
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}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/65f7738a-38aa-46c4-8a49-51a5a7aaabcc HTTP/1.1
|
||||
{
|
||||
"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
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 708
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:06 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5714,
|
||||
"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",
|
||||
"nvram": 2048,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 512,
|
||||
"serial_adapters": 0,
|
||||
"startup_config": "startup-config.cfg",
|
||||
"status": "stopped",
|
||||
"use_default_iou_values": true
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
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"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7402624f-431b-4d4e-935a-6deb548bd81b HTTP/1.1
|
||||
{
|
||||
"name": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 331
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:08 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
{
|
||||
"name": "test",
|
||||
"node_id": "7402624f-431b-4d4e-935a-6deb548bd81b",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "gns3nat9",
|
||||
"name": "nat0",
|
||||
"port_number": 0,
|
||||
"type": "tap"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "started"
|
||||
}
|
@ -1,61 +0,0 @@
|
||||
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}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/18a04195-5602-47dd-9c1d-b6dee3b90e5e HTTP/1.1
|
||||
{
|
||||
"console": 5714,
|
||||
"hdb_disk_image": "linux\u8f7d.img",
|
||||
"name": "test",
|
||||
"ram": 1024
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1456
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:11 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 1,
|
||||
"boot_priority": "c",
|
||||
"cdrom_image": "",
|
||||
"cdrom_image_md5sum": null,
|
||||
"command_line": "",
|
||||
"console": 5714,
|
||||
"console_type": "telnet",
|
||||
"cpu_throttling": 0,
|
||||
"cpus": 1,
|
||||
"hda_disk_image": "",
|
||||
"hda_disk_image_md5sum": null,
|
||||
"hda_disk_interface": "ide",
|
||||
"hdb_disk_image": "linux\u8f7d.img",
|
||||
"hdb_disk_image_md5sum": "c4ca4238a0b923820dcc509a6f75849b",
|
||||
"hdb_disk_interface": "ide",
|
||||
"hdc_disk_image": "",
|
||||
"hdc_disk_image_md5sum": null,
|
||||
"hdc_disk_interface": "ide",
|
||||
"hdd_disk_image": "",
|
||||
"hdd_disk_image_md5sum": null,
|
||||
"hdd_disk_interface": "ide",
|
||||
"initrd": "",
|
||||
"initrd_md5sum": null,
|
||||
"kernel_command_line": "",
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:0e:5e: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",
|
||||
"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",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
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"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/35e77f7c-5e4c-4e39-a025-aee0a65bc77d HTTP/1.1
|
||||
{
|
||||
"console": 5723,
|
||||
"name": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 469
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:14 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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,
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "35e77f7c-5e4c-4e39-a025-aee0a65bc77d",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vmname": "VMTEST"
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
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"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/89b33b7f-9d21-4dce-b584-5afed089910d HTTP/1.1
|
||||
{
|
||||
"console": 5724,
|
||||
"name": "test",
|
||||
"startup_script": "ip 192.168.1.1"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 505
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:15 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5724,
|
||||
"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",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": "ip 192.168.1.1",
|
||||
"startup_script_path": "startup.vpc",
|
||||
"status": "stopped"
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/fbe3330d-b6ca-406d-a6c9-fe9703ee8763'
|
||||
|
||||
DELETE /v2/projects/fbe3330d-b6ca-406d-a6c9-fe9703ee8763 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/projects/{project_id}
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/9dc27fe7-73a9-4dbe-94ee-f87bd8d0470b/drawings/de040a53-4865-4894-a5ab-d49bd99520cd'
|
||||
|
||||
DELETE /v2/projects/9dc27fe7-73a9-4dbe-94ee-f87bd8d0470b/drawings/de040a53-4865-4894-a5ab-d49bd99520cd HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/projects/{project_id}/drawings/{drawing_id}
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/38865d4b-a234-4c29-a55e-62a39f27659e/links/a9cee8bd-b589-4228-a7dd-4e510885d74a'
|
||||
|
||||
DELETE /v2/projects/38865d4b-a234-4c29-a55e-62a39f27659e/links/a9cee8bd-b589-4228-a7dd-4e510885d74a HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/projects/{project_id}/links/{link_id}
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/a27cbb34-9e4e-458e-9404-a8956edab9e0/nodes/bc298eb5-15d6-480d-8a81-326841bec062'
|
||||
|
||||
DELETE /v2/projects/a27cbb34-9e4e-458e-9404-a8956edab9e0/nodes/bc298eb5-15d6-480d-8a81-326841bec062 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/projects/{project_id}/nodes/{node_id}
|
||||
|
@ -1,13 +0,0 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/projects/e101ad6d-fbf7-4c92-be30-2eb4524c9adb/snapshots/78c0d800-83c3-4c52-9dab-421cfc80abaa'
|
||||
|
||||
DELETE /v2/projects/e101ad6d-fbf7-4c92-be30-2eb4524c9adb/snapshots/78c0d800-83c3-4c52-9dab-421cfc80abaa HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
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
|
||||
X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id}
|
||||
|
@ -1,30 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/computes'
|
||||
|
||||
GET /v2/computes HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 387
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:16 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/computes
|
||||
|
||||
[
|
||||
{
|
||||
"capabilities": {
|
||||
"node_types": [],
|
||||
"version": null
|
||||
},
|
||||
"compute_id": "my_compute_id",
|
||||
"connected": false,
|
||||
"cpu_usage_percent": null,
|
||||
"host": "localhost",
|
||||
"memory_usage_percent": null,
|
||||
"name": "My super server",
|
||||
"port": 84,
|
||||
"protocol": "http",
|
||||
"user": "julien"
|
||||
}
|
||||
]
|
@ -1,28 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/computes/my_compute_id'
|
||||
|
||||
GET /v2/computes/my_compute_id HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 334
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:16 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/computes/{compute_id}
|
||||
|
||||
{
|
||||
"capabilities": {
|
||||
"node_types": [],
|
||||
"version": null
|
||||
},
|
||||
"compute_id": "my_compute_id",
|
||||
"connected": false,
|
||||
"cpu_usage_percent": null,
|
||||
"host": "localhost",
|
||||
"memory_usage_percent": null,
|
||||
"name": "http://julien@localhost:84",
|
||||
"port": 84,
|
||||
"protocol": "http",
|
||||
"user": "julien"
|
||||
}
|
@ -1,21 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/computes/my_compute/qemu/images'
|
||||
|
||||
GET /v2/computes/my_compute/qemu/images HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 95
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:16 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/computes/{compute_id}/{emulator}/images
|
||||
|
||||
[
|
||||
{
|
||||
"filename": "linux.qcow2"
|
||||
},
|
||||
{
|
||||
"filename": "asav.qcow2"
|
||||
}
|
||||
]
|
@ -1,22 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/gns3vm'
|
||||
|
||||
GET /v2/gns3vm HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 148
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:17 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/gns3vm
|
||||
|
||||
{
|
||||
"enable": false,
|
||||
"engine": "vmware",
|
||||
"headless": false,
|
||||
"ram": 2048,
|
||||
"vcpus": 1,
|
||||
"vmname": null,
|
||||
"when_exit": "stop"
|
||||
}
|
@ -1,39 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/gns3vm/engines'
|
||||
|
||||
GET /v2/gns3vm/engines HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1106
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:17 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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>.",
|
||||
"engine_id": "vmware",
|
||||
"name": "VMware Fusion",
|
||||
"support_headless": true,
|
||||
"support_ram": true,
|
||||
"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>",
|
||||
"engine_id": "virtualbox",
|
||||
"name": "VirtualBox",
|
||||
"support_headless": true,
|
||||
"support_ram": true,
|
||||
"support_when_exit": true
|
||||
},
|
||||
{
|
||||
"description": "Use a remote GNS3 server as the GNS3 VM.",
|
||||
"engine_id": "remote",
|
||||
"name": "Remote",
|
||||
"support_headless": false,
|
||||
"support_ram": false,
|
||||
"support_when_exit": false
|
||||
}
|
||||
]
|
@ -1,18 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/gns3vm/engines/vmware/vms'
|
||||
|
||||
GET /v2/gns3vm/engines/vmware/vms HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 40
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:17 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/gns3vm/engines/{engine}/vms
|
||||
|
||||
[
|
||||
{
|
||||
"vmname": "test"
|
||||
}
|
||||
]
|
@ -1,27 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects'
|
||||
|
||||
GET /v2/projects HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 429
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:22 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/projects
|
||||
|
||||
[
|
||||
{
|
||||
"auto_close": true,
|
||||
"auto_open": false,
|
||||
"auto_start": false,
|
||||
"filename": "test.gns3",
|
||||
"name": "test",
|
||||
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-198/test_list_projects1",
|
||||
"project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f",
|
||||
"scene_height": 1000,
|
||||
"scene_width": 2000,
|
||||
"status": "opened"
|
||||
}
|
||||
]
|
@ -1,25 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/b7f06506-7cdb-4fed-beca-f68e685c694c'
|
||||
|
||||
GET /v2/projects/b7f06506-7cdb-4fed-beca-f68e685c694c HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 379
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:22 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/projects/{project_id}
|
||||
|
||||
{
|
||||
"auto_close": true,
|
||||
"auto_open": false,
|
||||
"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",
|
||||
"scene_height": 1000,
|
||||
"scene_width": 2000,
|
||||
"status": "opened"
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/93b786be-fd9d-4fbf-b9a1-c53ebd52e3b1/drawings'
|
||||
|
||||
GET /v2/projects/93b786be-fd9d-4fbf-b9a1-c53ebd52e3b1/drawings HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 363
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:17 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/projects/{project_id}/drawings
|
||||
|
||||
[
|
||||
{
|
||||
"drawing_id": "b2654fa7-f511-4dcb-986e-491ec84b42d8",
|
||||
"project_id": "93b786be-fd9d-4fbf-b9a1-c53ebd52e3b1",
|
||||
"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,
|
||||
"y": 20,
|
||||
"z": 0
|
||||
}
|
||||
]
|
@ -1,49 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/2295ee85-fc8b-4fa2-878c-914ff651c4a8/links'
|
||||
|
||||
GET /v2/projects/2295ee85-fc8b-4fa2-878c-914ff651c4a8/links HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1111
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:18 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
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_type": "ethernet",
|
||||
"nodes": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
"label": {
|
||||
"rotation": 0,
|
||||
"style": "font-size: 10; font-style: Verdana",
|
||||
"text": "0/3",
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "c824d9de-a001-47e4-bbce-9fee0533c10c",
|
||||
"port_number": 3
|
||||
},
|
||||
{
|
||||
"adapter_number": 2,
|
||||
"label": {
|
||||
"rotation": 0,
|
||||
"style": "font-size: 10; font-style: Verdana",
|
||||
"text": "2/4",
|
||||
"x": -10,
|
||||
"y": -10
|
||||
},
|
||||
"node_id": "1a1944d6-405f-44cc-9c97-40c753b213f2",
|
||||
"port_number": 4
|
||||
}
|
||||
],
|
||||
"project_id": "2295ee85-fc8b-4fa2-878c-914ff651c4a8"
|
||||
}
|
||||
]
|
@ -1,59 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/c55181df-bfe9-4556-9f56-d07b471c7c29/nodes'
|
||||
|
||||
GET /v2/projects/c55181df-bfe9-4556-9f56-d07b471c7c29/nodes HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1264
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:19 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/projects/{project_id}/nodes
|
||||
|
||||
[
|
||||
{
|
||||
"command_line": null,
|
||||
"compute_id": "example.com",
|
||||
"console": 2048,
|
||||
"console_host": "example.org",
|
||||
"console_type": null,
|
||||
"first_port_name": null,
|
||||
"height": 59,
|
||||
"label": {
|
||||
"rotation": 0,
|
||||
"style": "font-size: 10;font-familly: Verdana",
|
||||
"text": "test",
|
||||
"x": null,
|
||||
"y": -40
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "c09fb918-12f6-4b7f-a821-12f893bd236a",
|
||||
"node_type": "vpcs",
|
||||
"port_name_format": "Ethernet{0}",
|
||||
"port_segment_size": 0,
|
||||
"ports": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
"data_link_types": {
|
||||
"Ethernet": "DLT_EN10MB"
|
||||
},
|
||||
"link_type": "ethernet",
|
||||
"name": "Ethernet0",
|
||||
"port_number": 0,
|
||||
"short_name": "e0/0"
|
||||
}
|
||||
],
|
||||
"project_id": "c55181df-bfe9-4556-9f56-d07b471c7c29",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
"width": 65,
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
||||
]
|
@ -1,57 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/a9ed36e5-580d-4a3e-8624-986dabbe4541/nodes/3b02a817-722a-4908-85c1-1f02eeb01739'
|
||||
|
||||
GET /v2/projects/a9ed36e5-580d-4a3e-8624-986dabbe4541/nodes/3b02a817-722a-4908-85c1-1f02eeb01739 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1084
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:20 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/projects/{project_id}/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": null,
|
||||
"compute_id": "example.com",
|
||||
"console": 2048,
|
||||
"console_host": "example.org",
|
||||
"console_type": null,
|
||||
"first_port_name": null,
|
||||
"height": 59,
|
||||
"label": {
|
||||
"rotation": 0,
|
||||
"style": "font-size: 10;font-familly: Verdana",
|
||||
"text": "test",
|
||||
"x": null,
|
||||
"y": -40
|
||||
},
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "3b02a817-722a-4908-85c1-1f02eeb01739",
|
||||
"node_type": "vpcs",
|
||||
"port_name_format": "Ethernet{0}",
|
||||
"port_segment_size": 0,
|
||||
"ports": [
|
||||
{
|
||||
"adapter_number": 0,
|
||||
"data_link_types": {
|
||||
"Ethernet": "DLT_EN10MB"
|
||||
},
|
||||
"link_type": "ethernet",
|
||||
"name": "Ethernet0",
|
||||
"port_number": 0,
|
||||
"short_name": "e0/0"
|
||||
}
|
||||
],
|
||||
"project_id": "a9ed36e5-580d-4a3e-8624-986dabbe4541",
|
||||
"properties": {
|
||||
"startup_script": "echo test"
|
||||
},
|
||||
"status": "stopped",
|
||||
"symbol": ":/symbols/computer.svg",
|
||||
"width": 65,
|
||||
"x": 0,
|
||||
"y": 0,
|
||||
"z": 0
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/068949e7-9a81-4efd-a5d7-d0ee52a0b16e/nodes/8b12f20d-0a89-4d31-8028-555a6bebf8b0/dynamips/auto_idlepc'
|
||||
|
||||
GET /v2/projects/068949e7-9a81-4efd-a5d7-d0ee52a0b16e/nodes/8b12f20d-0a89-4d31-8028-555a6bebf8b0/dynamips/auto_idlepc HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 30
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:21 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/projects/{project_id}/nodes/{node_id}/dynamips/auto_idlepc
|
||||
|
||||
{
|
||||
"idlepc": "0x60606f54"
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/04da7de1-40c9-4a5f-af3a-043f3891db97/nodes/84dd267d-b4ed-4db8-ab80-3b256cc2ca98/dynamips/idlepc_proposals'
|
||||
|
||||
GET /v2/projects/04da7de1-40c9-4a5f-af3a-043f3891db97/nodes/84dd267d-b4ed-4db8-ab80-3b256cc2ca98/dynamips/idlepc_proposals HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 38
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:21 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/projects/{project_id}/nodes/{node_id}/dynamips/idlepc_proposals
|
||||
|
||||
[
|
||||
"0x60606f54",
|
||||
"0x33805a22"
|
||||
]
|
@ -1,21 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/projects/e6ebdced-ee5e-4af0-8d1e-8a377fb9ee41/snapshots'
|
||||
|
||||
GET /v2/projects/e6ebdced-ee5e-4af0-8d1e-8a377fb9ee41/snapshots HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 197
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:24 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/projects/{project_id}/snapshots
|
||||
|
||||
[
|
||||
{
|
||||
"created_at": 1474970484,
|
||||
"name": "test",
|
||||
"project_id": "e6ebdced-ee5e-4af0-8d1e-8a377fb9ee41",
|
||||
"snapshot_id": "472104bf-b65c-4d6d-b288-5bf3981826e5"
|
||||
}
|
||||
]
|
@ -1,16 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/settings'
|
||||
|
||||
GET /v2/settings HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 20
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:24 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/settings
|
||||
|
||||
{
|
||||
"test": true
|
||||
}
|
@ -1,220 +0,0 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/symbols'
|
||||
|
||||
GET /v2/symbols HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 5174
|
||||
Content-Type: application/json
|
||||
Date: Tue, 27 Sep 2016 10:01:24 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev1
|
||||
X-Route: /v2/symbols
|
||||
|
||||
[
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "PBX.svg",
|
||||
"symbol_id": ":/symbols/PBX.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "PIX_firewall.svg",
|
||||
"symbol_id": ":/symbols/PIX_firewall.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "access_point.svg",
|
||||
"symbol_id": ":/symbols/access_point.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "access_server.svg",
|
||||
"symbol_id": ":/symbols/access_server.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "asa.svg",
|
||||
"symbol_id": ":/symbols/asa.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "atm_bridge.svg",
|
||||
"symbol_id": ":/symbols/atm_bridge.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "atm_switch.svg",
|
||||
"symbol_id": ":/symbols/atm_switch.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "call_manager.svg",
|
||||
"symbol_id": ":/symbols/call_manager.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "cloud.svg",
|
||||
"symbol_id": ":/symbols/cloud.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "computer.svg",
|
||||
"symbol_id": ":/symbols/computer.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "docker_guest.svg",
|
||||
"symbol_id": ":/symbols/docker_guest.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "dslam.svg",
|
||||
"symbol_id": ":/symbols/dslam.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "edge_label_switch_router.svg",
|
||||
"symbol_id": ":/symbols/edge_label_switch_router.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "ethernet_switch.svg",
|
||||
"symbol_id": ":/symbols/ethernet_switch.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "firewall.svg",
|
||||
"symbol_id": ":/symbols/firewall.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "frame_relay_switch.svg",
|
||||
"symbol_id": ":/symbols/frame_relay_switch.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "gateway.svg",
|
||||
"symbol_id": ":/symbols/gateway.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "hub.svg",
|
||||
"symbol_id": ":/symbols/hub.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "ids.svg",
|
||||
"symbol_id": ":/symbols/ids.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "iosv_l2_virl.svg",
|
||||
"symbol_id": ":/symbols/iosv_l2_virl.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "iosv_virl.svg",
|
||||
"symbol_id": ":/symbols/iosv_virl.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "ip_phone.svg",
|
||||
"symbol_id": ":/symbols/ip_phone.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "label_switch_router.svg",
|
||||
"symbol_id": ":/symbols/label_switch_router.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "lightweight_ap.svg",
|
||||
"symbol_id": ":/symbols/lightweight_ap.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "multilayer_switch.svg",
|
||||
"symbol_id": ":/symbols/multilayer_switch.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "optical_router.svg",
|
||||
"symbol_id": ":/symbols/optical_router.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "printer.svg",
|
||||
"symbol_id": ":/symbols/printer.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "qemu_guest.svg",
|
||||
"symbol_id": ":/symbols/qemu_guest.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "route_switch_processor.svg",
|
||||
"symbol_id": ":/symbols/route_switch_processor.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "router.awp.svg",
|
||||
"symbol_id": ":/symbols/router.awp.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "router.svg",
|
||||
"symbol_id": ":/symbols/router.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "router_firewall.svg",
|
||||
"symbol_id": ":/symbols/router_firewall.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "router_netflow.svg",
|
||||
"symbol_id": ":/symbols/router_netflow.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "server.svg",
|
||||
"symbol_id": ":/symbols/server.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "sip_server.svg",
|
||||
"symbol_id": ":/symbols/sip_server.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "vbox_guest.svg",
|
||||
"symbol_id": ":/symbols/vbox_guest.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "vmware_guest.svg",
|
||||
"symbol_id": ":/symbols/vmware_guest.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "voice_access_server.svg",
|
||||
"symbol_id": ":/symbols/voice_access_server.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "voice_router.svg",
|
||||
"symbol_id": ":/symbols/voice_router.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "vpcs_guest.svg",
|
||||
"symbol_id": ":/symbols/vpcs_guest.svg"
|
||||
},
|
||||
{
|
||||
"builtin": true,
|
||||
"filename": "wlan_controller.svg",
|
||||
"symbol_id": ":/symbols/wlan_controller.svg"
|
||||
}
|
||||
]
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user