Compare commits

..

442 Commits

Author SHA1 Message Date
5dd0414ab3 Release v2.1.1 2017-12-22 13:27:20 +01:00
e8353e68bb Merge remote-tracking branch 'origin/2.1' into 2.1 2017-12-21 09:38:28 +01:00
23c63bbd4d Protect variable replacement for Qemu options. Escape double quotes. 2017-12-21 09:38:18 +01:00
dadf11f69b Fix tests 2017-12-21 09:37:48 +01:00
3efe753eee Add proper exception when cannot find tunnel on QEMU, Fixes: #1241 2017-12-21 08:55:49 +01:00
f48420af58 Increase timeout for creation of image, Ref. #2239 2017-12-21 08:46:20 +01:00
79bca29b93 Protect variable replacement for Qemu options. 2017-12-20 20:46:16 +01:00
0e4865e049 Bump version to 2.1.1dev2 2017-12-20 11:20:07 +01:00
26567d9164 Merge remote-tracking branch 'origin/2.1' into 2.1 2017-12-18 12:08:23 +01:00
a8177d7afa Fix tests more reliably. Ref #0df997d. 2017-12-18 12:08:14 +01:00
a393e7f723 Merge pull request #1205 from GNS3/aiohttp-2.3.1
aiohttp 2.3 support.
2017-12-18 11:09:16 +01:00
0df997d232 Fix tests. 2017-12-17 23:06:19 +01:00
630afc5469 Do not overwrites persistent Docker volumes. Fixes #2358. 2017-12-17 22:35:26 +01:00
3e3e1df051 Allow users to see an error when the server cannot stream a PCAP file. 2017-12-07 12:28:01 -06:00
3a1ba8f42d Fix issue with Qemu + SPICE when IPv4 is not enabled. 2017-12-07 12:02:41 -06:00
0a72e0db87 Fix more GNS3 VM related tests. 2017-12-05 20:38:48 -06:00
e3b3427cc6 Fix GNS3 VM start test. 2017-12-05 20:30:28 -06:00
dde2003168 Fix tests. 2017-12-05 16:56:50 -06:00
cfe8e9e85c Warn users if the GNS3 VM and local server are not in the same subnet. Fixes #1231. 2017-12-05 16:43:44 -06:00
1699ce5d1c Add missing appliance files. 2017-11-27 13:43:47 +07:00
d0850927d0 Update appliance files. 2017-11-27 13:42:26 +07:00
745532bf23 Fix auto idlepc test. 2017-11-23 23:46:22 +07:00
78cf0309a0 Merge remote-tracking branch 'origin/2.1' into 2.1 2017-11-23 23:29:09 +07:00
851fcf5c71 Fix compute auto idlepc test. 2017-11-23 23:28:52 +07:00
a80355998d Merge pull request #1230 from GNS3/consitance-about-exc
Keep consistance of aiohttp.web.HTTPForbidden() execution
2017-11-23 23:02:42 +07:00
e54d574e47 Fix auto idle-pc from preferences. 2017-11-23 23:00:31 +07:00
fe60c414b9 Keep consistance of aiohttp.web.HTTPForbidden() execution 2017-11-23 16:28:10 +01:00
efbf7728ea Fix Docker tests. 2017-11-23 11:27:17 +07:00
061af38b5a Make sure connected links are removed when a node is deleted. 2017-11-23 11:19:41 +07:00
f48549a997 Validate idle-pc values for auto idle-pc feature. 2017-11-23 10:40:51 +07:00
958ab2294c Merge remote-tracking branch 'origin/2.1' into 2.1 2017-11-23 10:04:46 +07:00
dd89b09f84 Fix error when updating packet filter on stopped Docker link. Fixes #1229. 2017-11-23 10:04:32 +07:00
642536a070 Merge pull request #1228 from GNS3/es-console
Close telnet console after stopping the node. Ref gui/#2330
2017-11-20 22:02:58 +07:00
860ca3b35d Remotely close telnet console. Ref #2330 2017-11-20 15:28:07 +01:00
96a0b52cf8 EthernetSwitch closing connections, Ref: gui/#2330 2017-11-20 13:51:07 +01:00
7c90c513d0 Merge pull request #1227 from GNS3/improved-export-project
Export files from remote server, Fixes: gui/#2271
2017-11-20 17:19:20 +07:00
fe59c937d5 Merge branch '2.1' into improved-export-project 2017-11-20 11:15:04 +01:00
b48f5df53f iExport files from remote server, Fixes: gui/#2271 2017-11-20 10:47:03 +01:00
3e2e8e61f7 New option: require KVM. If false, Qemu VMs will not be prevented to run without KVM. 2017-11-19 12:39:37 +07:00
068077c594 Remove forgotten debug. 2017-11-18 17:36:39 +07:00
e08aebf1f0 Implement variable replacement for Qemu VM options. 2017-11-18 17:36:11 +07:00
cfbcc1194d Avoid duplicate "-nographic" option. 2017-11-18 16:22:29 +07:00
035a078b5e Show qemu-img stdout in case of an error. 2017-11-17 18:13:34 +07:00
cf14deb2fa Fix IOU tests. 2017-11-16 17:07:51 +07:00
e1fe34ca07 Use the correct NVRAM amount when pushing private config to IOU. 2017-11-16 16:52:19 +07:00
d3e55520d9 Merge remote-tracking branch 'remotes/origin/master' into 2.1 2017-11-16 15:03:20 +07:00
4477cd4dfd Merge remote-tracking branch 'origin/2.1' 2017-11-16 14:54:53 +07:00
967798a7de Check and fix corrupt Qemu disk images. Fixes #2301. 2017-11-16 14:54:37 +07:00
61acb939a4 Update pyup config to use 2.2 branch 2017-11-15 13:20:31 +01:00
8c11b649e5 Update warning messages when connecting to non custom adapter for VMware VMs. 2017-11-15 16:55:19 +07:00
b14e2e73ed Fix "Can't use VirtualBox VM when an interface is managed by VirtualBox". Fixes #2335. 2017-11-15 16:41:33 +07:00
2235a8158f Update requirements.txt 2017-11-15 09:00:14 +01:00
9afe756462 Add low disk space warning when creating a new project. 2017-11-14 18:22:59 +07:00
135c529d4b Development on 2.1.1dev1 2017-11-09 10:49:56 +01:00
ce219e81ea Development on 2.1.0dev11 2017-11-09 10:48:48 +01:00
c2684f056c Release 2.1.0 2017-11-09 07:29:46 +01:00
009677f019 Fix typo in vcpus on VirtualBoxVM, fixes: #1213 2017-11-07 11:15:49 +01:00
9c3ee02797 Development on v2.1.0dev10 2017-11-07 10:19:19 +01:00
50c8fe070d Release v2.1.0rc4 2017-11-07 08:47:40 +01:00
ace7b0c69f Merge pull request #1212 from GNS3/fix-vcpus-controll-on-vmware
Fix GNS3VM vCPUs control on VMware, fixes: #2324
2017-11-06 23:46:04 +08:00
255dc7ed9b Fix GNS3VM vCPUs control on VMware, fixes: #2324 2017-11-06 15:15:37 +01:00
75ceffb458 Fix typo in sample gns3_server.conf. Fixes #1210. 2017-11-03 16:15:03 +08:00
21c2429aee Merge pull request #1209 from GNS3/ignore-env
Ignore env files
2017-10-30 17:43:39 +07:00
8cc04f25e2 Merge pull request #1208 from GNS3/info-about-api
Warning for getting endpoint of compute
2017-10-30 17:41:31 +07:00
815dca101f Ignore env files 2017-10-30 11:30:06 +01:00
022d76e88a Warning for getting endpoint of compute 2017-10-30 11:26:57 +01:00
2c0804d4ee Merge pull request #1204 from GNS3/loop-speed-on-win
Disable loop debug on default
2017-10-27 16:43:54 +07:00
b2c5e175d7 Enable debug loop only on debug mode 2017-10-27 11:19:06 +02:00
a7412d1c87 aiohttp 2.3.1 dependency 2017-10-26 16:29:01 +02:00
2171072ae4 Enable debug mode on async loop only in dev/debug mode 2017-10-26 12:24:01 +02:00
8fcfed53ed Add warning when using IOU with a hostname length above 15 characters. 2017-10-24 15:07:32 +07:00
df468bf2af Improve VMware VMs discovery process. Ref #1201. 2017-10-22 17:33:21 +07:00
8930b4c6e5 Improve error message when IOU VM process is unexpectedly stopped. 2017-10-22 16:28:54 +07:00
b4307e6035 Improved error message when the number of network adapters is above the maximum for VirtualBox VMs.
Better support for potential future chipsets in addition of PIIX3 and ICH9.
2017-10-22 15:23:43 +07:00
6a87047c18 Added localhost and gns3.github.io CORS 2017-10-20 13:21:43 +02:00
d918330472 Back to dev. at 2.1.0dev9 2017-10-20 08:37:47 +02:00
8fde8789f1 Fix Travis deployment 2017-10-19 09:57:52 +02:00
aaa8c4895f Development on 2.1.0dev9 2017-10-19 08:58:28 +02:00
66d5cb520d Release 2.1.0 rc3 2017-10-19 08:56:06 +02:00
d2a7f724e3 Merge pull request #1198 from GNS3/vmware-config
Set vhv.enable before run for VMware. Fixes #1184
2017-10-18 17:42:56 +07:00
c7015435c9 Update vmware_gns3_vm.py 2017-10-18 15:53:37 +07:00
44efab109e Set vhv.enable before run for VMWare 14. Fixes #1184 2017-10-18 10:32:56 +02:00
98b201e9e5 Tweak how VMware VMs are found with fallback to search in the default location for VMs. 2017-10-18 15:27:03 +07:00
1f4b87ae9c Merge pull request #1197 from GNS3/fix-win-tests
fix passing tests on Windows
2017-10-16 19:44:22 +08:00
bc782b6896 fix passing tests on Windows 2017-10-16 13:02:44 +02:00
4cae6b678a Merge pull request #1194 from GNS3/direct-file-uploads
Endpoint for obtaining direct action on compute
2017-10-16 17:27:35 +08:00
3a5a771b19 Merge pull request #1195 from ddragic/qemu-log-macaddress
QEMU: fix logging of base mac address when creating a new node
2017-10-14 16:00:22 +02:00
44bb912139 QEMU: fix logging of base mac address when creating a new node 2017-10-14 13:55:16 +02:00
74e7201ea6 Sync appliance files. 2017-10-13 17:56:42 +08:00
4f13c63a52 Do not use builtin name. 2017-10-13 17:51:19 +08:00
02ad98664f Fix creation of an VMware VM failed with invalid JSON. Fixes #2282. 2017-10-13 17:50:23 +08:00
b654d78ea6 Endpoint for obtaining direct action on compute 2017-10-13 11:03:56 +02:00
244a86bcbc Merge remote-tracking branch 'origin/2.1' into 2.1 2017-10-12 23:33:00 +08:00
1524493c33 Fix IOU detection of layer 1 keepalive support. Fixes #1183. 2017-10-12 23:32:45 +08:00
e52b83be11 Merge pull request #1192 from GNS3/travis-docker-tests
Tests on TravisCI with docker compose
2017-10-12 01:52:03 -07:00
0c7a92b710 Tests on TravisCI with docker compose 2017-10-12 10:40:49 +02:00
67c78ba2e3 Merge pull request #1188 from GNS3/fix-post-file-normalization
Fixes path normalization during file upload on nodes (Fixes: #2276)
2017-10-05 02:07:02 -07:00
9619827f44 Reenable tests and back to development on 2.1.0dev8 2017-10-04 13:05:00 +02:00
5b645cd455 Temporary disable passing tests 2017-10-04 12:58:53 +02:00
7d19312d44 Development on 2.1.0dev8 2017-10-04 11:39:52 +02:00
81048f44d6 Release 2.1.0 rc2 2017-10-04 11:37:12 +02:00
be35ad6874 Fixes path normalization during file upload on nodes (Fixes: #2276) 2017-10-03 18:13:19 +02:00
897f7656da Merge pull request #1185 from GNS3/fix-delete-project
Don't create directory structure during json dump. Fixes #2270
2017-10-02 13:49:46 -07:00
3d85bba9d4 Don't create directory structure during json dump. Fixes #2270 2017-10-02 10:41:57 +02:00
dbd41e44f8 Bump version to 2.1.0dev7 2017-10-02 04:04:38 +08:00
7269285b0f Add more information when qemu-img fails. 2017-10-02 00:47:16 +08:00
2a4ed9ba89 Fix issue with multidict when upgrading GNS3 VM to use dev channel. 2017-09-23 18:09:10 +08:00
a567b394f3 Restore file permissions fails for volumes with soft links. Fixes #1180. 2017-09-21 22:45:17 +08:00
d76bcf7078 Use RAW sockets by default on Linux. 2017-09-19 12:39:55 +07:00
fcd2c7b6d4 Add missing https console keyword in JSON schema. Fixes #1179. 2017-09-19 12:38:35 +07:00
60bc386d6b Merge remote-tracking branch 'origin/2.1' into 2.1 2017-09-14 17:58:25 +07:00
e1c8df170a Allow projects to be opened even when a node port is already used. 2017-09-14 17:57:58 +07:00
cdfce26b61 Development on v2.1.0dev6 2017-09-13 09:31:30 +02:00
f415d38ccd Release v2.1.0rc1 2017-09-13 09:29:31 +02:00
6a8f220ff1 Fix NAT test. 2017-09-11 15:09:32 +07:00
9e4cfaf787 Fix NAT node not working on Windows. Fixes #1163. 2017-09-11 13:02:26 +07:00
4a2dfb0037 Do not prevent a project to be deleted. Fixes #2237. 2017-09-06 18:12:22 +07:00
b538bd0a29 Back to development on v2.1.0dev5 2017-09-05 15:22:49 +02:00
36210b10c6 Re-release 2.1.0b2 2017-09-05 11:22:43 +02:00
fd623a5ad2 Fix test_ubridge_apply_filters 2017-09-05 11:07:10 +02:00
e5a7eb74ed Fix project tests 2017-09-05 10:38:17 +02:00
daf7ed8c95 Development on 2.1.0dev5 2017-09-05 08:39:53 +02:00
1f87d8222b Release 2.1.0 beta 2 2017-09-05 08:38:42 +02:00
90e3a8d612 Round-robin nodes across all available compute resources. Fixes #1165. 2017-09-03 22:51:51 +07:00
c22229101f Try to improve error reporting when streaming a PCAP file. Ref #2235. 2017-09-01 17:10:24 +07:00
ee486b32bd Use Npcap DLL on Windows when checking for uBridge version. 2017-09-01 16:22:43 +07:00
7492899b95 Merge pull request #1173 from GNS3/console-tests
Windows console bugfix tests
2017-08-29 17:45:29 +07:00
807bea40d4 Fixes running switch console inside PyCharm terminal (Ref. #1172) 2017-08-29 12:28:53 +02:00
4e3eee33fc Windows console bugfix tests 2017-08-29 10:08:10 +02:00
a7297ffca4 Merge pull request #1169 from GNS3/checking-nio-existance
Added checking if NIO exists (Fixes #1160)
2017-08-25 16:34:44 +08:00
2806b7b286 Merge pull request #1170 from GNS3/load-meta-when-project-opens
Load meta of the project on loading time (Fixes #2225)
2017-08-25 16:30:23 +08:00
b0783eeccc Load meta of the project on loading time (Fixes #2225) 2017-08-22 09:36:52 +02:00
4fc29504f2 Merge pull request #1168 from GNS3/nat-on-windows
Fixes NAT node not working on Windows (#1163)
2017-08-21 14:24:05 +02:00
efae614af2 Added checking if NIO exists (Fixes #1160) 2017-08-21 11:03:23 +02:00
7523e9c4bc Fixes NAT node not working on Windows (#1163) 2017-08-21 10:17:56 +02:00
3dd5dbe0c1 Merge pull request #1161 from GNS3/empty-link-on-compute
Fixes loading project when link_id is not set (#1159)
2017-08-10 22:09:49 +08:00
e15d1cd350 Fixes loading project when link_id is not set (#1159) 2017-08-10 10:02:18 +02:00
fc7377e999 Merge pull request #1158 from GNS3/platform-on-appliances-list
Return platform value on appliances list (Fixes #2211)
2017-08-08 22:16:40 +08:00
3fd86f5807 Return platform value on appliances list (Fixes #2211) 2017-08-08 13:58:43 +02:00
fc9d44011b Merge pull request #1157 from GNS3/bugfix-1156
Fixes not known category in Appliances (Fixes #1156)
2017-08-07 16:46:14 +08:00
3a1fd892ac Fixes not known category in Appliances (Fixes #1156) 2017-08-07 10:00:46 +02:00
3caba334c0 Development on 2.1.0dev4 2017-08-04 11:39:31 +02:00
e2de872036 Release 2.1.0 beta 1 2017-08-04 11:38:33 +02:00
44fc87a24c Sync appliances 2017-08-04 10:59:05 +02:00
2dc83d7894 Interface starting with gns3 are not display by default in the cloud
Fix https://github.com/GNS3/gns3-gui/issues/2199
2017-08-03 16:33:42 +02:00
211f48d981 Catch error when something that is not the GNS3 server answer to virtualbox requests
Fix #1155
2017-08-03 16:31:28 +02:00
3bb8cdafb2 Catch KeyError: <aiohttp.connector._TransportPlaceholder
Fix #1152
2017-08-02 10:16:49 +02:00
e74eaa8ea8 Add a warning when you try to load and the server is not started with --local
Ref #1151
2017-08-02 09:52:31 +02:00
8a028a6dce Merge pull request #1147 from GNS3/fix_docker_permission
Fix permission on exited container
2017-08-01 00:30:56 +08:00
1cde787ffa Sync appliances 2017-07-31 15:12:06 +02:00
81d77cabf9 Development on 2.1.0dev3 2017-07-31 11:57:45 +02:00
37c76189dc Release 2.1.0 alpha 2 2017-07-31 11:53:35 +02:00
6996b7094f Handle invalid appliances files
Fix #1150
2017-07-28 15:21:35 +02:00
2eead38cd8 Sync appliances 2017-07-28 14:41:19 +02:00
283b08c2a1 Fix naming of node with a number in the name
Fix #1149
2017-07-27 16:06:52 +02:00
fc6b6b5e63 Fix race condition in startup of capture
Fix https://github.com/GNS3/gns3-gui/issues/2111
2017-07-27 15:32:46 +02:00
108a659ca4 Fix bug when exporting debug information with multiple remote servers
Fix #1100
2017-07-27 11:59:20 +02:00
7683a79bb1 Fix OSError when uploading images
Fix #1101
2017-07-27 11:42:10 +02:00
103be13ba4 Fix an error when a symbol is not available on filesystem
Fix #1102
2017-07-27 11:39:25 +02:00
cc89099ea5 Fix ServerDisconnectedError for stop_all
Fix #1089
2017-07-27 11:33:27 +02:00
2e68c90e25 Merge pull request #1148 from GNS3/fix_include_images
This fix the images always included in portable project
2017-07-26 23:14:15 +08:00
92c9e48f18 This fix the images always included in portable project
Also add test to avoid regressions on this.

Fix https://github.com/GNS3/gns3-gui/issues/2165
2017-07-26 16:46:29 +02:00
a93f3b0576 Fix permission on exited container
If a container is exited we quickly start it to fix
the permissions.

Fix https://github.com/GNS3/gns3-gui/issues/2181
2017-07-26 14:52:16 +02:00
86bd7b6058 Added missing corutine flag, fixes #1145 2017-07-26 11:37:09 +02:00
6aa6d96ba0 Fix support of docker appliance with a usage
Fix #1144
2017-07-26 10:52:43 +02:00
5dd5c21374 Merge pull request #1139 from GNS3/prompt-with-new-vpcs
Prompt with new vpcs, fixes: #1083
2017-07-26 10:20:03 +02:00
136e483ace Merge pull request #1143 from GNS3/last_dynamips
Duplicate API for ATM, Ethernet Hub and Frame Relay Switch
2017-07-25 08:05:35 -07:00
d69475cd44 Duplicate API for ATM, Ethernet Hub and Frame Relay Switch
Fix https://github.com/GNS3/gns3-gui/issues/1065
2017-07-25 16:51:49 +02:00
ac508435c3 History support for console and telnet application, Fixes: #1083
Arrows UP/DOWN for telnet, Ref. #1083

Typo, Ref. #1083

Support async commands, Ref. #1083

Small refactor, Ref. #1083

Asyncio telnet server - connections support, Ref. #10831

Prompt-toolkit in dependencies, ref. #1083

Few comments, ref. #1083

Direct imports, ref. #1083

Windows size changed support in telnet server, ref. #1139

Fake termios

Fake termios - different approach

InputStream - copied source from prompt_toolkit
2017-07-25 16:18:07 +02:00
bb90c0ba52 Merge pull request #1140 from GNS3/duplicate_docker
Support duplicate for Docker
2017-07-25 06:50:00 -07:00
a805b3c7c3 Merge pull request #1142 from GNS3/duplicate_iou
Duplicate IOU
2017-07-25 06:46:44 -07:00
f0343124ec Merge pull request #1138 from GNS3/duplicate_qemu
Duplicate support for qemu
2017-07-25 06:44:49 -07:00
27582bb68c Fix IOU image upload
Fix #1141
2017-07-25 14:59:55 +02:00
6d4529f445 Duplicate IOU
Ref https://github.com/GNS3/gns3-gui/issues/1065
2017-07-25 11:39:46 +02:00
16209a2b60 Support duplicate for Docker
Ref https://github.com/GNS3/gns3-gui/issues/1065
2017-07-25 11:32:09 +02:00
01be1b32c4 Duplicate support for qemu
Ref https://github.com/GNS3/gns3-gui/issues/1065
2017-07-25 10:02:40 +02:00
6514252a95 2.1.0dev2 2017-07-24 16:17:02 +02:00
faed85e48b 2.1.0a1 2017-07-24 16:15:24 +02:00
34c27bc18a Merge pull request #1137 from GNS3/duplicate
API for duplication a Node
2017-07-24 01:52:34 -07:00
47e8392ceb Use uuid4() for temporary node name while duplicating a node. 2017-07-24 15:52:14 +07:00
a0a7b0af10 Sync appliances 2017-07-24 10:39:06 +02:00
0854c04687 API for duplication a Node
Support:
* VPCS
* Dynamips router
* Ethernet switch

Ref #1065
2017-07-24 10:08:22 +02:00
0449a5b4ee Cleanup 2017-07-20 17:04:50 +02:00
b37a282475 Raise a NotImplementedError for IPV6 support in old UDP cloud
Fix #1093
2017-07-20 16:23:32 +02:00
253e113168 Raise an error if the licence check setting is not a boolean
Fix #1099
2017-07-20 16:19:20 +02:00
87838cb574 Handle when pid file is corrupt
Fix #1090
2017-07-20 16:17:07 +02:00
ec4e69b0d8 Ensure, that the docker mount directory exists
Fix #1097

Signed-off-by: Julien Duponchelle <julien@gns3.net>
2017-07-20 16:12:20 +02:00
c96694105c Handle broken appliance files
Fix #1135
2017-07-20 16:10:56 +02:00
46e5e8ac68 Log error if you invalid character in auth login
Fix #1088
2017-07-20 15:42:07 +02:00
b33ba5f8ea Don't allow user to overwrite GNS3 docker environment variables
Fix #1098
2017-07-20 15:37:56 +02:00
8354beaa86 Return computer symbol if an appliance don't have symbol
Fix #1087
2017-07-20 15:13:58 +02:00
27f733736e Merge pull request #1133 from GNS3/appliances_dir
Add an appliance templates directory
2017-07-19 22:10:13 -07:00
90cdf14c2a Merge pull request #1134 from GNS3/suspend_link
Suspend link
2017-07-20 11:14:15 +07:00
ca3f6fb4b8 Update some sentences related to suspending a link. 2017-07-20 11:11:44 +07:00
5fd842e54d Suspend link 2017-07-19 17:30:25 +02:00
bce9c61e41 Cleanup unused code in test_link 2017-07-19 16:02:14 +02:00
f5e023222e Fix symbols permissions
Fix #1132
2017-07-19 13:57:19 +02:00
a7d2391608 Use the libpcap on Linux when blocking host originating packets on vmnet interfaces. Ref #1131. 2017-07-19 16:56:24 +07:00
7d123f334f Add an appliance templates directory
Fix https://github.com/GNS3/gns3-gui/issues/2133
2017-07-19 11:44:05 +02:00
c2fbe4f313 Merge pull request #1130 from GNS3/vmware_filters
Filters support for VMware
2017-07-19 14:59:25 +07:00
ac10ba370a Merge pull request #1129 from GNS3/filters_virtualbox
Packet filters support for VirtualBox
2017-07-19 13:34:48 +07:00
fa211a82eb Filters support for VMware
Fix #1108
2017-07-18 18:04:03 +02:00
d9b13fb0c5 Add test for the VMware compute API 2017-07-18 16:07:10 +02:00
54faaf5f6f Packet filters support for VirtualBox
Fix #1107
2017-07-18 14:59:47 +02:00
873418dbbe Fix a merge error 2017-07-18 09:24:36 +02:00
7b8e4c1a60 Merge pull request #1127 from GNS3/filters_iou
Filters support for IOU
2017-07-17 23:15:37 +07:00
08d4c1a000 Merge branch '2.1' into filters_iou 2017-07-17 17:51:17 +02:00
6d577406d7 Merge pull request #1128 from GNS3/filters_cloud
Filter implementation for cloud & Nat
2017-07-17 22:49:26 +07:00
536c708c16 Filter implementation for cloud & Nat
Fix #1111
2017-07-17 17:27:07 +02:00
03af9bd621 Sync appliances 2017-07-17 11:43:49 +02:00
5b839c22e9 Filters support for IOU
Fix #1113
2017-07-17 11:21:54 +02:00
3487b657a7 Merge pull request #1125 from GNS3/docker_filters
Filter support for Docker
2017-07-13 13:22:22 +07:00
23c3d32e06 Filter support for Docker
Fix #1110
2017-07-12 19:44:15 +02:00
f557ec4bda Fix regression in docker introduce by 2.0 merge 2017-07-12 17:59:29 +02:00
cf3b668cf1 Merge pull request #1124 from GNS3/filters_qemu
Qemu support for packet filtering
2017-07-12 21:57:15 +07:00
e8a35ac41f Interface ending with -nic are special ethernet interface
It's libvirt internal stuff

Fix #1114
2017-07-12 16:13:46 +02:00
03f8c747cc Qemu support for packet filtering
Fix #1112
2017-07-12 14:50:33 +02:00
53c4cba1f6 Merge pull request #1117 from GNS3/remove_use_ubrige
Remove use_ubridge flag
2017-07-12 12:46:24 +02:00
9e2759a3f2 Merge branch '2.1' into remove_use_ubrige 2017-07-12 12:46:10 +02:00
9d8a8c95f6 Merge pull request #1123 from GNS3/filters_dynamips
Support packet filtering for Dynamips
2017-07-12 17:23:34 +07:00
86f1201276 Support packet filtering for dynamips
Fix #1109
2017-07-12 12:08:02 +02:00
4a55a367e3 Missing file in previous commit 2017-07-12 11:42:37 +02:00
cf17176bfc Fix recreate a link with dynamips
Fix #1122
2017-07-12 11:34:44 +02:00
2e592d3199 Merge pull request #1121 from GNS3/bfp_filter
BPF filter support
2017-07-12 16:22:01 +07:00
b37f9eb4f0 Update schema for BPF filter. 2017-07-12 16:21:11 +07:00
7c6ffb3f49 Update error message when invalid aiohttp 2017-07-12 10:57:03 +02:00
4a05a4f7c5 Fix virtualbox links 2017-07-12 10:32:02 +02:00
114b137b02 Merge pull request #1120 from GNS3/aiohttp_2.2
Upgrade to last aiohttp version
2017-07-12 15:20:02 +07:00
66d5d34877 Fix qemu hotlink 2017-07-12 10:07:21 +02:00
04303ca00c Fix VPCS ubridge usage 2017-07-12 09:55:23 +02:00
fd0770158c Fix tests with Yarl 0.11 2017-07-12 09:34:40 +02:00
5747aba83c Update error message to require aiohttp 2.2 2017-07-12 13:34:18 +07:00
c8155aa14f Upgrade Yarl 2017-07-12 08:27:49 +02:00
5f874cca2c Merge branch 'master' into 2.1 2017-07-11 19:02:35 +02:00
fc87871d46 Fix a bug in docker binary message handling 2017-07-11 19:00:29 +02:00
699ecb7c89 Merge branch 'master' into 2.1 2017-07-11 18:59:50 +02:00
8a8de1e2df BPF filter support
Fix https://github.com/GNS3/gns3-gui/issues/765
2017-07-11 17:30:29 +02:00
d525f721a6 Merge pull request #1119 from GNS3/fix_random_snap_failure
Test if a snapshot name already exists
2017-07-11 21:28:15 +07:00
357de50a1b Upgrade to last aiohttp version 2017-07-11 15:59:09 +02:00
450c089b6d Test if a snapshot name already exists
This fix random test failure when testing snapshots. It
seem under high load sometimes the previous snapshot folder
was not visible on disk. Perhaps a test isolation issue but
I don't see how.

But in any case it's better to test if the name is not already
use.

Fix #1118
2017-07-11 15:28:01 +02:00
8eb060304a Correct typos in schemas. 2017-07-11 20:03:24 +07:00
d112da400e Remove use_ubridge flag
Ref #1115
2017-07-11 13:58:59 +02:00
fcd7dfbde6 Merge pull request #1116 from GNS3/dynamips_ubridge
Use ubridge for dynamips routers
2017-07-11 12:37:20 +07:00
5112f6fe56 Small changes for Dynamips NIO UDP. 2017-07-11 12:36:43 +07:00
557924e91a Use ubridge for dynamips routers
Ref #1109
2017-07-10 20:38:28 +02:00
c6f28afb7c Fix a broken test 2017-07-10 20:35:02 +02:00
7f4eeb56fa Remove unusued code 2017-07-10 13:50:57 +02:00
339ed8ab57 Merge pull request #1106 from GNS3/idlepc_apicall
Implement an api call for computing the IDLE PC
2017-07-10 11:33:16 +07:00
5bdc239064 Merge pull request #1104 from GNS3/filters_api
Support packet filtering for VPCS
2017-07-08 18:50:00 +07:00
3eadbb9adb Implement an api call for computing the IDLE PC
Fix https://github.com/GNS3/gns3-gui/pull/2153
2017-07-07 17:50:40 +02:00
d17b4eb053 Merge pull request #1105 from GNS3/bugfix-2136
Bugfix 2136 (gui) issue with UTF-8 characters and Docker
2017-07-07 09:04:47 +02:00
8f260e0a83 Update field names for filters. 2017-07-06 16:53:05 +07:00
e0f0adf3c8 Added preferred Docker API version. Fixes #2136 2017-07-06 11:24:55 +02:00
8e8b8bc5a5 WebSocket binary mode support for docker 2017-07-06 10:13:00 +02:00
4097bab565 Apply feedback from @grossmj 2017-07-05 16:36:39 +02:00
c6f9ec3758 More information on Docker WebSocket error 2017-07-05 10:36:58 +02:00
dc7a9ffc51 Merge pull request #1103 from GNS3/graphics-settings
Graphics settings
2017-07-04 15:15:36 +02:00
08423eff96 Support packet filtering for VPCS
https://github.com/GNS3/gns3-gui/issues/765
2017-07-04 15:12:26 +02:00
dadbb0ab09 More options for drawing area 2017-07-03 10:01:22 +02:00
cc34f45677 Additional drawing options for Project 2017-06-30 14:31:25 +02:00
3132dbd9eb Merge pull request #1096 from GNS3/bugfix-725
Enable binding server to an IPv6 host
2017-06-30 17:28:40 +08:00
b33a1f5214 Enable binding server to an IPv6 host 2017-06-30 10:21:15 +02:00
8f72356bab Rebuild the documentation 2017-06-29 17:14:46 +02:00
63e9558b10 New VPCS base config. Fixes #786. 2017-06-28 17:40:54 +08:00
5b19ef4862 Remove forgotten debug message. 2017-06-28 16:11:46 +08:00
799a2d376e Merge pull request #1092 from GNS3/fix_vpcs_name
Fix the initial startup for VPCS is not used
2017-06-28 16:09:54 +08:00
0a6dc55645 Fix appliance properties lost when you create two node from template 2017-06-28 09:37:19 +02:00
617868402f Fix the initial startup for VPCS is not used
The default VPCS template didn't provide the base
startup config setting. This prevent the replacement
of the hostname in the configuration file.

Fix https://github.com/GNS3/gns3-gui/issues/2123
2017-06-27 18:44:31 +02:00
c1a4bba101 Merge pull request #1091 from GNS3/bugfix-557
Bugfix 557
2017-06-27 11:17:12 +02:00
3c18150cdb Adjustment of IOU_OBJECT_SCHEMA 2017-06-27 11:14:34 +02:00
931018b877 Fix passing tests 2017-06-27 11:11:07 +02:00
6aa2afcf54 Fix #557 - mac addess collision when running IOU on multiple GNS3 servers 2017-06-27 10:09:21 +02:00
a7170da93f Update bundled appliances 2017-06-26 11:00:55 +02:00
1d09f423e5 Disable checking if IOU is on the same server 2017-06-23 12:20:49 +02:00
1e37101641 Allow IOU 64-bit images. 2017-06-23 12:00:33 +02:00
bcdac6c969 Fix test for ethernet switch show arp 2017-06-23 10:54:05 +02:00
3ed055dbb9 Merge pull request #1086 from GNS3/spice-qxl
spice - added qxl vga support
2017-06-23 09:57:32 +02:00
7447b3190d spice - added qxl vga support 2017-06-22 12:56:28 +02:00
1b6cefd82b Merge pull request #1055 from GNS3/embed_shell
Fake console for simple Ethernet switch
2017-06-22 00:24:14 +02:00
ad850f3857 Add port number in arp command output for Ethernet switch. 2017-06-22 00:23:33 +02:00
0ceec2629a Merge pull request #1081 from GNS3/spice-feature
Spice support
2017-06-21 15:16:30 +02:00
bc5ec98cd5 Spice support
* QEMU VNC options tests
* QEMU - SPICE support at build options and schemas
* SPICE console_type for nodes
2017-06-21 15:14:41 +02:00
a8e8eac0b4 Merge remote-tracking branch 'origin/master' into 2.1 2017-06-21 15:13:04 +02:00
5a1d313fca Merge pull request #1080 from GNS3/spice-feature
Spice feature
2017-06-21 10:37:04 +02:00
e7853a1be9 Merge pull request #1079 from GNS3/revert-1076-spice-feature
Revert "Spice feature"
2017-06-21 10:32:41 +02:00
36dc264a6c Revert "Spice feature" 2017-06-21 10:32:28 +02:00
efd5d82c88 Merge pull request #1076 from GNS3/spice-feature
Spice feature
2017-06-21 10:28:43 +02:00
ea9f0e52c8 Fixes #2108 (gns3-gui): getting project file with leading slashes issue (#1078) 2017-06-21 10:26:36 +02:00
6730cfe823 Merge pull request #1077 from GNS3/fix-win-tests
Fix tests on windows
2017-06-20 14:36:01 +02:00
2e6366a766 Fix tests on windows 2017-06-20 13:46:03 +02:00
e5bc7c7a66 Merge branch '2.1' into embed_shell 2017-06-19 11:10:24 +02:00
e1c20e6a22 Fix merge 2.0 error 2017-06-19 10:50:45 +02:00
734ca7d2f9 Fix linked base & linked clone settings in appliance 2017-06-19 10:49:23 +02:00
bb8097a052 Merge remote-tracking branch 'origin/master' into 2.1 2017-06-19 10:44:52 +02:00
8973cc6fee Merge branch '2.1' into embed_shell 2017-06-19 09:11:08 +02:00
c8c991af78 Fix the error about appliance ID not found (#1075)
* Fix the error about appliance ID not found

* Copy appliance data before editing it
2017-06-19 08:47:50 +02:00
61fda93611 SPICE console_type for nodes 2017-06-16 14:41:05 +02:00
88c2353e2e QEMU - SPICE support at build options and schemas 2017-06-16 10:17:26 +02:00
c91a001729 QEMU VNC options tests 2017-06-16 10:03:33 +02:00
b8a4785633 2.0.4dev1 2017-06-13 10:37:41 +02:00
41af46cdc5 2.0.3 release 2017-06-13 10:35:50 +02:00
64a852f38f Fixes #1068 - handle zipfile encoding issues at project duplication 2017-06-09 15:32:25 +02:00
5c0d955156 Fix: #1066 - Catching parsing errors at linked vbox file 2017-06-09 10:41:34 +02:00
c1c3a9ed80 Drop debug 2017-06-09 09:31:18 +02:00
0dd35e1cbe Ignoring virtualenv directory at gitignore 2017-06-09 09:14:25 +02:00
7235a312ab Escaping VPCS name in regex #1067 2017-06-09 09:14:25 +02:00
ae328e5c50 Merge branch '2.1' into embed_shell 2017-06-07 18:21:41 +02:00
40cc5d76b3 Fix racecondition when listing interface
Fix #1060
2017-06-07 15:57:05 +02:00
b9e2b7945a Removed gc collection at testing 2017-06-07 14:39:47 +02:00
eb6068c3d3 Fix Qemu disk creation with unicode characters not supported by local filesystem #1058 (#1063) 2017-06-07 12:35:41 +02:00
c538ec5937 Fix tests on case sensitive file system 2017-06-07 11:20:55 +02:00
e0b519eced Fix when config file doesn't have computes section (#1062) 2017-06-07 10:50:40 +02:00
cdcdba7411 Fix installation issue with Python 3.4 and aiohttp cors 2017-06-06 17:41:36 +02:00
2fe589b1a8 Fix invalid test for 1.3 topology conversion to GNS3 2.1 2017-06-06 16:07:27 +02:00
ca3f8d0b43 Provide easy to test a shell by using stdin as an input 2017-06-02 14:50:34 +02:00
88cd804274 Update readme 2017-06-02 11:40:39 +02:00
6a0345897d Connector is no longer supported in ws_connect by aiohttp 2.0 2017-06-02 10:42:40 +02:00
7dfb634376 Fix for websocket usage with aiohttp 2.0
Fix #1050
2017-06-01 18:39:55 +02:00
823288dd0b Fix a crash in some cases 2017-06-01 18:35:03 +02:00
ed656b7ab2 Merge branch '2.0' into 2.1 2017-05-31 17:07:13 +02:00
e74e66b203 Typo in error message 2017-05-31 17:04:14 +02:00
93adef91d8 Merge branch '2.0' into 2.1 2017-05-31 16:58:31 +02:00
6fa27c6885 Check aiohttp version 2017-05-31 16:56:46 +02:00
07049562a4 Update pytest from 3.1.0 to 3.1.1 (#1056) 2017-05-31 15:34:36 +02:00
5616ab0e9a Fake console for simple Ethernet switch
Fix #454
2017-05-31 15:13:29 +02:00
4f6cca0019 Fix errors when enabling chunking 2017-05-31 11:17:28 +02:00
7044c8c9ff Fix the GUI disconnect from the server
Fix https://github.com/GNS3/gns3-gui/issues/2084
2017-05-31 11:03:44 +02:00
7913646ce3 2.0.3dev1 2017-05-30 08:58:05 +02:00
78e1321bae 2.0.2 2017-05-30 08:57:07 +02:00
c46a9da769 Update sphinx from 1.6.1 to 1.6.2 (#1049) 2017-05-29 09:01:12 +02:00
89394ba7e0 Drop SSL support 2017-05-26 15:54:08 +02:00
b8ee8d69c8 Fix unexpected keyword argument 'conn_timeout'
Fix #1047
2017-05-26 15:42:46 +02:00
ef5c013561 Merge branch 'master' into 2.0 2017-05-26 10:47:57 +02:00
8bbe7e8041 Set correct permission on ubridge when doing a remote installation 2017-05-26 10:47:25 +02:00
777361c23d Merge branch 'master' into 2.0 2017-05-26 10:32:26 +02:00
c3d5abd104 Remote install script should be totally non interactive 2017-05-26 10:29:33 +02:00
39879ca92b Duplicate project on remote server use UUID
Ref https://github.com/GNS3/gns3-server/issues/1040
2017-05-23 17:20:51 +02:00
5a86277a9f Test that import erase the auto_open and auto_start setting
Ref #1041
2017-05-23 16:08:30 +02:00
b87692acce Fix import of some old topologies from 1.3 2017-05-23 14:05:47 +02:00
d765d02f06 Fix error in logging of error during starting GNS3 VM 2017-05-23 13:39:41 +02:00
5bb6c51698 Fix an error when logging Docker container fail to start 2017-05-23 13:31:04 +02:00
59488e8064 Fix tests on python 3.4 (#1046) 2017-05-23 12:15:04 +02:00
54e80d68f8 Fix test failed on Python 3.4
Fix #1045
2017-05-23 11:11:13 +02:00
2a8911d19e Keep DOCKER_MINIMUM_API_VERSION and DOCKER_MINIMUM_VERSION consistent 2017-05-23 11:00:15 +02:00
8b7209ea78 Use docker version in error message of outdated docker installation 2017-05-23 10:41:42 +02:00
7d48eba01b Use versioned docker API
Since docker v1.13 the unversioned docker API is deprecated.
Backport of gns3-server 2.0, commit effbe59
2017-05-23 10:37:47 +02:00
1e598d1890 Test for support of docker commit images
Ref #1039
2017-05-23 10:23:12 +02:00
2191c487b6 Support images created by "docker commit". Fixes #1039 2017-05-23 10:23:11 +02:00
3ed49bbdd5 Update pytest from 3.0.7 to 3.1.0 (#1044) 2017-05-23 08:29:36 +02:00
82f1ab2be2 Merge pull request #1036 from GNS3/aiohttp_2.0
Aiohttp 2.0
2017-05-22 22:41:01 +02:00
7d30da5d4e Do not wait auto start to finish in order to complete project opening
Fix https://github.com/GNS3/gns3-gui/issues/2074
2017-05-22 20:18:07 +02:00
4dc55a5af4 Improve logging for remote server connection lost
Ref https://github.com/GNS3/gns3-gui/issues/2074
2017-05-22 13:57:32 +02:00
bdd980d6a2 Ignore console_hsot when loading topologie 2017-05-22 11:42:50 +02:00
51d6152a5c Fix support for some old topologies
Fix #1042
2017-05-19 18:27:20 +02:00
bdcadcc335 Fix support from some old topologies
Fix #1038
2017-05-19 17:49:39 +02:00
624a2c02c5 FIX iou creation
Fix https://github.com/GNS3/gns3-gui/issues/2065
2017-05-18 17:13:40 +02:00
189ad994c8 Symbols are returned with a content length 2017-05-18 16:37:44 +02:00
a4245fcf44 Aiohttp 2.0
Ref #1000
2017-05-17 18:42:17 +02:00
812ff6b5d8 Update sphinx from 1.5.6 to 1.6.1 (#1035) 2017-05-17 08:30:16 +02:00
f338158654 Use 127.0.0.1 for local UDP tunnels to uBridge for Qemu. Ref #664. 2017-05-16 20:51:14 +02:00
e9fef928b0 Fix dynamips node creation error 2017-05-16 10:49:45 +02:00
5c5caf8418 Add comment about why we change linked_base to linked_clone 2017-05-16 10:38:58 +02:00
aff5554528 Rename old properties from gui linked_base to linked_clone
Fix #1034
2017-05-16 10:33:37 +02:00
2a159c06c5 Fix forwarding properties
Fix #2005, #2002
2017-05-16 10:22:55 +02:00
c231e2bbf1 Merge branch '2.0' into 2.1 2017-05-16 09:30:07 +02:00
e24bfd5913 2.0.2dev1 2017-05-16 09:16:35 +02:00
f2d5eb0b27 2.0.1 2017-05-16 08:47:35 +02:00
bef1b2e8f1 Merge branch '2.0' into 2.1 2017-05-16 08:38:13 +02:00
39419462db Handle HTTP 504 errors from compute node
Fix #1032
2017-05-16 08:37:54 +02:00
ddc5e8169e Merge pull request #1031 from GNS3/async_images
When connecting to a compute node ask for qemu images list
2017-05-15 21:20:28 +02:00
cd17ef6b12 Merge branch '2.0' into 2.1 2017-05-15 15:46:50 +02:00
3dc478385b When connecting to a compute node ask for qemu images list
The server start to compute qemu image list in background
because first time discovery could be slow due to the compute
time of md5sum.

Fix #996
2017-05-15 15:35:48 +02:00
851d6e1db8 When importing portable project NAT node is loaded on GNS3 VM
Fix #1030
2017-05-15 10:21:37 +02:00
facdf9c617 Update sphinx from 1.5.5 to 1.5.6 (#1029) 2017-05-15 09:41:18 +02:00
70d34befb9 Merge remote-tracking branch 'origin/2.0' into 2.0 2017-05-12 21:04:39 +08:00
8696a464ab Merge pull request #1027 from GNS3/fix_wic_numbering
Fix wic numbering
2017-05-12 21:03:05 +08:00
5721dd3f30 Fix port numbering for Wic slot 1 & 2 2017-05-12 14:12:24 +02:00
bf38a8515e Fix typo. 2017-05-12 18:54:54 +08:00
942cc09eda Fixes issue with connections when loading an ATM switch. 2017-05-12 18:00:58 +08:00
9baaf5685d Merge pull request #1028 from GNS3/filter_logs
Filter /settings from log
2017-05-12 17:31:42 +08:00
961dbb5162 Filter /settings from log
Fix #1026
2017-05-12 10:48:43 +02:00
19a6157f64 Fix wic numbering
Fix #1011
2017-05-12 09:48:05 +02:00
18cfcaa081 Fixes ATM mapping. 2017-05-12 13:09:26 +08:00
87d42f4eb9 Fixes Frame-relay VC mapping. 2017-05-12 12:39:01 +08:00
766456014b Fix export project is looking into the wrong directory
Fix #1010
2017-05-11 17:59:57 +02:00
f31e46e8ed Fix a race condition in logging when ubridge exit fast
Fix #1025
2017-05-11 17:26:18 +02:00
633cdef0bc Merge pull request #987 from GNS3/nat_vmware
NAT node can use the VMware NAT
2017-05-11 14:03:34 +08:00
fb6a95f7bb Fix conversion issue with old topology with C3640
Fix #1019
2017-05-10 13:50:19 +02:00
93fe66a253 Fix error when you have a directory in your symbols directory
Fix #1006
2017-05-10 13:40:49 +02:00
e870b0cfa0 Catch VMWare errors when getting status after GNS3 VM start
Fix #1008
2017-05-09 19:16:47 +02:00
b4467d83bf Make sure upstart LANG is utf8
Fix #1017
2017-05-09 18:54:01 +02:00
ac5509f383 Always install typing module (compat with python 3.4 on ubuntu)
Fix #1021
2017-05-09 15:09:55 +02:00
050f6876ce Fix KeyError: 'filename'
Fix #1018
2017-05-09 12:25:15 +02:00
2172c25df6 Run tests into a tmp directory prefixed by unicode character 2017-05-09 09:43:47 +02:00
48dae085aa Catch missing function listxattr on some Linux host. 2017-05-08 21:02:23 +07:00
bfee08459d Test image sorting
Ref https://github.com/GNS3/gns3-gui/issues/2030
2017-05-05 20:09:51 +02:00
8a6584d90f Sort image list
Fix https://github.com/GNS3/gns3-gui/issues/2030
2017-05-05 19:52:45 +02:00
6870749e50 Handle a race condition at project closing
Fix #1015
2017-05-05 19:39:06 +02:00
3070a68273 Fix unicode error when reading ios configuration
Fix #1013
2017-05-05 19:27:04 +02:00
bda36081a9 Fix AttributeError: 'NoneType' object has no attribute 'send'
Fix #1014
2017-05-05 17:16:07 +02:00
930e7089db Fix a conversion issue with some 1.3 topologies 2017-05-04 12:09:56 +02:00
04220846b3 Fix an error with ethernetswitch when ethertype is null
Fix #1007
2017-05-04 10:33:02 +02:00
694a4e8068 Raise an error if we can't create the dynamips configuration directory
Fix #992
2017-05-03 17:55:13 +02:00
7ba351c888 Catch timeout error when loading virtualbox VM
Fix #999
2017-05-03 17:44:55 +02:00
ae3e25b03b Handle broken compute at server startup
Fix #1001
2017-05-03 17:40:58 +02:00
fa1450cb24 Catch error when we can't backup the topology
Fix #998
2017-05-03 17:35:10 +02:00
8e5f7d0838 Catch error when writting the topology file on read only device
Fix #1003
2017-05-03 17:28:47 +02:00
31d1696215 Catch a race condition in VirtualBox when editing and linking
Fix #993
2017-05-03 16:14:42 +02:00
078a6d8d34 Fix a race condition when editing a qemu vm and connecting it
Fix #997
2017-05-03 16:01:51 +02:00
ecba758c58 Docker aux console is a VT100 terminal
Without that program like nano can't work.

Signed-off-by: Julien Duponchelle <julien@gns3.net>
2017-05-03 10:30:43 +02:00
6190b9c189 2.0.1dev1 2017-05-03 10:18:26 +02:00
56d91b648c Fix connection to websocket with last docker release
Fix https://github.com/GNS3/gns3-gui/issues/1994

Signed-off-by: Julien Duponchelle <julien@gns3.net>
2017-04-28 16:06:43 +02:00
a6d085bf61 Fix server startup on windows 2017-04-28 11:06:39 +02:00
b0f45035a9 NAT node can use the VMware NAT
On Windows and Mac OS this allow the NAT node to use the
VMware nat (it's always vmnet8). On Linux we still use the
libvirt NAT
2017-04-27 15:26:58 +02:00
273a711459 Merge branch '2.0' into 2.1 2017-04-26 17:22:14 +02:00
c3aecf935f Add new appliances 2017-04-26 17:02:33 +02:00
629443a5e5 Sync appliances 2017-04-26 16:27:59 +02:00
9dc6f0f486 Embed the appliances in the server. (#927)
This add a /appliances call
2017-04-12 14:35:49 +02:00
4f1b738ef5 Merge branch '2.0' into 2.1 2017-03-30 10:16:16 +02:00
99ee40df3d Do not return broken appliances like ASA 8 2017-03-09 15:44:48 +01:00
21849656d1 Merge branch '2.0' into 2.1 2017-03-08 18:17:15 +01:00
5036079deb Merge branch '2.0' into 2.1 2017-03-07 16:48:31 +01:00
6017ebbd97 Merge branch '2.0' into 2.1 2017-03-07 11:16:05 +01:00
e3974377ed Merge pull request #888 from GNS3/embed_appliances
Embed the appliances in the server.
2017-03-06 17:43:15 -07:00
5a399b90fe Merge branch '2.1' into embed_appliances 2017-02-28 14:55:33 +01:00
583327ad33 Merge branch '2.0' into 2.1 2017-02-28 14:32:40 +01:00
1ab9ca2333 Merge branch '2.0' into 2.1 2017-02-28 14:25:38 +01:00
5672b4b748 Merge pull request #890 from GNS3/base_config_server_side
Manage base configuration on server
2017-02-19 22:59:06 -08:00
aee7208f7b Merge pull request #895 from GNS3/qemu_more_adapters
Allow up to 275 adapters for qemu
2017-02-17 01:40:41 -08:00
635e163954 Update qemu_vm.py 2017-02-17 17:37:06 +08:00
99f817392d Raise an error if you use Qemu < 2.4 and try to use large number of adapters 2017-02-17 09:55:50 +01:00
51bf979284 Merge branch '2.0' into 2.1 2017-02-16 16:24:57 +01:00
2a840da462 Create an ApplianceTemplate class 2017-02-08 15:40:56 +01:00
8d86d959de "/appliances" => "/appliances/templates" 2017-02-08 14:51:00 +01:00
b0567772f7 Allow up to 275 adapters for qemu
See #889 for more details
2017-02-07 17:04:29 +01:00
5e02a9d450 Merge branch '2.0' into 2.1 2017-02-07 15:03:24 +01:00
e892e5dfab Manage base configuration on server
Fix #786
2017-02-03 13:19:14 +01:00
afcd27f348 Merge branch '2.0' into 2.1 2017-02-02 15:35:04 +01:00
842e2c7fbf Merge branch '2.0' into 2.1 2017-02-02 11:54:03 +01:00
dc6756d5ae Embed the appliances in the server.
This add a /appliances call
2017-02-01 11:30:14 +01:00
5204cec9e6 Merge branch '2.0' into 2.1 2017-02-01 10:08:38 +01:00
d901efae51 2.1.0dev1 2017-01-24 10:37:23 +01:00
518 changed files with 27333 additions and 2464 deletions

4
.gitignore vendored
View File

@ -53,3 +53,7 @@ docs/_build
vpcs.hist
startup.vpcs
.gns3_shell_history
# Virtualenv
env
.ropeproject

View File

@ -1,2 +1,2 @@
branch:
2.0
2.2

View File

@ -1,15 +1,19 @@
language: python
python:
- '3.4'
- '3.5'
- '3.6'
sudo: false
cache: pip
sudo: required
services:
- docker
install:
- python setup.py install
- pip install -rdev-requirements.txt
- sed -e 's/${PYTHON_VERSION}/'${PYTHON_VERSION}/g DockerfileTests.tpl > /tmp/DockerfileTests
- docker-compose build
script:
- py.test -v -s tests
- docker-compose run tests
before_deploy:
- sudo pip install twine
- sudo pip install urllib3[secure]
deploy:
provider: pypi
user: noplay
@ -18,3 +22,9 @@ deploy:
on:
tags: true
repo: GNS3/gns3-server
env:
matrix:
- PYTHON_VERSION=3.4
- PYTHON_VERSION=3.5
- PYTHON_VERSION=3.6

179
CHANGELOG
View File

@ -1,5 +1,184 @@
# Change Log
## 2.1.1 22/12/2017
* Protect variable replacement for Qemu options. Escape double quotes.
* Add proper exception when cannot find tunnel on QEMU, Fixes: #1241
* Increase timeout for creation of image, Ref. #2239
* Protect variable replacement for Qemu options.
* Do not overwrites persistent Docker volumes. Fixes #2358.
* Allow users to see an error when the server cannot stream a PCAP file.
* Fix issue with Qemu + SPICE when IPv4 is not enabled.
* Warn users if the GNS3 VM and local server are not in the same subnet. Fixes #1231.
* Add missing appliance files.
* Update appliance files.
* Fix auto idle-pc from preferences.
* Keep consistance of aiohttp.web.HTTPForbidden() execution
* Make sure connected links are removed when a node is deleted.
* Validate idle-pc values for auto idle-pc feature.
* Fix error when updating packet filter on stopped Docker link. Fixes #1229.
* Remotely close telnet console. Ref #2330
* EthernetSwitch closing connections, Ref: gui/#2330
* Export files from remote server, Fixes: gui/#2271
* New option: require KVM. If false, Qemu VMs will not be prevented to run without KVM.
* Implement variable replacement for Qemu VM options.
* Avoid duplicate "-nographic" option.
* Show qemu-img stdout in case of an error.
* Use the correct NVRAM amount when pushing private config to IOU.
* Check and fix corrupt Qemu disk images. Fixes #2301.
* Update warning messages when connecting to non custom adapter for VMware VMs.
* Fix "Can't use VirtualBox VM when an interface is managed by VirtualBox". Fixes #2335.
* Add low disk space warning when creating a new project.
## 2.1.0 09/11/2017
* Fix typo in vcpus on VirtualBoxVM, fixes: #1213
## 2.1.0rc4 07/11/2017
* Fix GNS3VM vCPUs control on VMware, fixes: #2324
* Fix typo in sample gns3_server.conf. Fixes #1210.
* Warning for getting endpoint of compute
* Enable debug mode on async loop only in dev/debug mode
* Add warning when using IOU with a hostname length above 15 characters.
* Improve VMware VMs discovery process. Ref #1201.
* Improve error message when IOU VM process is unexpectedly stopped.
* Improved error message when the number of network adapters is above the maximum for VirtualBox VMs. Better support for potential future chipsets in addition of PIIX3 and ICH9.
* Added localhost and gns3.github.io CORS
## 2.1.0rc3 19/10/2017
* Set vhv.enable before run for VMWare 14. Fixes #1184
* Tweak how VMware VMs are found with fallback to search in the default location for VMs.
* QEMU: fix logging of base mac address when creating a new node
* Sync appliance files.
* Fix creation of an VMware VM failed with invalid JSON. Fixes #2282.
* Endpoint for obtaining direct action on compute
* Fix IOU detection of layer 1 keepalive support. Fixes #1183.
* Fixes path normalization during file upload on nodes (Fixes: #2276)
## 2.1.0rc2 04/10/2017
* Don't create directory structure during json dump. Fixes #2270
* Add more information when qemu-img fails.
* Fix issue with multidict when upgrading GNS3 VM to use dev channel.
* Restore file permissions fails for volumes with soft links. Fixes #1180.
* Use RAW sockets by default on Linux.
* Add missing https console keyword in JSON schema. Fixes #1179.
* Allow projects to be opened even when a node port is already used.
## 2.1.0rc1 13/09/2017
* Fix NAT node not working on Windows. Fixes #1163.
* Do not prevent a project to be deleted. Fixes #2237.
## 2.1.0b2 05/09/2017
* Round-robin nodes across all available compute resources. Fixes #1165.
* Try to improve error reporting when streaming a PCAP file. Ref #2235.
* Use Npcap DLL on Windows when checking for uBridge version.
* Fixes running switch console inside PyCharm terminal (Ref. #1172)
* Load meta of the project on loading time (Fixes #2225)
* Added checking if NIO exists (Fixes #1160)
* Fixes NAT node not working on Windows (#1163)
* Fixes loading project when link_id is not set (#1159)
* Return platform value on appliances list (Fixes #2211)
* Fixes not known category in Appliances (Fixes #1156)
## 2.1.0b1 04/08/2017
* Sync appliances
* Interface starting with gns3 are not display by default in the cloud
* Catch error when something that is not the GNS3 server answer to virtualbox requests
* Catch KeyError: <aiohttp.connector._TransportPlaceholder
* Add a warning when you try to load and the server is not started with --local
* Sync appliances
* Fix permission on exited container
## 2.1.0a2 31/07/2017
* Handle invalid appliances files
* Sync appliances
* Fix naming of node with a number in the name
* Fix race condition in startup of capture
* Fix bug when exporting debug information with multiple remote servers
* Fix OSError when uploading images
* Fix an error when a symbol is not available on filesystem
* Fix ServerDisconnectedError for stop_all
* This fix the images always included in portable project
* Fix support of docker appliance with a usage
* Duplicate API for ATM, Ethernet Hub and Frame Relay Switch
* History support for console and telnet application
* Fix IOU image upload
* Duplicate IOU
* Support duplicate for Docker
* Duplicate support for qemu
## 2.1.0a1 24/07/2017
* Packet filtering
* Suspend a link
* Duplicate a node
* Move config to central server
* Appliance templates on server
## 2.0.3 13/06/2017
* Fixes #1068 - handle zipfile encoding issues at project duplication
* Fix: #1066 - Catching parsing errors at linked vbox file
* Ignoring virtualenv directory at gitignore
* Escaping VPCS name in regex #1067
* Fix racecondition when listing interface
* Fix Qemu disk creation with unicode characters not supported by local filesystem #1058 (#1063)
* Fix when config file doesn't have computes section (#1062)
* Check aiohttp version
## 2.0.2 30/05/2017
* Set correct permission on ubridge when doing a remote installation
* Remote install script should be totally non interactive
* Duplicate project on remote server use UUID
* Fix import of some old topologies from 1.3
* Fix error in logging of error during starting GNS3 VM
* Fix an error when logging Docker container fail to start
* Use docker version in error message of outdated docker installation
* Support images created by "docker commit". Fixes #1039
* Do not wait auto start to finish in order to complete project opening
* Improve logging for remote server connection lost
## 2.0.1 16/05/2017
* Handle HTTP 504 errors from compute node
* When connecting to a compute node ask for qemu images list
* When importing portable project NAT node is loaded on GNS3 VM
* Fix port numbering for Wic slot 1 & 2
* Fixes issue with connections when loading an ATM switch.
* Fixes ATM mapping.
* Fixes Frame-relay VC mapping.
* Fix export project is looking into the wrong directory
* Fix a race condition in logging when ubridge exit fast
* Fix conversion issue with old topology with C3640
* Fix error when you have a directory in your symbols directory
* Catch VMWare errors when getting status after GNS3 VM start
* Make sure upstart LANG is utf8
* Always install typing module (compat with python 3.4 on ubuntu)
* Fix KeyError: 'filename'
* Catch missing function listxattr on some Linux host.
* Sort image list
* Handle a race condition at project closing
* Fix unicode error when reading ios configuration
* Fix AttributeError: 'NoneType' object has no attribute 'send'
* Fix a conversion issue with some 1.3 topologies
* Fix an error with ethernetswitch when ethertype is null
* Raise an error if we can't create the dynamips configuration directory
* Catch timeout error when loading virtualbox VM
* Handle broken compute at server startup
* Catch error when we can't backup the topology
* Catch error when writting the topology file on read only device
* Catch a race condition in VirtualBox when editing and linking
* Fix a race condition when editing a qemu vm and connecting it
* Docker aux console is a VT100 terminal
## 2.0.0 02/05/2017
* Fix connection to websocket with last docker release

15
DockerfileTests.tpl Normal file
View File

@ -0,0 +1,15 @@
FROM python:${PYTHON_VERSION}
RUN pip install -U setuptools pip
ADD requirements.txt /server/requirements.txt
ADD dev-requirements.txt /server/dev-requirements.txt
RUN pip install -r/server/dev-requirements.txt
RUN useradd -ms /bin/bash gns3
USER gns3
ADD . /server
WORKDIR /server

View File

@ -22,7 +22,7 @@ master
master is the next stable release, you can test it in your day to day activities.
Bug fixes or small improvements pull requests go here.
1.x (1.4 for example)
2.x (2.1 for example)
********
Next major release

View File

@ -11,9 +11,13 @@ certkey=/home/gns3/.config/GNS3/ssl/server.key
; Path where devices images are stored
images_path = /home/gns3/GNS3/images
; Path where user projects are stored
projects_path = /home/gns3/GNS3/projects
; Path where user appliances are stored
appliances_path = /home/gns3/GNS3/appliances
; Option to automatically send crash reports to the GNS3 team
report_errors = True
@ -24,7 +28,7 @@ console_end_port_range = 10000
; First port of the range allocated for inter-device communication. Two ports are allocated per link.
udp_start_port_range = 10000
; Last port of the range allocated for inter-device communication. Two ports are allocated per link
udp_start_end_range = 20000
udp_end_port_range = 20000
; uBridge executable location, default: search in PATH
;ubridge_path = ubridge
@ -59,3 +63,5 @@ license_check = True
[Qemu]
; !! Remember to add the gns3 user to the KVM group, otherwise you will not have read / write permssions to /dev/kvm !!
enable_kvm = True
; Require KVM to be installed in order to start VMs
require_kvm = True

View File

@ -1,7 +1,7 @@
-rrequirements.txt
sphinx==1.5.5
pytest==3.0.7
sphinx==1.6.2
pytest==3.1.1
pep8==1.7.0
pytest-catchlog==1.2.2
pytest-timeout==1.2.0

4
docker-compose.yml Normal file
View File

@ -0,0 +1,4 @@
tests:
build: .
dockerfile: /tmp/DockerfileTests
command: py.test -v -s tests

View File

@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:47 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:23 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/eeee4a80-b66d-4865-b9e6-92582712210c'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/5515357a-a5c1-47c7-b47a-fa004ed94bee'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/eeee4a80-b66d-4865-b9e6-92582712210c HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/5515357a-a5c1-47c7-b47a-fa004ed94bee HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:00 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/85766740-75a7-40e7-9dc2-31af994af8cd/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6558b3be-937a-46ed-aa2c-d55b2efbfae3/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/85766740-75a7-40e7-9dc2-31af994af8cd/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6558b3be-937a-46ed-aa2c-d55b2efbfae3/adapters/0/ports/0/nio HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:06:59 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/908a6d69-00ce-403a-9627-a5a874acd69e/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/0febefd7-5312-47ce-912e-30a68f3e206b/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/908a6d69-00ce-403a-9627-a5a874acd69e/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/0febefd7-5312-47ce-912e-30a68f3e206b/adapters/0/ports/0/nio HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:42 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:05 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e3bd45e7-0097-4fa6-af79-017a6f20d7c5'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b3d3552b-c851-4c54-88ef-eca874685de5'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e3bd45e7-0097-4fa6-af79-017a6f20d7c5 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/b3d3552b-c851-4c54-88ef-eca874685de5 HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:44 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:10 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9a33b2e9-8964-4ebc-bd59-054de444cf4f/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9e34b2c0-6337-49ab-a409-745cceb673c5/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9a33b2e9-8964-4ebc-bd59-054de444cf4f/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9e34b2c0-6337-49ab-a409-745cceb673c5/adapters/1/ports/0/nio HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:44 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:13 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/92b25428-6f34-41f0-b7ed-876cf67528c4'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b37db9cd-b92c-4f24-8706-1b30d3162d6d'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/92b25428-6f34-41f0-b7ed-876cf67528c4 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b37db9cd-b92c-4f24-8706-1b30d3162d6d HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:17 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d468a9d2-40ce-4bda-92cf-0861eed15000/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d8c320f4-2877-484c-8f1c-f975527e0560/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d468a9d2-40ce-4bda-92cf-0861eed15000/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d8c320f4-2877-484c-8f1c-f975527e0560/adapters/0/ports/0/nio HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:16 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/80371207-d146-4f75-ac1f-efa58b2fbc0a'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/31176da3-3e99-4b29-9040-d643abcefd4e'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/80371207-d146-4f75-ac1f-efa58b2fbc0a HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/31176da3-3e99-4b29-9040-d643abcefd4e HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:49 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:29 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/13ae9cf1-8289-4d3f-b97b-cc677f9dc8c8/adapters/1/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/08907920-9653-45e4-b5c6-94bbca78b809/adapters/1/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/13ae9cf1-8289-4d3f-b97b-cc677f9dc8c8/adapters/1/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/08907920-9653-45e4-b5c6-94bbca78b809/adapters/1/ports/0/nio HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:50 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:32 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/62493495-be49-416b-8761-4d9ed3709a80/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aaf3a28e-833c-449b-9670-b514ee746549/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/62493495-be49-416b-8761-4d9ed3709a80/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/aaf3a28e-833c-449b-9670-b514ee746549/adapters/0/ports/0/nio HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:39 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/07f5aea7-ca70-4efb-b103-1033630ca889'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9adab99-ab1b-4a1d-8b45-fd3510f160bc'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/07f5aea7-ca70-4efb-b103-1033630ca889 HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9adab99-ab1b-4a1d-8b45-fd3510f160bc HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:55 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:43 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f663baf3-b84f-4ad0-a8b8-b8a43ebd8a2d/adapters/0/ports/0/nio'
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e5994674-7209-4ee0-af3a-b7f77e344de2/adapters/0/ports/0/nio'
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/f663baf3-b84f-4ad0-a8b8-b8a43ebd8a2d/adapters/0/ports/0/nio HTTP/1.1
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e5994674-7209-4ee0-af3a-b7f77e344de2/adapters/0/ports/0/nio HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:54 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:41 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio

View File

@ -6,10 +6,10 @@ GET /v2/compute/capabilities HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 348
Content-Length: 347
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:06:59 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/capabilities
{
@ -29,5 +29,5 @@ X-Route: /v2/compute/capabilities
"iou"
],
"platform": "linuxdebian",
"version": "2.0.0dev11"
"version": "2.1.0dev1"
}

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 149
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:14 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/iou/images
[

View File

@ -6,10 +6,10 @@ GET /v2/compute/network/interfaces HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 5665
Content-Length: 3969
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:46 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:19 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/network/interfaces
[
@ -85,78 +85,6 @@ X-Route: /v2/compute/network/interfaces
"special": false,
"type": "ethernet"
},
{
"id": "vboxnet0",
"ip_address": "",
"mac_address": "0a:00:27:00:00:00",
"name": "vboxnet0",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet1",
"ip_address": "",
"mac_address": "0a:00:27:00:00:01",
"name": "vboxnet1",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "vboxnet2",
"ip_address": "",
"mac_address": "0a:00:27:00:00:02",
"name": "vboxnet2",
"netmask": "",
"special": true,
"type": "ethernet"
},
{
"id": "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": "",
"mac_address": "0a:00:27:00:00:05",
"name": "vboxnet5",
"netmask": "",
"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",

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 198
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:47 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:22 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects
[

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 80
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:46 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:21 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}
{

View File

@ -1,15 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/689c58e7-9112-4d4f-b5ea-37c5b478c332'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6e8d100d-88bb-4f15-8750-d4fa9c614314'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/689c58e7-9112-4d4f-b5ea-37c5b478c332 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/6e8d100d-88bb-4f15-8750-d4fa9c614314 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 3855
Content-Length: 2951
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:06:59 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
{
@ -54,46 +54,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"special": false,
"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,
@ -146,8 +106,8 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
}
],
"name": "Cloud 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/builtin/689c58e7-9112-4d4f-b5ea-37c5b478c332",
"node_id": "689c58e7-9112-4d4f-b5ea-37c5b478c332",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/builtin/6e8d100d-88bb-4f15-8750-d4fa9c614314",
"node_id": "6e8d100d-88bb-4f15-8750-d4fa9c614314",
"ports_mapping": [
{
"interface": "en0",

View File

@ -1,15 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/61f62c73-8480-4598-92ec-178b2046a5da'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3719606a-bb6a-4a9d-b58d-6ca9e81d4cc2'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/61f62c73-8480-4598-92ec-178b2046a5da HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/3719606a-bb6a-4a9d-b58d-6ca9e81d4cc2 HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 768
Content-Length: 640
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:43 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:08 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
{
@ -20,17 +20,13 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/iou/61f62c73-8480-4598-92ec-178b2046a5da",
"node_id": "61f62c73-8480-4598-92ec-178b2046a5da",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/iou/3719606a-bb6a-4a9d-b58d-6ca9e81d4cc2",
"node_id": "3719606a-bb6a-4a9d-b58d-6ca9e81d4cc2",
"nvram": 128,
"path": "iou.bin",
"private_config": null,
"private_config_content": null,
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 256,
"serial_adapters": 2,
"startup_config": null,
"startup_config_content": null,
"status": "stopped",
"use_default_iou_values": true
}

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/cd149043-78a0-4fda-aa96-e74c3abd90e8'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/82feae22-4a86-4664-ac99-5b694c99bfd8'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/cd149043-78a0-4fda-aa96-e74c3abd90e8 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/82feae22-4a86-4664-ac99-5b694c99bfd8 HTTP/1.1
@ -8,13 +8,13 @@ HTTP/1.1 200
Connection: close
Content-Length: 335
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:15 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
{
"name": "Nat 1",
"node_id": "cd149043-78a0-4fda-aa96-e74c3abd90e8",
"node_id": "82feae22-4a86-4664-ac99-5b694c99bfd8",
"ports_mapping": [
{
"interface": "virbr0",

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6bdb5099-446a-43c4-9734-a2037011df6b'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c3f10549-f4ca-45cb-9831-6aeda28c5ffa'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/6bdb5099-446a-43c4-9734-a2037011df6b HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c3f10549-f4ca-45cb-9831-6aeda28c5ffa HTTP/1.1
@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 1468
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:48 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:27 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
{
@ -44,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:df:6b:00",
"mac_address": "00:dd:80:5f:fa:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/6bdb5099-446a-43c4-9734-a2037011df6b",
"node_id": "6bdb5099-446a-43c4-9734-a2037011df6b",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/c3f10549-f4ca-45cb-9831-6aeda28c5ffa",
"node_id": "c3f10549-f4ca-45cb-9831-6aeda28c5ffa",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/29d6dc03-42e5-4c3b-9892-4e69a3dbac7c'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2901742a-3226-4ac7-96a1-85be8dd885d5'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/29d6dc03-42e5-4c3b-9892-4e69a3dbac7c HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2901742a-3226-4ac7-96a1-85be8dd885d5 HTTP/1.1
@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 465
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:52 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:37 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
{
@ -22,7 +22,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
"linked_clone": false,
"name": "VMTEST",
"node_directory": null,
"node_id": "29d6dc03-42e5-4c3b-9892-4e69a3dbac7c",
"node_id": "2901742a-3226-4ac7-96a1-85be8dd885d5",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",

View File

@ -1,15 +1,15 @@
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8adc20e6-687b-4246-a470-be4a171ebd98'
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ccb9b060-d1b7-4c90-a567-4fdb15ffe05f'
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8adc20e6-687b-4246-a470-be4a171ebd98 HTTP/1.1
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ccb9b060-d1b7-4c90-a567-4fdb15ffe05f HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 489
Content-Length: 428
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:39 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
{
@ -17,10 +17,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
"console": 5004,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/8adc20e6-687b-4246-a470-be4a171ebd98",
"node_id": "8adc20e6-687b-4246-a470-be4a171ebd98",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/ccb9b060-d1b7-4c90-a567-4fdb15ffe05f",
"node_id": "ccb9b060-d1b7-4c90-a567-4fdb15ffe05f",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,
"status": "stopped"
}

View File

@ -12,8 +12,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 212
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:50 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:32 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/qemu/binaries
[

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 39
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:51 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:35 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/qemu/capabilities
{

View File

@ -6,13 +6,13 @@ GET /v2/compute/version HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 50
Content-Length: 49
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:51 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:36 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/version
{
"local": true,
"version": "2.0.0dev11"
"version": "2.1.0dev1"
}

View File

@ -11,8 +11,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 80
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:46 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:20 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects
{

View File

@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:47 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:24 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/close

View File

@ -8,10 +8,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/
HTTP/1.1 201
Connection: close
Content-Length: 3855
Content-Length: 2951
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:06:59 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes
{
@ -56,46 +56,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
"special": false,
"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,
@ -148,8 +108,8 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
}
],
"name": "Cloud 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/builtin/c435790d-867a-4e10-8c1c-7faa9b0f8700",
"node_id": "c435790d-867a-4e10-8c1c-7faa9b0f8700",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/builtin/d3c99fe4-9f9c-4667-add5-2e37a75dbbb1",
"node_id": "d3c99fe4-9f9c-4667-add5-2e37a75dbbb1",
"ports_mapping": [
{
"interface": "en0",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/91f7220f-e7da-4f00-b5bc-ef63c70b9f5b/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/2cd925a3-2a7f-4d92-bd2d-f0fbf93f0bc8/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/91f7220f-e7da-4f00-b5bc-ef63c70b9f5b/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/2cd925a3-2a7f-4d92-bd2d-f0fbf93f0bc8/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:40 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:06:59 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/798507d5-9725-4bfa-945b-6a22d6c80f0f/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/63fcdc24-7a76-4ad3-a47a-08f3c54fd574/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/798507d5-9725-4bfa-945b-6a22d6c80f0f/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/63fcdc24-7a76-4ad3-a47a-08f3c54fd574/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:42 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:04 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/fd243cd9-627a-4aa5-89af-b935882611e5/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/389b8efd-70d1-4305-a1e0-5ea3bb3e647c/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/fd243cd9-627a-4aa5-89af-b935882611e5/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/389b8efd-70d1-4305-a1e0-5ea3bb3e647c/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@ -11,10 +11,10 @@ HTTP/1.1 200
Connection: close
Content-Length: 145
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:42 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:06 GMT
Server: Python/3.6 GNS3/2.1.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-51/test_json5/tmp/captures/test.pcap"
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/tmp/captures/test.pcap"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c58d8241-4b6c-439a-95dd-b259d221df8c/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/4b535824-c72f-484b-a5c5-da2e67e908f2/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/c58d8241-4b6c-439a-95dd-b259d221df8c/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/4b535824-c72f-484b-a5c5-da2e67e908f2/adapters/0/ports/0/stop_capture HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:42 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:06 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture

View File

@ -1,9 +1,9 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "fc04f13f-c54d-421e-9a05-bb2fcc16857a", "path": "iou.bin", "startup_config_content": "hostname test"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "adb7de66-2415-44b5-8a84-2dc5fdee6979", "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": "fc04f13f-c54d-421e-9a05-bb2fcc16857a",
"node_id": "adb7de66-2415-44b5-8a84-2dc5fdee6979",
"path": "iou.bin",
"startup_config_content": "hostname test"
}
@ -11,10 +11,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.
HTTP/1.1 201
Connection: close
Content-Length: 792
Content-Length: 640
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:43 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:08 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes
{
@ -25,17 +25,13 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/iou/fc04f13f-c54d-421e-9a05-bb2fcc16857a",
"node_id": "fc04f13f-c54d-421e-9a05-bb2fcc16857a",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/iou/adb7de66-2415-44b5-8a84-2dc5fdee6979",
"node_id": "adb7de66-2415-44b5-8a84-2dc5fdee6979",
"nvram": 128,
"path": "iou.bin",
"private_config": null,
"private_config_content": null,
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 256,
"serial_adapters": 2,
"startup_config": "startup-config.cfg",
"startup_config_content": "echo hello",
"status": "stopped",
"use_default_iou_values": true
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1120208e-153d-4328-bf77-7c87de8b14d2/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/eb58fbf6-61da-4b9f-9d3d-114fc01b2819/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1120208e-153d-4328-bf77-7c87de8b14d2/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/eb58fbf6-61da-4b9f-9d3d-114fc01b2819/adapters/1/ports/0/nio HTTP/1.1
{
"ethernet_device": "bridge0",
"type": "nio_ethernet"
@ -11,8 +11,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 64
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:44 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:11 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9593ac62-eb3a-4f09-b351-90c26ed94b7e/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/77839213-c55a-484c-98a3-2bf0d2893352/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9593ac62-eb3a-4f09-b351-90c26ed94b7e/adapters/0/ports/0/start_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/77839213-c55a-484c-98a3-2bf0d2893352/adapters/0/ports/0/start_capture HTTP/1.1
{
"capture_file_name": "test.pcap",
"data_link_type": "DLT_EN10MB"
@ -11,10 +11,10 @@ HTTP/1.1 200
Connection: close
Content-Length: 145
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:13 GMT
Server: Python/3.6 GNS3/2.1.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-51/test_json5/tmp/captures/test.pcap"
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/tmp/captures/test.pcap"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/61d07cd7-336f-43c9-8d54-148cf0b7cb49/adapters/0/ports/0/stop_capture' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d11f7bfb-6250-4d9d-ae8d-a3d152c3de7c/adapters/0/ports/0/stop_capture' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/61d07cd7-336f-43c9-8d54-148cf0b7cb49/adapters/0/ports/0/stop_capture HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d11f7bfb-6250-4d9d-ae8d-a3d152c3de7c/adapters/0/ports/0/stop_capture HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:14 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/18fbfbba-4ccd-43e7-9f8b-5555e224809c/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d1e486ba-72d8-4fd3-a5fe-b2f4bcdb353b/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/18fbfbba-4ccd-43e7-9f8b-5555e224809c/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/d1e486ba-72d8-4fd3-a5fe-b2f4bcdb353b/reload HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:44 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:09 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/22195b00-9af2-48d0-9e98-7f31463c7fd2/start' -d '{"iourc_content": "test"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/866ec4e8-835c-41bc-ae06-ef3aefc3133c/start' -d '{"iourc_content": "test"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/22195b00-9af2-48d0-9e98-7f31463c7fd2/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/866ec4e8-835c-41bc-ae06-ef3aefc3133c/start HTTP/1.1
{
"iourc_content": "test"
}
@ -8,10 +8,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/22195b0
HTTP/1.1 200
Connection: close
Content-Length: 768
Content-Length: 640
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:43 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:09 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
{
@ -22,17 +22,13 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
"l1_keepalives": false,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "PC TEST 1",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/iou/22195b00-9af2-48d0-9e98-7f31463c7fd2",
"node_id": "22195b00-9af2-48d0-9e98-7f31463c7fd2",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/iou/866ec4e8-835c-41bc-ae06-ef3aefc3133c",
"node_id": "866ec4e8-835c-41bc-ae06-ef3aefc3133c",
"nvram": 128,
"path": "iou.bin",
"private_config": null,
"private_config_content": null,
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 256,
"serial_adapters": 2,
"startup_config": null,
"startup_config_content": null,
"status": "stopped",
"use_default_iou_values": true
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7b8cc3ee-4ed4-425b-85e4-673b79804390/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/a11a0e08-4013-4727-b16b-29e92fc6f7cf/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7b8cc3ee-4ed4-425b-85e4-673b79804390/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/a11a0e08-4013-4727-b16b-29e92fc6f7cf/stop HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:43 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:09 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop

View File

@ -10,13 +10,13 @@ HTTP/1.1 201
Connection: close
Content-Length: 335
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:15 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes
{
"name": "Nat 1",
"node_id": "681a2b8d-0213-4851-9a40-9ecd68165e8e",
"node_id": "0bfda9f4-d320-437b-ad78-524022eb0ea7",
"ports_mapping": [
{
"interface": "virbr0",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b952ac47-f2b1-4683-8e67-84b35c017b4e/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/87b491bd-60dd-44d1-a2d3-98859e4a9c8d/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/b952ac47-f2b1-4683-8e67-84b35c017b4e/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/87b491bd-60dd-44d1-a2d3-98859e4a9c8d/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:45 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:16 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -8,8 +8,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 25
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:46 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:18 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/ports/udp
{

View File

@ -1,10 +1,10 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64", "ram": 1024}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/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/tmp9s3gyopf/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
"ram": 1024
}
@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 1514
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:48 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:26 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes
{
@ -49,15 +49,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:71:32:00",
"mac_address": "00:dd:80:08:57:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/e49b7703-f596-4e60-9e30-f5bc6f917132",
"node_id": "e49b7703-f596-4e60-9e30-f5bc6f917132",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/8f66a9c3-60bd-4a10-8feb-73e3341f0857",
"node_id": "8f66a9c3-60bd-4a10-8feb-73e3341f0857",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a6011c49-adf8-4e1e-8731-4c963315f662/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3a264a0f-bcdc-4c4e-b28f-ab27486dacf0/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a6011c49-adf8-4e1e-8731-4c963315f662/adapters/1/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3a264a0f-bcdc-4c4e-b28f-ab27486dacf0/adapters/1/ports/0/nio HTTP/1.1
{
"ethernet_device": "eth0",
"type": "nio_ethernet"
@ -11,8 +11,8 @@ HTTP/1.1 409
Connection: close
Content-Length: 81
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:50 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:31 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/64933f6c-e8cb-480c-81a2-075de93d09d9/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c081c6f2-a073-410d-a182-a99fee27f1a2/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/64933f6c-e8cb-480c-81a2-075de93d09d9/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/c081c6f2-a073-410d-a182-a99fee27f1a2/reload HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:49 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:28 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/84a63d18-61c2-4a77-97eb-4d54b19b8825/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f21573b-5ec1-401d-84a7-803d19f11b8c/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/84a63d18-61c2-4a77-97eb-4d54b19b8825/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/1f21573b-5ec1-401d-84a7-803d19f11b8c/resume HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:49 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:29 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0ec7c554-3bc6-42e2-9284-11b6b1e51db1/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ee86570c-7cc3-4c9d-95a7-55fbb442fd43/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0ec7c554-3bc6-42e2-9284-11b6b1e51db1/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/ee86570c-7cc3-4c9d-95a7-55fbb442fd43/start HTTP/1.1
{}
@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 1468
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:48 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:27 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
{
@ -44,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:1d:b1:00",
"mac_address": "00:dd:80:fd:43:00",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/0ec7c554-3bc6-42e2-9284-11b6b1e51db1",
"node_id": "0ec7c554-3bc6-42e2-9284-11b6b1e51db1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/ee86570c-7cc3-4c9d-95a7-55fbb442fd43",
"node_id": "ee86570c-7cc3-4c9d-95a7-55fbb442fd43",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
"ram": 256,
"status": "stopped",
"usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0c174db5-a2c4-464f-98e7-153b83532e35/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/96005c5e-f02b-433b-a826-92d8cb52ebe8/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0c174db5-a2c4-464f-98e7-153b83532e35/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/96005c5e-f02b-433b-a826-92d8cb52ebe8/stop HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:48 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:28 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3668274c-d74e-4f59-ab74-ab52442ccf61/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3faa953d-5669-40a0-8ede-8e6671e506fe/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3668274c-d74e-4f59-ab74-ab52442ccf61/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/3faa953d-5669-40a0-8ede-8e6671e506fe/suspend HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:49 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:28 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend

View File

@ -12,8 +12,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 459
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:52 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:36 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
{
@ -26,7 +26,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
"linked_clone": false,
"name": "VM1",
"node_directory": null,
"node_id": "4c74d21f-6af2-4fde-82a6-5e15c3037dd8",
"node_id": "9e2ac63a-073c-4a24-aeac-f61357a5f90f",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/950553f4-1f4c-4d47-ab35-b00817c9dae9/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/96f83848-0576-4ef0-ae34-59e94f151aa9/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/950553f4-1f4c-4d47-ab35-b00817c9dae9/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/96f83848-0576-4ef0-ae34-59e94f151aa9/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:38 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a89cbf17-8504-4590-a4db-214adf91b473/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2266dbe5-4a29-42e2-8b96-4fcd5f53ead0/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a89cbf17-8504-4590-a4db-214adf91b473/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/2266dbe5-4a29-42e2-8b96-4fcd5f53ead0/reload HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:38 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b11da8d7-abb5-401e-a53a-3ce767c1a1bb/resume' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/648ab272-9340-4b8c-ac48-1ab94d347414/resume' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b11da8d7-abb5-401e-a53a-3ce767c1a1bb/resume HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/648ab272-9340-4b8c-ac48-1ab94d347414/resume HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:37 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0e7a38fe-7626-4d75-a545-8b0764472eec/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5fb0ae01-4a89-4441-ab26-387d99e59966/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0e7a38fe-7626-4d75-a545-8b0764472eec/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/5fb0ae01-4a89-4441-ab26-387d99e59966/start HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:52 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:37 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/23d775e8-6206-4f15-9bad-3cc5c75dd219/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/691076a7-5d1c-47b2-b100-7e3eda812e42/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/23d775e8-6206-4f15-9bad-3cc5c75dd219/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/691076a7-5d1c-47b2-b100-7e3eda812e42/stop HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:52 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:37 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b3e67522-dd20-4bde-b2e8-43e815d65b6d/suspend' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4928f9c9-5741-47ad-8dc3-6478e5a2d2cc/suspend' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/b3e67522-dd20-4bde-b2e8-43e815d65b6d/suspend HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/4928f9c9-5741-47ad-8dc3-6478e5a2d2cc/suspend HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:52 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:37 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend

View File

@ -8,10 +8,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes HTTP/1
HTTP/1.1 201
Connection: close
Content-Length: 489
Content-Length: 428
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:39 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
{
@ -19,10 +19,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
"console": 5004,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/54184038-3552-4386-8a8d-7c13080fae06",
"node_id": "54184038-3552-4386-8a8d-7c13080fae06",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/688b1a5e-3b12-40f4-aa70-bf640ca20f5f",
"node_id": "688b1a5e-3b12-40f4-aa70-bf640ca20f5f",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,
"status": "stopped"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ed43313f-0b29-44a2-9183-a3703fe1aad0/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/841d8150-2de9-4673-92bb-2d87dcca1f88/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ed43313f-0b29-44a2-9183-a3703fe1aad0/adapters/0/ports/0/nio HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/841d8150-2de9-4673-92bb-2d87dcca1f88/adapters/0/ports/0/nio HTTP/1.1
{
"lport": 4242,
"rhost": "127.0.0.1",
@ -13,8 +13,8 @@ HTTP/1.1 201
Connection: close
Content-Length: 89
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:54 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:40 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
{

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cfdc8b6c-4254-4f9c-9095-7886c4b8894a/reload' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fd6608b1-f731-4031-ba37-4f1dfaf461dd/reload' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cfdc8b6c-4254-4f9c-9095-7886c4b8894a/reload HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/fd6608b1-f731-4031-ba37-4f1dfaf461dd/reload HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:54 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:43 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload

View File

@ -1,15 +1,15 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/27e35650-731f-48a5-a318-92e2c00031a8/start' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c8ead56f-2107-4183-837e-ee2be3d07942/start' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/27e35650-731f-48a5-a318-92e2c00031a8/start HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/c8ead56f-2107-4183-837e-ee2be3d07942/start HTTP/1.1
{}
HTTP/1.1 200
Connection: close
Content-Length: 489
Content-Length: 428
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:54 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:42 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
{
@ -17,10 +17,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
"console": 5004,
"console_type": "telnet",
"name": "PC TEST 1",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/27e35650-731f-48a5-a318-92e2c00031a8",
"node_id": "27e35650-731f-48a5-a318-92e2c00031a8",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/c8ead56f-2107-4183-837e-ee2be3d07942",
"node_id": "c8ead56f-2107-4183-837e-ee2be3d07942",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,
"status": "stopped"
}

View File

@ -1,6 +1,6 @@
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bbe7cc55-ef05-4ae9-9d4c-b4aad8468c85/stop' -d '{}'
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0c6a1651-5d3e-48c1-8f2f-9bd79aef0aae/stop' -d '{}'
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/bbe7cc55-ef05-4ae9-9d4c-b4aad8468c85/stop HTTP/1.1
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/0c6a1651-5d3e-48c1-8f2f-9bd79aef0aae/stop HTTP/1.1
{}
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:54 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:43 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop

View File

@ -17,7 +17,7 @@ HTTP/1.1 201
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:51 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:35 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/qemu/img

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/35d71fe5-356d-440e-a170-d88e35258f06' -d '{"name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/4631238a-cc6f-42f4-919e-564e00b9daf5' -d '{"name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/35d71fe5-356d-440e-a170-d88e35258f06 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/4631238a-cc6f-42f4-919e-564e00b9daf5 HTTP/1.1
{
"name": "test"
}
@ -8,10 +8,10 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/35d71f
HTTP/1.1 200
Connection: close
Content-Length: 3852
Content-Length: 2948
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:41 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:00 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
{
@ -56,46 +56,6 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
"special": false,
"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,
@ -148,8 +108,8 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
}
],
"name": "test",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/builtin/35d71fe5-356d-440e-a170-d88e35258f06",
"node_id": "35d71fe5-356d-440e-a170-d88e35258f06",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/builtin/4631238a-cc6f-42f4-919e-564e00b9daf5",
"node_id": "4631238a-cc6f-42f4-919e-564e00b9daf5",
"ports_mapping": [
{
"interface": "en0",

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8df7b67d-41b8-48b7-a8b3-f25248b9af21' -d '{"console": 5006, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/bc7e5ef2-dce1-4a8e-8e00-2269b3b31f8c' -d '{"console": 5006, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8df7b67d-41b8-48b7-a8b3-f25248b9af21 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/bc7e5ef2-dce1-4a8e-8e00-2269b3b31f8c HTTP/1.1
{
"console": 5006,
"environment": "GNS3=1\nGNS4=0",
@ -13,8 +13,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 653
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:42 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:05 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
{
@ -29,8 +29,8 @@ X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
"environment": "GNS3=1\nGNS4=0",
"image": "nginx:latest",
"name": "test",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/docker/8df7b67d-41b8-48b7-a8b3-f25248b9af21",
"node_id": "8df7b67d-41b8-48b7-a8b3-f25248b9af21",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/docker/bc7e5ef2-dce1-4a8e-8e00-2269b3b31f8c",
"node_id": "bc7e5ef2-dce1-4a8e-8e00-2269b3b31f8c",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"start_command": "yes",
"status": "stopped"

View File

@ -1,26 +1,24 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8b936d3d-8b50-437f-a205-15ce77fd4240' -d '{"console": 5005, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e01d02c6-735e-4523-bb83-5ea11ecc97f7' -d '{"console": 5005, "ethernet_adapters": 4, "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "use_default_iou_values": true}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/8b936d3d-8b50-437f-a205-15ce77fd4240 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/e01d02c6-735e-4523-bb83-5ea11ecc97f7 HTTP/1.1
{
"console": 5005,
"ethernet_adapters": 4,
"iourc_content": "test",
"l1_keepalives": true,
"name": "test",
"nvram": 2048,
"ram": 512,
"serial_adapters": 0,
"startup_config_content": "hostname test",
"use_default_iou_values": true
}
HTTP/1.1 200
Connection: close
Content-Length: 790
Content-Length: 635
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:44 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:10 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
{
@ -31,17 +29,13 @@ X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
"l1_keepalives": true,
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
"name": "test",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_json5/project-files/iou/8b936d3d-8b50-437f-a205-15ce77fd4240",
"node_id": "8b936d3d-8b50-437f-a205-15ce77fd4240",
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_json4/project-files/iou/e01d02c6-735e-4523-bb83-5ea11ecc97f7",
"node_id": "e01d02c6-735e-4523-bb83-5ea11ecc97f7",
"nvram": 2048,
"path": "iou.bin",
"private_config": null,
"private_config_content": null,
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 512,
"serial_adapters": 0,
"startup_config": "startup-config.cfg",
"startup_config_content": "hostname test",
"status": "stopped",
"use_default_iou_values": true
}

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/94f5a8c9-1e9e-42b0-bbba-5937d05c9c24' -d '{"name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/41808a1f-4259-44e1-904c-bc785c285677' -d '{"name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/94f5a8c9-1e9e-42b0-bbba-5937d05c9c24 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/41808a1f-4259-44e1-904c-bc785c285677 HTTP/1.1
{
"name": "test"
}
@ -10,13 +10,13 @@ HTTP/1.1 200
Connection: close
Content-Length: 334
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:46 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:18 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
{
"name": "test",
"node_id": "94f5a8c9-1e9e-42b0-bbba-5937d05c9c24",
"node_id": "41808a1f-4259-44e1-904c-bc785c285677",
"ports_mapping": [
{
"interface": "virbr0",

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a88ca6cb-fea5-40c2-ada6-73f056e94eb7' -d '{"console": 5006, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4f507333-8f47-4e28-80c0-431412e17452' -d '{"console": 5006, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a88ca6cb-fea5-40c2-ada6-73f056e94eb7 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4f507333-8f47-4e28-80c0-431412e17452 HTTP/1.1
{
"console": 5006,
"hdb_disk_image": "linux\u8f7d.img",
@ -13,8 +13,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 1509
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:49 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:29 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
{
@ -49,15 +49,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
"kernel_image": "",
"kernel_image_md5sum": null,
"legacy_networking": false,
"mac_address": "00:dd:80:4e:b7:00",
"mac_address": "00:dd:80:74:52:00",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/a88ca6cb-fea5-40c2-ada6-73f056e94eb7",
"node_id": "a88ca6cb-fea5-40c2-ada6-73f056e94eb7",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/4f507333-8f47-4e28-80c0-431412e17452",
"node_id": "4f507333-8f47-4e28-80c0-431412e17452",
"options": "",
"platform": "x86_64",
"process_priority": "low",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp9s3gyopf/qemu-system-x86_64",
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp47ntn6ne/qemu-system-x86_64",
"ram": 1024,
"status": "stopped",
"usage": ""

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/26188067-49b1-40f6-8b2c-11ed74c7ac18' -d '{"console": 5005, "name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/39302861-c326-48fe-a44d-d3c9582d5354' -d '{"console": 5005, "name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/26188067-49b1-40f6-8b2c-11ed74c7ac18 HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/39302861-c326-48fe-a44d-d3c9582d5354 HTTP/1.1
{
"console": 5005,
"name": "test"
@ -11,8 +11,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 463
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:53 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:39 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
{
@ -25,7 +25,7 @@ X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
"linked_clone": false,
"name": "test",
"node_directory": null,
"node_id": "26188067-49b1-40f6-8b2c-11ed74c7ac18",
"node_id": "39302861-c326-48fe-a44d-d3c9582d5354",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"ram": 0,
"status": "stopped",

View File

@ -1,6 +1,6 @@
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/550cc2b9-d124-467d-9407-3754c6bc287d' -d '{"console": 5006, "name": "test"}'
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8a66c0b3-f8d7-44e8-aa03-12d5e14c7387' -d '{"console": 5006, "name": "test"}'
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/550cc2b9-d124-467d-9407-3754c6bc287d HTTP/1.1
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8a66c0b3-f8d7-44e8-aa03-12d5e14c7387 HTTP/1.1
{
"console": 5006,
"name": "test"
@ -9,10 +9,10 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/550cc2b
HTTP/1.1 200
Connection: close
Content-Length: 484
Content-Length: 423
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:55 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:43 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
{
@ -20,10 +20,8 @@ X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
"console": 5006,
"console_type": "telnet",
"name": "test",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp0ha7d1aj/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/550cc2b9-d124-467d-9407-3754c6bc287d",
"node_id": "550cc2b9-d124-467d-9407-3754c6bc287d",
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpogl9mqkr/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/8a66c0b3-f8d7-44e8-aa03-12d5e14c7387",
"node_id": "8a66c0b3-f8d7-44e8-aa03-12d5e14c7387",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"startup_script": null,
"startup_script_path": null,
"status": "stopped"
}

View File

@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:55 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:46 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/computes/{compute_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/1dec0fc5-4480-403e-b86a-3c356920a828'
curl -i -X DELETE 'http://localhost:3080/v2/projects/e30c8eb4-c08f-4a5e-836e-c885a0a816ad'
DELETE /v2/projects/1dec0fc5-4480-403e-b86a-3c356920a828 HTTP/1.1
DELETE /v2/projects/e30c8eb4-c08f-4a5e-836e-c885a0a816ad HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:32:02 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:08:03 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/24ef7002-5dd6-4054-bf8a-d2aface0885e/drawings/b2f8b12f-a4cc-4621-affc-cf3dcd4ba513'
curl -i -X DELETE 'http://localhost:3080/v2/projects/9e3eaf56-ac31-4b2f-a84f-b3874b0fc0b9/drawings/f5852a28-616a-4e2c-a288-2184daecd0dc'
DELETE /v2/projects/24ef7002-5dd6-4054-bf8a-d2aface0885e/drawings/b2f8b12f-a4cc-4621-affc-cf3dcd4ba513 HTTP/1.1
DELETE /v2/projects/9e3eaf56-ac31-4b2f-a84f-b3874b0fc0b9/drawings/f5852a28-616a-4e2c-a288-2184daecd0dc HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:56 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:49 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/drawings/{drawing_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/42a1b682-b5bf-4de4-b5af-5366fc20a111/links/105966d0-8a04-4cf5-95a4-ff13f1de7660'
curl -i -X DELETE 'http://localhost:3080/v2/projects/0e7e02c1-1864-46e3-a0ec-de2d3860ed66/links/998e514e-d9a3-4de5-a940-13845f96fe55'
DELETE /v2/projects/42a1b682-b5bf-4de4-b5af-5366fc20a111/links/105966d0-8a04-4cf5-95a4-ff13f1de7660 HTTP/1.1
DELETE /v2/projects/0e7e02c1-1864-46e3-a0ec-de2d3860ed66/links/998e514e-d9a3-4de5-a940-13845f96fe55 HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:31:58 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:54 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/links/{link_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/856d9a5f-f0fc-4a14-ab9c-6cd61abde4f6/nodes/5d7c89f2-3a82-4ad5-918d-798dc70aefb3'
curl -i -X DELETE 'http://localhost:3080/v2/projects/f4a68c15-6212-45a0-9760-14d0f8aa30a3/nodes/d52ba5ac-1806-4264-a77d-dac53c5bcd3a'
DELETE /v2/projects/856d9a5f-f0fc-4a14-ab9c-6cd61abde4f6/nodes/5d7c89f2-3a82-4ad5-918d-798dc70aefb3 HTTP/1.1
DELETE /v2/projects/f4a68c15-6212-45a0-9760-14d0f8aa30a3/nodes/d52ba5ac-1806-4264-a77d-dac53c5bcd3a HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:32:00 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:59 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/nodes/{node_id}

View File

@ -1,6 +1,6 @@
curl -i -X DELETE 'http://localhost:3080/v2/projects/c84befb2-e203-4357-9958-770bd92cb1f2/snapshots/c65dfead-1080-45a1-85bf-57b0fe5983a2'
curl -i -X DELETE 'http://localhost:3080/v2/projects/6f8d001b-2e78-4ce2-be41-2c09dc2c6d76/snapshots/ec35ee09-2bc2-4254-94a5-32d6ec6b16b9'
DELETE /v2/projects/c84befb2-e203-4357-9958-770bd92cb1f2/snapshots/c65dfead-1080-45a1-85bf-57b0fe5983a2 HTTP/1.1
DELETE /v2/projects/6f8d001b-2e78-4ce2-be41-2c09dc2c6d76/snapshots/ec35ee09-2bc2-4254-94a5-32d6ec6b16b9 HTTP/1.1
@ -8,7 +8,7 @@ HTTP/1.1 204
Connection: close
Content-Length: 0
Content-Type: application/octet-stream
Date: Tue, 21 Mar 2017 09:32:04 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:08:09 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/snapshots/{snapshot_id}

View File

@ -0,0 +1,96 @@
curl -i -X GET 'http://localhost:3080/v2/appliances'
GET /v2/appliances HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 2486
Content-Type: application/json
Date: Thu, 29 Jun 2017 15:07:43 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/appliances
[
{
"appliance_id": "39e257dc-8412-3174-b6b3-0ee3ed6a43e9",
"builtin": true,
"category": "guest",
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "Cloud",
"node_type": "cloud",
"symbol": ":/symbols/cloud.svg"
},
{
"appliance_id": "df8f4ea9-33b7-3e96-86a2-c39bc9bb649c",
"builtin": true,
"category": "guest",
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "NAT",
"node_type": "nat",
"symbol": ":/symbols/cloud.svg"
},
{
"appliance_id": "19021f99-e36f-394d-b4a1-8aaa902ab9cc",
"builtin": true,
"category": "guest",
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "VPCS",
"node_type": "vpcs",
"symbol": ":/symbols/vpcs_guest.svg"
},
{
"appliance_id": "1966b864-93e7-32d5-965f-001384eec461",
"builtin": true,
"category": "switch",
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "Ethernet switch",
"node_type": "ethernet_switch",
"symbol": ":/symbols/ethernet_switch.svg"
},
{
"appliance_id": "b4503ea9-d6b6-3695-9fe4-1db3b39290b0",
"builtin": true,
"category": "switch",
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "Ethernet hub",
"node_type": "ethernet_hub",
"symbol": ":/symbols/hub.svg"
},
{
"appliance_id": "dd0f6f3a-ba58-3249-81cb-a1dd88407a47",
"builtin": true,
"category": "switch",
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "Frame Relay switch",
"node_type": "frame_relay_switch",
"symbol": ":/symbols/frame_relay_switch.svg"
},
{
"appliance_id": "aaa764e2-b383-300f-8a0e-3493bbfdb7d2",
"builtin": true,
"category": "switch",
"compute_id": null,
"default_name_format": "{name}-{0}",
"name": "ATM switch",
"node_type": "atm_switch",
"symbol": ":/symbols/atm_switch.svg"
},
{
"appliance_id": "ae14fd22-8a2a-4bd0-a88d-86bd35744533",
"builtin": false,
"category": "router",
"compute_id": "local",
"default_name_format": "{name}-{0}",
"name": "test",
"node_type": "qemu",
"symbol": "guest.svg"
}
]

File diff suppressed because it is too large Load Diff

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 387
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:55 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:45 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/computes
[

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 334
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:55 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:45 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/computes/{compute_id}
{

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 2
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:56 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:47 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/computes/{compute_id}/{emulator}/{action:.+}
[]

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 95
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:55 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:47 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/computes/{compute_id}/{emulator}/images
[

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 148
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:57 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:50 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/gns3vm
{

View File

@ -6,15 +6,15 @@ GET /v2/gns3vm/engines HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 1110
Content-Length: 1106
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:57 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:50 GMT
Server: Python/3.6 GNS3/2.1.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.0dev11/GNS3.VM.VMware.Workstation.2.0.0dev11.zip\">downloaded here</a>.",
"description": "VMware is the recommended choice for best performances.<br>The GNS3 VM can be <a href=\"https://github.com/GNS3/gns3-gui/releases/download/v2.1.0dev1/GNS3.VM.VMware.Workstation.2.1.0dev1.zip\">downloaded here</a>.",
"engine_id": "vmware",
"name": "VMware Fusion",
"support_headless": true,
@ -22,7 +22,7 @@ X-Route: /v2/gns3vm/engines
"support_when_exit": true
},
{
"description": "VirtualBox doesn't support nested virtualization, this means running Qemu based VM could be very slow.<br>The GNS3 VM can be <a href=\"https://github.com/GNS3/gns3-gui/releases/download/v2.0.0dev11/GNS3.VM.VirtualBox.2.0.0dev11.zip\">downloaded here</a>",
"description": "VirtualBox doesn't support nested virtualization, this means running Qemu based VM could be very slow.<br>The GNS3 VM can be <a href=\"https://github.com/GNS3/gns3-gui/releases/download/v2.1.0dev1/GNS3.VM.VirtualBox.2.1.0dev1.zip\">downloaded here</a>",
"engine_id": "virtualbox",
"name": "VirtualBox",
"support_headless": true,

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 40
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:57 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:49 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/gns3vm/engines/{engine}/vms
[

View File

@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 428
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:32:01 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:08:03 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects
[
@ -19,7 +19,7 @@ X-Route: /v2/projects
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-51/test_list_projects1",
"path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-63/test_list_projects1",
"project_id": "00010203-0405-0607-0809-0a0b0c0d0e0f",
"scene_height": 1000,
"scene_width": 2000,

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/30013d5e-b284-4098-a12b-435d9ffdfc50'
curl -i -X GET 'http://localhost:3080/v2/projects/02002a90-7b38-4e25-939f-5718e6ff2f4b'
GET /v2/projects/30013d5e-b284-4098-a12b-435d9ffdfc50 HTTP/1.1
GET /v2/projects/02002a90-7b38-4e25-939f-5718e6ff2f4b HTTP/1.1
@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 379
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:32:02 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:08:03 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}
{
@ -18,8 +18,8 @@ X-Route: /v2/projects/{project_id}
"auto_start": false,
"filename": "test.gns3",
"name": "test",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpoa69sgpa/projects/30013d5e-b284-4098-a12b-435d9ffdfc50",
"project_id": "30013d5e-b284-4098-a12b-435d9ffdfc50",
"path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp_f3j_m7j/projects/02002a90-7b38-4e25-939f-5718e6ff2f4b",
"project_id": "02002a90-7b38-4e25-939f-5718e6ff2f4b",
"scene_height": 1000,
"scene_width": 2000,
"status": "opened"

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/adb641a0-8ec9-4b5a-b8df-cc993638c601/drawings'
curl -i -X GET 'http://localhost:3080/v2/projects/b23bbc6f-56fa-4954-8adc-45a074875bb8/drawings'
GET /v2/projects/adb641a0-8ec9-4b5a-b8df-cc993638c601/drawings HTTP/1.1
GET /v2/projects/b23bbc6f-56fa-4954-8adc-45a074875bb8/drawings HTTP/1.1
@ -8,14 +8,14 @@ HTTP/1.1 200
Connection: close
Content-Length: 363
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:56 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:49 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/drawings
[
{
"drawing_id": "377bccc0-779a-44b0-ab5e-98dfd6dc46cd",
"project_id": "adb641a0-8ec9-4b5a-b8df-cc993638c601",
"drawing_id": "1804b301-3f1d-47d6-b8cf-201c29ffcdc5",
"project_id": "b23bbc6f-56fa-4954-8adc-45a074875bb8",
"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,

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/19def516-231c-4a43-8fdb-1d49333c1f8e/links'
curl -i -X GET 'http://localhost:3080/v2/projects/a683bc42-6b18-4c1e-9497-23f11f5e60bc/links'
GET /v2/projects/19def516-231c-4a43-8fdb-1d49333c1f8e/links HTTP/1.1
GET /v2/projects/a683bc42-6b18-4c1e-9497-23f11f5e60bc/links HTTP/1.1
@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 1111
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:58 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:52 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/links
[
@ -17,7 +17,7 @@ X-Route: /v2/projects/{project_id}/links
"capture_file_name": null,
"capture_file_path": null,
"capturing": false,
"link_id": "9b74fb50-652a-47de-aa7a-f936fad2623a",
"link_id": "a810aca4-4e76-47a2-9a33-78dd3c5d0f21",
"link_type": "ethernet",
"nodes": [
{
@ -29,7 +29,7 @@ X-Route: /v2/projects/{project_id}/links
"x": -10,
"y": -10
},
"node_id": "009935d3-bb71-48ee-8f8c-4160ecf36a1f",
"node_id": "13eee57f-4240-43eb-89f0-3cbe635f98d7",
"port_number": 3
},
{
@ -41,10 +41,10 @@ X-Route: /v2/projects/{project_id}/links
"x": -10,
"y": -10
},
"node_id": "efd15e6d-cc6d-4b85-8e11-0389806f7231",
"node_id": "a2102f85-9ca9-451e-aa67-f4c0f3dfc0a6",
"port_number": 4
}
],
"project_id": "19def516-231c-4a43-8fdb-1d49333c1f8e"
"project_id": "a683bc42-6b18-4c1e-9497-23f11f5e60bc"
}
]

View File

@ -1,6 +1,6 @@
curl -i -X GET 'http://localhost:3080/v2/projects/387fb37d-314e-43b4-8fbd-4f1266662100/nodes'
curl -i -X GET 'http://localhost:3080/v2/projects/d6778aaa-bd4f-45c3-b2bb-8bfdd6bbe392/nodes'
GET /v2/projects/387fb37d-314e-43b4-8fbd-4f1266662100/nodes HTTP/1.1
GET /v2/projects/d6778aaa-bd4f-45c3-b2bb-8bfdd6bbe392/nodes HTTP/1.1
@ -8,8 +8,8 @@ HTTP/1.1 200
Connection: close
Content-Length: 1303
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:31:59 GMT
Server: Python/3.6 GNS3/2.0.0dev11
Date: Thu, 29 Jun 2017 15:07:55 GMT
Server: Python/3.6 GNS3/2.1.0dev1
X-Route: /v2/projects/{project_id}/nodes
[
@ -17,7 +17,7 @@ X-Route: /v2/projects/{project_id}/nodes
"command_line": null,
"compute_id": "example.com",
"console": 2048,
"console_host": "<MagicMock name='mock.console_host' id='4439344576'>",
"console_host": "<MagicMock name='mock.console_host' id='4713035200'>",
"console_type": null,
"first_port_name": null,
"height": 59,
@ -30,7 +30,7 @@ X-Route: /v2/projects/{project_id}/nodes
},
"name": "test",
"node_directory": null,
"node_id": "af74aa64-c387-4903-9879-16e5fe26c0df",
"node_id": "71a2b586-7c71-4dd5-8708-87e8fddca30d",
"node_type": "vpcs",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
@ -46,7 +46,7 @@ X-Route: /v2/projects/{project_id}/nodes
"short_name": "e0"
}
],
"project_id": "387fb37d-314e-43b4-8fbd-4f1266662100",
"project_id": "d6778aaa-bd4f-45c3-b2bb-8bfdd6bbe392",
"properties": {
"startup_script": "echo test"
},

Some files were not shown because too many files have changed in this diff Show More