mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-24 17:55:15 +00:00
Compare commits
744 Commits
Author | SHA1 | Date | |
---|---|---|---|
d2faaee099 | |||
6fee543ce7 | |||
2e40fb8608 | |||
d4f1084391 | |||
cf4477ce34 | |||
f525bd2ce1 | |||
bd8816d14c | |||
34acb1f185 | |||
7ded71142f | |||
c281f55fb2 | |||
e5e2b7a8ac | |||
30e8949985 | |||
393ac85bca | |||
9d9dc037d8 | |||
32f56feca2 | |||
5d86f06390 | |||
6789989cb9 | |||
ffc7024b64 | |||
ed275e4ec5 | |||
4143ee8178 | |||
88989cc274 | |||
ab6fe6da1d | |||
8b1c68a0b7 | |||
97cfb892a6 | |||
f9c7c15f95 | |||
5f14f8eb46 | |||
7c91e46812 | |||
6af64454d0 | |||
47ef7e2a5e | |||
927f7e6b9d | |||
9ca56964f5 | |||
e6d2bd4424 | |||
21a7a68875 | |||
ffe21f6b73 | |||
266916b092 | |||
8907b3d58a | |||
d80e01a9c5 | |||
5dd0414ab3 | |||
e8353e68bb | |||
23c63bbd4d | |||
dadf11f69b | |||
3efe753eee | |||
f48420af58 | |||
79bca29b93 | |||
0e4865e049 | |||
26567d9164 | |||
a8177d7afa | |||
a393e7f723 | |||
0df997d232 | |||
630afc5469 | |||
3e3e1df051 | |||
3a1ba8f42d | |||
0a72e0db87 | |||
e3b3427cc6 | |||
dde2003168 | |||
cfe8e9e85c | |||
1699ce5d1c | |||
d0850927d0 | |||
745532bf23 | |||
78cf0309a0 | |||
851fcf5c71 | |||
a80355998d | |||
e54d574e47 | |||
fe60c414b9 | |||
efbf7728ea | |||
061af38b5a | |||
f48549a997 | |||
958ab2294c | |||
dd89b09f84 | |||
642536a070 | |||
860ca3b35d | |||
96a0b52cf8 | |||
7c90c513d0 | |||
fe59c937d5 | |||
b48f5df53f | |||
3e2e8e61f7 | |||
068077c594 | |||
e08aebf1f0 | |||
cfbcc1194d | |||
035a078b5e | |||
cf14deb2fa | |||
e1fe34ca07 | |||
d3e55520d9 | |||
4477cd4dfd | |||
967798a7de | |||
61acb939a4 | |||
8c11b649e5 | |||
b14e2e73ed | |||
2235a8158f | |||
9afe756462 | |||
135c529d4b | |||
ce219e81ea | |||
c2684f056c | |||
009677f019 | |||
9c3ee02797 | |||
50c8fe070d | |||
ace7b0c69f | |||
255dc7ed9b | |||
75ceffb458 | |||
21c2429aee | |||
8cc04f25e2 | |||
815dca101f | |||
022d76e88a | |||
2c0804d4ee | |||
b2c5e175d7 | |||
a7412d1c87 | |||
2171072ae4 | |||
8fcfed53ed | |||
df468bf2af | |||
8930b4c6e5 | |||
b4307e6035 | |||
6a87047c18 | |||
d918330472 | |||
8fde8789f1 | |||
aaa8c4895f | |||
66d5cb520d | |||
d2a7f724e3 | |||
c7015435c9 | |||
44efab109e | |||
98b201e9e5 | |||
1f4b87ae9c | |||
bc782b6896 | |||
4cae6b678a | |||
3a5a771b19 | |||
44bb912139 | |||
74e7201ea6 | |||
4f13c63a52 | |||
02ad98664f | |||
b654d78ea6 | |||
244a86bcbc | |||
1524493c33 | |||
e52b83be11 | |||
0c7a92b710 | |||
67c78ba2e3 | |||
9619827f44 | |||
5b645cd455 | |||
7d19312d44 | |||
81048f44d6 | |||
be35ad6874 | |||
897f7656da | |||
3d85bba9d4 | |||
dbd41e44f8 | |||
7269285b0f | |||
2a4ed9ba89 | |||
a567b394f3 | |||
d76bcf7078 | |||
fcd2c7b6d4 | |||
60bc386d6b | |||
e1c8df170a | |||
cdfce26b61 | |||
f415d38ccd | |||
6a8f220ff1 | |||
9e4cfaf787 | |||
4a2dfb0037 | |||
b538bd0a29 | |||
36210b10c6 | |||
fd623a5ad2 | |||
e5a7eb74ed | |||
daf7ed8c95 | |||
1f87d8222b | |||
90e3a8d612 | |||
c22229101f | |||
ee486b32bd | |||
7492899b95 | |||
807bea40d4 | |||
4e3eee33fc | |||
a7297ffca4 | |||
2806b7b286 | |||
b0783eeccc | |||
4fc29504f2 | |||
efae614af2 | |||
7523e9c4bc | |||
3dd5dbe0c1 | |||
e15d1cd350 | |||
fc7377e999 | |||
3fd86f5807 | |||
fc9d44011b | |||
3a1fd892ac | |||
3caba334c0 | |||
e2de872036 | |||
44fc87a24c | |||
2dc83d7894 | |||
211f48d981 | |||
3bb8cdafb2 | |||
e74eaa8ea8 | |||
8a028a6dce | |||
1cde787ffa | |||
81d77cabf9 | |||
37c76189dc | |||
6996b7094f | |||
2eead38cd8 | |||
283b08c2a1 | |||
fc6b6b5e63 | |||
108a659ca4 | |||
7683a79bb1 | |||
103be13ba4 | |||
cc89099ea5 | |||
2e68c90e25 | |||
92c9e48f18 | |||
a93f3b0576 | |||
86bd7b6058 | |||
6aa6d96ba0 | |||
5dd5c21374 | |||
136e483ace | |||
d69475cd44 | |||
ac508435c3 | |||
bb90c0ba52 | |||
a805b3c7c3 | |||
f0343124ec | |||
27582bb68c | |||
6d4529f445 | |||
16209a2b60 | |||
01be1b32c4 | |||
6514252a95 | |||
faed85e48b | |||
34c27bc18a | |||
47e8392ceb | |||
a0a7b0af10 | |||
0854c04687 | |||
0449a5b4ee | |||
b37a282475 | |||
253e113168 | |||
87838cb574 | |||
ec4e69b0d8 | |||
c96694105c | |||
46e5e8ac68 | |||
b33ba5f8ea | |||
8354beaa86 | |||
27f733736e | |||
90cdf14c2a | |||
ca3f6fb4b8 | |||
5fd842e54d | |||
bce9c61e41 | |||
f5e023222e | |||
a7d2391608 | |||
7d123f334f | |||
c2fbe4f313 | |||
ac10ba370a | |||
fa211a82eb | |||
d9b13fb0c5 | |||
54faaf5f6f | |||
873418dbbe | |||
7b8e4c1a60 | |||
08d4c1a000 | |||
6d577406d7 | |||
536c708c16 | |||
03af9bd621 | |||
5b839c22e9 | |||
3487b657a7 | |||
23c3d32e06 | |||
f557ec4bda | |||
cf3b668cf1 | |||
e8a35ac41f | |||
03f8c747cc | |||
53c4cba1f6 | |||
9e2759a3f2 | |||
9d8a8c95f6 | |||
86f1201276 | |||
4a55a367e3 | |||
cf17176bfc | |||
2e592d3199 | |||
b37f9eb4f0 | |||
7c6ffb3f49 | |||
4a05a4f7c5 | |||
114b137b02 | |||
66d5d34877 | |||
04303ca00c | |||
fd0770158c | |||
5747aba83c | |||
c8155aa14f | |||
5f874cca2c | |||
fc87871d46 | |||
699ecb7c89 | |||
8a8de1e2df | |||
d525f721a6 | |||
357de50a1b | |||
450c089b6d | |||
8eb060304a | |||
d112da400e | |||
fcd7dfbde6 | |||
5112f6fe56 | |||
557924e91a | |||
c6f28afb7c | |||
7f4eeb56fa | |||
339ed8ab57 | |||
5bdc239064 | |||
3eadbb9adb | |||
d17b4eb053 | |||
8f260e0a83 | |||
e0f0adf3c8 | |||
8e8b8bc5a5 | |||
4097bab565 | |||
c6f9ec3758 | |||
dc7a9ffc51 | |||
08423eff96 | |||
dadbb0ab09 | |||
cc34f45677 | |||
3132dbd9eb | |||
b33a1f5214 | |||
8f72356bab | |||
63e9558b10 | |||
5b19ef4862 | |||
799a2d376e | |||
0a6dc55645 | |||
617868402f | |||
c1a4bba101 | |||
3c18150cdb | |||
931018b877 | |||
6aa2afcf54 | |||
a7170da93f | |||
1d09f423e5 | |||
1e37101641 | |||
bcdac6c969 | |||
3ed055dbb9 | |||
7447b3190d | |||
1b6cefd82b | |||
ad850f3857 | |||
0ceec2629a | |||
bc5ec98cd5 | |||
a8e8eac0b4 | |||
5a1d313fca | |||
e7853a1be9 | |||
36dc264a6c | |||
efd5d82c88 | |||
ea9f0e52c8 | |||
6730cfe823 | |||
2e6366a766 | |||
e5bc7c7a66 | |||
e1c20e6a22 | |||
734ca7d2f9 | |||
bb8097a052 | |||
8973cc6fee | |||
c8c991af78 | |||
61fda93611 | |||
88c2353e2e | |||
c91a001729 | |||
b8a4785633 | |||
41af46cdc5 | |||
64a852f38f | |||
5c0d955156 | |||
c1c3a9ed80 | |||
0dd35e1cbe | |||
7235a312ab | |||
ae328e5c50 | |||
40cc5d76b3 | |||
b9e2b7945a | |||
eb6068c3d3 | |||
c538ec5937 | |||
e0b519eced | |||
cdcdba7411 | |||
2fe589b1a8 | |||
ca3f8d0b43 | |||
88cd804274 | |||
6a0345897d | |||
7dfb634376 | |||
823288dd0b | |||
ed656b7ab2 | |||
e74e66b203 | |||
93adef91d8 | |||
6fa27c6885 | |||
07049562a4 | |||
5616ab0e9a | |||
4f6cca0019 | |||
7044c8c9ff | |||
7913646ce3 | |||
78e1321bae | |||
c46a9da769 | |||
89394ba7e0 | |||
b8ee8d69c8 | |||
ef5c013561 | |||
8bbe7e8041 | |||
777361c23d | |||
c3d5abd104 | |||
39879ca92b | |||
5a86277a9f | |||
b87692acce | |||
d765d02f06 | |||
5bb6c51698 | |||
59488e8064 | |||
54e80d68f8 | |||
2a8911d19e | |||
8b7209ea78 | |||
7d48eba01b | |||
1e598d1890 | |||
2191c487b6 | |||
3ed49bbdd5 | |||
82f1ab2be2 | |||
7d30da5d4e | |||
4dc55a5af4 | |||
bdd980d6a2 | |||
51d6152a5c | |||
bdcadcc335 | |||
624a2c02c5 | |||
189ad994c8 | |||
a4245fcf44 | |||
812ff6b5d8 | |||
f338158654 | |||
e9fef928b0 | |||
5c5caf8418 | |||
aff5554528 | |||
2a159c06c5 | |||
c231e2bbf1 | |||
e24bfd5913 | |||
f2d5eb0b27 | |||
bef1b2e8f1 | |||
39419462db | |||
ddc5e8169e | |||
cd17ef6b12 | |||
3dc478385b | |||
851d6e1db8 | |||
facdf9c617 | |||
70d34befb9 | |||
8696a464ab | |||
5721dd3f30 | |||
bf38a8515e | |||
942cc09eda | |||
9baaf5685d | |||
961dbb5162 | |||
19a6157f64 | |||
18cfcaa081 | |||
87d42f4eb9 | |||
766456014b | |||
f31e46e8ed | |||
633cdef0bc | |||
fb6a95f7bb | |||
93fe66a253 | |||
e870b0cfa0 | |||
b4467d83bf | |||
ac5509f383 | |||
050f6876ce | |||
2172c25df6 | |||
48dae085aa | |||
bfee08459d | |||
8a6584d90f | |||
6870749e50 | |||
3070a68273 | |||
bda36081a9 | |||
930e7089db | |||
04220846b3 | |||
694a4e8068 | |||
7ba351c888 | |||
ae3e25b03b | |||
fa1450cb24 | |||
8e5f7d0838 | |||
31d1696215 | |||
078a6d8d34 | |||
ecba758c58 | |||
6190b9c189 | |||
c88886911e | |||
56d91b648c | |||
1b0f5c63b8 | |||
a6d085bf61 | |||
b0f45035a9 | |||
273a711459 | |||
c3aecf935f | |||
629443a5e5 | |||
2da581139c | |||
1a90305baa | |||
effbe59414 | |||
8b9f22c30c | |||
c9ceeee9de | |||
78e030b7ab | |||
456a28304d | |||
11321383c5 | |||
d90a8fa482 | |||
2962649dc8 | |||
d9b93ccd66 | |||
37e21f2a3d | |||
c72ae1bfe7 | |||
54014ccd39 | |||
b4434b5134 | |||
691c2dfd8e | |||
36de30e25e | |||
3de04d6e76 | |||
51ef5d8c90 | |||
0d687e62ad | |||
0bf6ed52cd | |||
b152360c5b | |||
722028b2d2 | |||
25a992a870 | |||
c50e80b2d3 | |||
5729d37992 | |||
7302f65ffe | |||
152807e654 | |||
3518a781e9 | |||
f3a87d76ef | |||
57cdef6b02 | |||
d2d5f003f8 | |||
540ffdf5f3 | |||
5fb2a462c2 | |||
a9b76c9656 | |||
838680cb40 | |||
85136bc2e4 | |||
6d150bb62c | |||
3afe85ba3c | |||
57ba7ab801 | |||
b755840a27 | |||
a8294c3de8 | |||
878aee6e90 | |||
9dc6f0f486 | |||
62cd5e4aa3 | |||
18835974fb | |||
ab2af5ceab | |||
fdd1084714 | |||
03a134af75 | |||
5edb631b00 | |||
ec6fdb7324 | |||
7f621ed5dd | |||
8f33d9ab79 | |||
b7e1a56056 | |||
11c7f35ea2 | |||
b92f881921 | |||
ef5714bd3e | |||
4f1b738ef5 | |||
cfe13e1929 | |||
935ca17d7a | |||
644616b69c | |||
84da9b4c23 | |||
7528152475 | |||
815820f692 | |||
2564740665 | |||
42f409d5f9 | |||
aae37034e1 | |||
132bc87081 | |||
25c4207661 | |||
8d22f2930e | |||
ac05db5d1b | |||
80e361ff2e | |||
541afe9660 | |||
bbfd56606c | |||
4036e519a7 | |||
9fd5e4cbc9 | |||
cb78eb4ee3 | |||
8712866489 | |||
1566d7f12a | |||
cc6f4c0510 | |||
73c31b4b87 | |||
c608a4ab38 | |||
c5290cfec6 | |||
34f5a6f82c | |||
78c154e376 | |||
a571b1a2f8 | |||
55563b9808 | |||
5409d9c3f8 | |||
95f864c871 | |||
a62b791c68 | |||
bc0e4c1174 | |||
0997998064 | |||
c8b46bdcab | |||
2ddb329a90 | |||
1b84874762 | |||
7c318d477d | |||
490576fedc | |||
31ed2a4c96 | |||
6a015fffeb | |||
08bafc2dcc | |||
cb6f94bc24 | |||
d37d3e7d77 | |||
2c0fb0d016 | |||
233a5fbed4 | |||
84a6ed7684 | |||
1d5029e4e2 | |||
d60597ca0d | |||
886329a978 | |||
0dc38a3970 | |||
9ef334331e | |||
5e2b619305 | |||
fea77398e7 | |||
3cfe83ae84 | |||
55b4e95396 | |||
b909ec978f | |||
99ee40df3d | |||
21849656d1 | |||
c2ccad35fe | |||
cb338d9583 | |||
bb45ff0d9a | |||
5036079deb | |||
7b642552dd | |||
6017ebbd97 | |||
d89ea83746 | |||
e3974377ed | |||
78e5944e66 | |||
5b217d2043 | |||
54131bc9bb | |||
8b7035b185 | |||
94d285301a | |||
5e7f97b175 | |||
e828c9068a | |||
5a399b90fe | |||
583327ad33 | |||
7e1e63cd09 | |||
1ab9ca2333 | |||
39106ac36b | |||
41d7570b24 | |||
da8811515d | |||
ec6411f730 | |||
70e2b87ff0 | |||
8fd59c7967 | |||
9c71e96fd4 | |||
8e9c480d8d | |||
53dd1bd6e1 | |||
34d0736946 | |||
2e0f012952 | |||
65b75a9212 | |||
366c567864 | |||
420c3792eb | |||
3fb24dd895 | |||
5bfa864f0c | |||
0d96471f29 | |||
8aca3c7b99 | |||
30db4d8b5c | |||
afa3f12e30 | |||
726480f676 | |||
40be22bc58 | |||
6a91804116 | |||
ebe8c1e536 | |||
2884a40769 | |||
b132d95a04 | |||
961c209ab1 | |||
132a7bfeb7 | |||
7407ab88b3 | |||
7fea6f0e2e | |||
5672b4b748 | |||
aee7208f7b | |||
635e163954 | |||
99f817392d | |||
51bf979284 | |||
a730fce514 | |||
5796f47a55 | |||
0f33448af2 | |||
8d2c27eafd | |||
10b039074f | |||
897c9cb42c | |||
a2337ed6c6 | |||
b7e5c08fdf | |||
e04eb44a15 | |||
a191029c4f | |||
0dbd92db11 | |||
a576c57873 | |||
5639cbe860 | |||
defcf82610 | |||
4fed98617b | |||
2a840da462 | |||
8d86d959de | |||
b0567772f7 | |||
5e02a9d450 | |||
f33e470601 | |||
19b70accd5 | |||
94fd4bcbe9 | |||
6ded234681 | |||
bcc71b5455 | |||
08c2892295 | |||
9c7d2e9915 | |||
0d7157c295 | |||
fbe26d11cf | |||
d06af526b2 | |||
959c08449e | |||
96194cef67 | |||
e892e5dfab | |||
afcd27f348 | |||
63b888a57e | |||
842e2c7fbf | |||
46d405c8b3 | |||
dc6756d5ae | |||
5204cec9e6 | |||
f0ff035c0b | |||
27a1089806 | |||
bfbc6ff0be | |||
580693b1ec | |||
2da20177a2 | |||
267a5ae3a8 | |||
8ff7670031 | |||
d99ec92210 | |||
b9bd6aa501 | |||
d901efae51 | |||
1ed88eda85 | |||
a24490930f | |||
dc40b0296e | |||
f90e6f2f5b | |||
a1a677fcd3 | |||
9d6d15c1bc | |||
5183ef8348 | |||
1b07c31ef1 | |||
c5be64a44f | |||
6177a45eb5 | |||
e7a88a7d99 | |||
89d98bc528 | |||
d74769c824 | |||
e5dba5e66a | |||
3c0bdd12b5 | |||
47c58bb400 | |||
c9f3ea4489 | |||
d10e707f4f | |||
28cbae546d | |||
82da073dd7 | |||
6938e400d1 | |||
bfb23ce7a3 | |||
e06be6729a | |||
304d92764c | |||
2de284ea30 | |||
7a0783d050 | |||
7241063ddf | |||
1527a1a4e1 | |||
ec0181a5ad | |||
e87f5fd782 | |||
e63171c2c2 | |||
19c4ec1867 | |||
b1ae884bf0 | |||
1bf54bcaeb | |||
82c99418b4 | |||
69d8ed5636 | |||
df694ca9eb | |||
720adb7721 | |||
9480065b28 | |||
afd46ec010 | |||
6150929a5b | |||
e0071f5b59 | |||
666461277d | |||
41d32a5f71 | |||
f7d87f09f1 | |||
58287b3638 | |||
2de60ba257 | |||
035cbac28e | |||
b63273ec97 | |||
45cf004946 | |||
8019374ed0 | |||
688122c467 | |||
5c8193556d | |||
a2fdc92fcb | |||
955a466be5 | |||
51aef2b9c7 | |||
6778b29fc0 | |||
d4be588973 | |||
a329f89294 | |||
c06d2e3118 | |||
12f09829e7 | |||
c9fc0a0d6d | |||
855ab13655 | |||
ef54367bf7 | |||
e53db1ed81 | |||
8c61ef18ba | |||
9a7a9f41aa | |||
af530be346 | |||
9c3cfc4f4e |
4
.gitignore
vendored
4
.gitignore
vendored
@ -53,3 +53,7 @@ docs/_build
|
||||
vpcs.hist
|
||||
startup.vpcs
|
||||
.gns3_shell_history
|
||||
|
||||
# Virtualenv
|
||||
env
|
||||
.ropeproject
|
||||
|
39
.travis.yml
39
.travis.yml
@ -1,13 +1,30 @@
|
||||
language: python
|
||||
python:
|
||||
- '3.5'
|
||||
sudo: false
|
||||
cache: pip
|
||||
sudo: required
|
||||
|
||||
services:
|
||||
- docker
|
||||
|
||||
install:
|
||||
- python setup.py install
|
||||
- pip install -rdev-requirements.txt
|
||||
- pip install coveralls
|
||||
- sed -e 's/${PYTHON_VERSION}/'${PYTHON_VERSION}/g DockerfileTests.tpl > /tmp/DockerfileTests
|
||||
- docker-compose build
|
||||
|
||||
script:
|
||||
- py.test -v -s tests --cov gns3server --cov-report term-missing
|
||||
after_success:
|
||||
- coveralls
|
||||
- docker-compose run tests
|
||||
|
||||
before_deploy:
|
||||
- sudo pip install twine
|
||||
- sudo pip install urllib3[secure]
|
||||
|
||||
deploy:
|
||||
provider: pypi
|
||||
user: noplay
|
||||
password:
|
||||
secure: Fa66zp8ML4oSGwzkUMZi07MIYfO3tbS5gHFUaLN2mk2MBknhCjDYexmFJqT//sC/+xqv6sSJE6rz1EPoy/THbxj8R96ZgIyiUZIbDCbzgdy92d7J/eusrDoNdpApBLke8NqQqtFETb3addMZZNofQ3IDANFD2m2jY+KECU8z8NI=
|
||||
on:
|
||||
tags: true
|
||||
repo: GNS3/gns3-server
|
||||
|
||||
env:
|
||||
matrix:
|
||||
- PYTHON_VERSION=3.4
|
||||
- PYTHON_VERSION=3.5
|
||||
- PYTHON_VERSION=3.6
|
||||
|
437
CHANGELOG
437
CHANGELOG
@ -1,5 +1,419 @@
|
||||
# Change Log
|
||||
|
||||
## 2.1.3 19/01/2018
|
||||
|
||||
* Update appliance files.
|
||||
* Suspend for Docker nodes.
|
||||
* Unlock yarl version and multidict
|
||||
* Fix same MAC address for duplicated Qemu nodes.
|
||||
* Fix same base MAC for duplicated IOS routers. Fixes #1264.
|
||||
* Fix "Creating multiple IOU nodes at once assigns the same application id". Fixes #1239.
|
||||
* Fix "Transport selection via DSN is deprecated" message. Sync is configured with HTTPTransport.
|
||||
* Refresh CPU/RAM info every 1 second. Ref #2262.
|
||||
* Rename ethernet switch arp command to mac
|
||||
* Fix error while getting appliance list. Fixes #1258.
|
||||
* Fix UnboundLocalError: local variable 'node' referenced before assignment. Fixes #1256.
|
||||
* Default symbol must be computer.svg
|
||||
* Compatibility for old node templates (those with default_symbol and hover_symbol properties).
|
||||
* Fix problem when searching for VBoxManage. Fixes #1261.
|
||||
* Improve the search for VBoxManage.
|
||||
* Fixing race condition when starting the GNS3 VM.
|
||||
* Default VPCS name format is now PC-{0}.
|
||||
|
||||
## 2.1.2 08/01/2018
|
||||
|
||||
* Do not show log message if configuration file doesn't exist. Fixes #1206.
|
||||
* Update API documentation
|
||||
* Update API documentation. Fixes #1253.
|
||||
* GNS3-API: implement GET for specific drawing and link Fixes #1249
|
||||
|
||||
## 2.1.1 22/12/2017
|
||||
|
||||
* Protect variable replacement for Qemu options. Escape double quotes.
|
||||
* Add proper exception when cannot find tunnel on QEMU, Fixes: #1241
|
||||
* Increase timeout for creation of image, Ref. #2239
|
||||
* Protect variable replacement for Qemu options.
|
||||
* Do not overwrites persistent Docker volumes. Fixes #2358.
|
||||
* Allow users to see an error when the server cannot stream a PCAP file.
|
||||
* Fix issue with Qemu + SPICE when IPv4 is not enabled.
|
||||
* Warn users if the GNS3 VM and local server are not in the same subnet. Fixes #1231.
|
||||
* Add missing appliance files.
|
||||
* Update appliance files.
|
||||
* Fix auto idle-pc from preferences.
|
||||
* Keep consistance of aiohttp.web.HTTPForbidden() execution
|
||||
* Make sure connected links are removed when a node is deleted.
|
||||
* Validate idle-pc values for auto idle-pc feature.
|
||||
* Fix error when updating packet filter on stopped Docker link. Fixes #1229.
|
||||
* Remotely close telnet console. Ref #2330
|
||||
* EthernetSwitch closing connections, Ref: gui/#2330
|
||||
* Export files from remote server, Fixes: gui/#2271
|
||||
* New option: require KVM. If false, Qemu VMs will not be prevented to run without KVM.
|
||||
* Implement variable replacement for Qemu VM options.
|
||||
* Avoid duplicate "-nographic" option.
|
||||
* Show qemu-img stdout in case of an error.
|
||||
* Use the correct NVRAM amount when pushing private config to IOU.
|
||||
* Check and fix corrupt Qemu disk images. Fixes #2301.
|
||||
* Update warning messages when connecting to non custom adapter for VMware VMs.
|
||||
* Fix "Can't use VirtualBox VM when an interface is managed by VirtualBox". Fixes #2335.
|
||||
* Add low disk space warning when creating a new project.
|
||||
|
||||
## 2.1.0 09/11/2017
|
||||
|
||||
* Fix typo in vcpus on VirtualBoxVM, fixes: #1213
|
||||
|
||||
## 2.1.0rc4 07/11/2017
|
||||
|
||||
* Fix GNS3VM vCPUs control on VMware, fixes: #2324
|
||||
* Fix typo in sample gns3_server.conf. Fixes #1210.
|
||||
* Warning for getting endpoint of compute
|
||||
* Enable debug mode on async loop only in dev/debug mode
|
||||
* Add warning when using IOU with a hostname length above 15 characters.
|
||||
* Improve VMware VMs discovery process. Ref #1201.
|
||||
* Improve error message when IOU VM process is unexpectedly stopped.
|
||||
* Improved error message when the number of network adapters is above the maximum for VirtualBox VMs. Better support for potential future chipsets in addition of PIIX3 and ICH9.
|
||||
* Added localhost and gns3.github.io CORS
|
||||
|
||||
## 2.1.0rc3 19/10/2017
|
||||
|
||||
* Set vhv.enable before run for VMWare 14. Fixes #1184
|
||||
* Tweak how VMware VMs are found with fallback to search in the default location for VMs.
|
||||
* QEMU: fix logging of base mac address when creating a new node
|
||||
* Sync appliance files.
|
||||
* Fix creation of an VMware VM failed with invalid JSON. Fixes #2282.
|
||||
* Endpoint for obtaining direct action on compute
|
||||
* Fix IOU detection of layer 1 keepalive support. Fixes #1183.
|
||||
* Fixes path normalization during file upload on nodes (Fixes: #2276)
|
||||
|
||||
## 2.1.0rc2 04/10/2017
|
||||
|
||||
* Don't create directory structure during json dump. Fixes #2270
|
||||
* Add more information when qemu-img fails.
|
||||
* Fix issue with multidict when upgrading GNS3 VM to use dev channel.
|
||||
* Restore file permissions fails for volumes with soft links. Fixes #1180.
|
||||
* Use RAW sockets by default on Linux.
|
||||
* Add missing https console keyword in JSON schema. Fixes #1179.
|
||||
* Allow projects to be opened even when a node port is already used.
|
||||
|
||||
## 2.1.0rc1 13/09/2017
|
||||
|
||||
* Fix NAT node not working on Windows. Fixes #1163.
|
||||
* Do not prevent a project to be deleted. Fixes #2237.
|
||||
|
||||
## 2.1.0b2 05/09/2017
|
||||
|
||||
* Round-robin nodes across all available compute resources. Fixes #1165.
|
||||
* Try to improve error reporting when streaming a PCAP file. Ref #2235.
|
||||
* Use Npcap DLL on Windows when checking for uBridge version.
|
||||
* Fixes running switch console inside PyCharm terminal (Ref. #1172)
|
||||
* Load meta of the project on loading time (Fixes #2225)
|
||||
* Added checking if NIO exists (Fixes #1160)
|
||||
* Fixes NAT node not working on Windows (#1163)
|
||||
* Fixes loading project when link_id is not set (#1159)
|
||||
* Return platform value on appliances list (Fixes #2211)
|
||||
* Fixes not known category in Appliances (Fixes #1156)
|
||||
|
||||
## 2.1.0b1 04/08/2017
|
||||
|
||||
* Sync appliances
|
||||
* Interface starting with gns3 are not display by default in the cloud
|
||||
* Catch error when something that is not the GNS3 server answer to virtualbox requests
|
||||
* Catch KeyError: <aiohttp.connector._TransportPlaceholder
|
||||
* Add a warning when you try to load and the server is not started with --local
|
||||
* Sync appliances
|
||||
* Fix permission on exited container
|
||||
|
||||
## 2.1.0a2 31/07/2017
|
||||
|
||||
* Handle invalid appliances files
|
||||
* 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
|
||||
* Lower docker requirements in tests also
|
||||
* Docker minimum api is 1.25
|
||||
* Handling server disconnect error when docker daemon die
|
||||
* Handle some invalid SVG images
|
||||
|
||||
## 2.0.0rc4 20/04/2017
|
||||
|
||||
* Fix a race condition when handling error at project opening
|
||||
* Fix an issue with editing network on windows
|
||||
* Fix windows tests
|
||||
* Catch timeout error on docker
|
||||
* typing is already included in Py >= 3.5 (#979)
|
||||
* Fix import of some old topologies
|
||||
* Fix AttributeError: 'NoneType' object has no attribute 'returncode'
|
||||
* Fix ghost vmware vms
|
||||
* Fix required field in schema not use
|
||||
* Catch error and log them when we can't write the config
|
||||
* Fix bridge 'bridge0' already exist when we have trouble with a container
|
||||
* Catch an error at startup when the remote GNS3 VM is not a real GNS3 VM
|
||||
* Fixes Qemu sata option. Ref #875.
|
||||
* Catch GNS3 VM loading error at startup
|
||||
|
||||
## 1.5.4 13/04/2017
|
||||
|
||||
* Fix VPCS tests for recent version
|
||||
* Freeze server dependencies to the same version used for 1.5.3
|
||||
* Fix 1.5: Error message, when stopping IOU router #769
|
||||
* Drop color logging for remote install, seem to fail in some conditions
|
||||
* Cleanup the remote install script
|
||||
* Support for Xenial in remote install
|
||||
|
||||
## 2.0.0rc3 31/03/2017
|
||||
|
||||
* Support IOU image without .bin at the end
|
||||
* Allow to change some properties of an already connected ethernet switch
|
||||
* Ensure we start only one ubridge
|
||||
* Catch some broken hostname for compute node
|
||||
* Fix limit of 20 docker containers
|
||||
* Fix race conditions in creation of Frame Relay Switch
|
||||
* Fix conversion of project from 1.X with custom symbol for cloud
|
||||
* Dissallow parallel pull of docker images
|
||||
* Add a scripts for running current dev version on GNS3 VM
|
||||
* Fix a crash with missing size in the svg files
|
||||
* Fix an utf8 error in auth code
|
||||
* Improve vmrun timeout message
|
||||
* Support utf-8 characters in user and password for auth
|
||||
* Handle password configuration change on remote servers
|
||||
* Fix Bug when delete fake-running VMBox
|
||||
* Fix Can't connect to compute local on some computers
|
||||
* Add a modification uuid to settings returned by the server
|
||||
* Check python version in setup.py only for install
|
||||
* Fix Session is closed when listing docker images
|
||||
* Cleanup docker source code
|
||||
* Use aiohttp session for docker queries
|
||||
* Escape special characters from SVG text
|
||||
* Fix some port short name display issues
|
||||
* Catch server disconnected errors from computes
|
||||
* Generate a node uuid if the uuid is missing in the .gns3
|
||||
* Ensure to dump project before exporting it
|
||||
* Fix return code check for SIGSEGV of IOU images
|
||||
* Prevent vmname change for VirtualBox linked clone
|
||||
* Upgrade to aiohttp 1.3.5 to solve issue with big file
|
||||
* Handle some invalid svg
|
||||
* Try to fix some 1.3 topology with corrupted data
|
||||
* Fix ComputeError: Can't connect to Main server
|
||||
* Catch error when the server as trouble to access to itself
|
||||
* Catch a timeout error in docker
|
||||
* Lock yarl version because 0.10 is not compatible with aiohttp 1.3
|
||||
* Raise error if image are not avaible on main server during export
|
||||
* Fix a race condition when killing ubridge
|
||||
* If your settings from 1.X are broken with skip them at import
|
||||
* Catch a permission error on symbols
|
||||
* Catch unicode error when you try to duplicate a project with invalid characters
|
||||
* Catch error when you try to put an invalid server url
|
||||
* Fix an error when handling ubridge errors
|
||||
* Fix crash when handling an error in project creation
|
||||
|
||||
## 2.0.0rc2 10/03/2017
|
||||
|
||||
* Drop color logging for remote install, seem to fail in some conditions
|
||||
* Cleanup the remote install script
|
||||
* Support for Xenial in remote install
|
||||
* Fix GNS3VM settings are lost at startup
|
||||
* When we receive settings from the client save them on disk
|
||||
|
||||
## 2.0.0 RC 1 06/03/2017
|
||||
|
||||
* Update the documentation
|
||||
* Enable show in file manager for cloud
|
||||
* Improve error log when you have trouble to load a topology
|
||||
* Fix when qemu exit by itself clean other processes
|
||||
* Fix an issue with some node name format
|
||||
* Catch error when we can't save the settings
|
||||
* Do not prevent the creation of a local server on a machine named gns3vm
|
||||
* Load local server before anything else
|
||||
* Remove noise from log when VMware is not installed
|
||||
* Fix an error with some SVG
|
||||
* Patch hostname in configuration file even if name is unsync
|
||||
* If the GNS3 VM as failed to start reset his status
|
||||
* Update the documentation
|
||||
* Enable show in file manager for cloud
|
||||
* Improve error log when you have trouble to load a topology
|
||||
* Fix when qemu exit by itself clean other processes
|
||||
* Fix an issue with some node name format
|
||||
* Catch error when we can't save the settings
|
||||
* Do not prevent the creation of a local server on a machine named gns3vm
|
||||
* Load local server before anything else
|
||||
* Remove noise from log when VMware is not installed
|
||||
* Fix an error with some SVG
|
||||
* Patch hostname in configuration file even if name is unsync
|
||||
* If the GNS3 VM as failed to start reset his status
|
||||
* Report aiohttp version in crash report
|
||||
* Catch some invalid node name formatting
|
||||
* Ensure we dump a .gns3 before exporting it
|
||||
* Improve ACPI shutdown for virtualbox
|
||||
* Fix an issue with serial capture for IOU
|
||||
* Fix restoration of private config when using dynamips
|
||||
* Avoid a crash when the connection with the server close
|
||||
* Increase timeout for detecting VirtualBox GNS3 VM
|
||||
* Fix headless startup of the GNS3 VM
|
||||
* Do not crash at startup if local server as the same name as remote server
|
||||
* Yarl 0.9.8 is require by aiohttp 1.3
|
||||
|
||||
## 2.0.0 beta 4 16/02/2017
|
||||
|
||||
* Lock aiohttp to 1.2.0 because 1.3 create bug with Qt
|
||||
* Avoid a crash in some conditions when reading the serial console
|
||||
* Disallow export of project with VirtualBox linked clone
|
||||
* Fix linked_clone property lost during topology convert
|
||||
* Catch permission error when restoring a snapshot
|
||||
* Fix a rare crash when closing a project
|
||||
* Fix error when you have error on your filesystem during project convertion
|
||||
* Catch error when we can't access to a unix socket
|
||||
* If we can't resolve compute name return 0.0.0.0
|
||||
* Raise an error if you put an invalid key in node name
|
||||
* Improve a lot project loading speed
|
||||
* Fix a potential crash
|
||||
* Fix the server don't start if a remote is unavailable
|
||||
* Do not crash if you pass {name} in name
|
||||
* Fix import/export of dynamips configuration
|
||||
* Simplify conversion process from 1.3 to 2.0
|
||||
* Prevent corruption of VM in VirtualBox when using linked clone
|
||||
* Fix creation of qemu img
|
||||
* Fix rare race condition when stopping ubridge
|
||||
* Prevent renaming of a running VirtualBox linked VM
|
||||
* Avoid crash when you broke your system permissions
|
||||
* Do not crash when you broke permission on your file system during execution
|
||||
* Fix a crash when you broke permission on your file system
|
||||
* Fix a rare race condition when exporting debug informations
|
||||
* Do not try to start the GNS3 VM if the name is none
|
||||
* Fix version check for VPCS
|
||||
* Fix pcap for PPP link with IOU
|
||||
* Correct link are not connected to the correct ethernet switch port after conversion
|
||||
* Fix an error if you don't have permissions on your symbols directory
|
||||
* Fix an error when converting some topologies from 1.3
|
||||
|
||||
## 2.0.0 beta 3 19/01/2017
|
||||
|
||||
* Force the dependency on typing because otherwise it's broke on 3.4
|
||||
* Fix sometimes you have an exception when closing GNS3
|
||||
* Fix duplicate node names
|
||||
* Fix bug with other directory of Qemu images
|
||||
* Do not raise an error if no VM is selected for remote GNS3 VM
|
||||
* Fix UnboundLocalError: local variable 'vmname' referenced before assignment
|
||||
* Fix some race condition in project deletion
|
||||
* If qemu status change internally we mirror it
|
||||
* Fix hostname of VPCS is not changed
|
||||
* Fix capture stop with Wireshark
|
||||
* Drop a useless debug information
|
||||
* Fix sometimes VirtualBox VM are not loading
|
||||
* Drop NAT port from cloud from old topologies
|
||||
* Fix Port labels for docker VMs incorrect
|
||||
* Fix If cloud interface is down the project doesn't open
|
||||
* Catch Timeout error from VirtualBox GNS3 VM
|
||||
* Fix export of IOU configuration
|
||||
* Fix a crash with VirtualBox in some conditions
|
||||
* Sata disk interface support for Qemu VMs. (#862)
|
||||
* Fix random error in the dynamips test suite after previous commit
|
||||
* Support conversion to dynamips new directory layout on remote
|
||||
* Catch error when a file is deleted during the compression of project
|
||||
* Fix a crash with some docker images
|
||||
* Fix Wrong slot numbering on IOS router
|
||||
* Fix VPCS configuration is overwritten on project load
|
||||
* Fix wrong short label for ethernet switch, hub & VPCS
|
||||
* Fix binding console host for VMware and VirtualBox
|
||||
* Fix resume of dynamips routers
|
||||
* Fix sporadically systemd is unable to start gns3-server
|
||||
* Fix RuntimeError: File size has increased during compressing
|
||||
* Do not dump local compute configuration when saving topology
|
||||
* Change directory layout for dynamips.
|
||||
* Ensure we can't connect to occupy port
|
||||
* Fix handling of UTF-8 in large SVG files
|
||||
* Prevent a crash when you close a dynamips node and create a link at the same time
|
||||
* Fix short label diplay instead of custom interface labels
|
||||
* Improve error message about the netmask
|
||||
* Do not mark VirtualBox adapter as connected when not connected to another node in GNS3.
|
||||
* Add missing 'DLT_PPP_SERIAL' PCAP link type in schemas.
|
||||
* Fix crash when converting topology with broken link
|
||||
* Replace JSONDecodeError by ValueError (Python 3.4 compatibility)
|
||||
* Catch an error when we can't create the IOU directory
|
||||
|
||||
## 1.5.3 12/01/2017
|
||||
|
||||
* Fix sporadically systemd is unable to start gns3-server
|
||||
|
||||
## 2.0.0 beta 2 20/12/2016
|
||||
|
||||
* Fix an error when docker hub failed to anwser
|
||||
@ -35,6 +449,28 @@
|
||||
* Add support for bios images
|
||||
* Fix error when controller config file is corrupted
|
||||
|
||||
## 1.5.3 rc1 20/12/2016
|
||||
|
||||
* Support aiohttp 1.2 (but not compatible with previous versions)
|
||||
* Explain that segfault on IOU is a issue with the image
|
||||
* Fix an issue with finding vmrun and vboxmanage
|
||||
* Support named remote servers for VPCS
|
||||
* When checking for a free port check if the host and 0.0.0.0 are available
|
||||
* smm=off is only for 64bits
|
||||
* Fix set hostname on remote server
|
||||
* Fix sending smm option to qemu
|
||||
* Workaround a bug with KVM, Qemu >= 2.4 and Intel CPU
|
||||
* Renable sleep at Vbox exit bug seem to be back
|
||||
* Support large project (> 2GB) during export
|
||||
* Fix Deleting running telnet docker VM shows error in log
|
||||
* Fix when closing a container using VNC, root permission are not reset
|
||||
* Use $PATH also for dynamips and cleanup some $PATH usages
|
||||
* Fix a lock issue with some virtualbox vm
|
||||
* Raise proper error when you try to load an empty qcow2 file
|
||||
* Fix upload form crash
|
||||
* Search bin from the $PATH for sample configuration file
|
||||
* Updated systemd unit file and added sample configuration file
|
||||
|
||||
## 2.0.0 beta 1 07/12/2016
|
||||
|
||||
* Fix crash if at controller loading the remote server is not a GNS3 server
|
||||
@ -218,7 +654,6 @@
|
||||
* Edit the scene size
|
||||
* New API
|
||||
|
||||
|
||||
## 1.5.2 18/08/2016
|
||||
|
||||
* Move utils.vmnet to gns3 namespace
|
||||
|
34
Dockerfile
Normal file
34
Dockerfile
Normal file
@ -0,0 +1,34 @@
|
||||
# Dockerfile for GNS3 server development
|
||||
|
||||
FROM ubuntu:16.04
|
||||
|
||||
ENV DEBIAN_FRONTEND noninteractive
|
||||
|
||||
# Set the locale
|
||||
RUN locale-gen en_US.UTF-8
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANGUAGE en_US:en
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
|
||||
RUN apt-get update && apt-get install -y software-properties-common
|
||||
RUN add-apt-repository ppa:gns3/ppa
|
||||
RUN apt-get update && apt-get install -y \
|
||||
python3-pip \
|
||||
python3-dev \
|
||||
qemu-system-x86 \
|
||||
qemu-system-arm \
|
||||
qemu-kvm \
|
||||
libvirt-bin \
|
||||
x11vnc
|
||||
|
||||
# Install uninstall to install dependencies
|
||||
RUN apt-get install -y vpcs ubridge
|
||||
|
||||
ADD . /server
|
||||
WORKDIR /server
|
||||
|
||||
RUN pip3 install -r /server/requirements.txt
|
||||
|
||||
EXPOSE 3080
|
||||
|
||||
CMD python3 -m gns3server --local
|
15
DockerfileTests.tpl
Normal file
15
DockerfileTests.tpl
Normal file
@ -0,0 +1,15 @@
|
||||
FROM python:${PYTHON_VERSION}
|
||||
|
||||
RUN pip install -U setuptools pip
|
||||
|
||||
ADD requirements.txt /server/requirements.txt
|
||||
ADD dev-requirements.txt /server/dev-requirements.txt
|
||||
|
||||
RUN pip install -r/server/dev-requirements.txt
|
||||
|
||||
RUN useradd -ms /bin/bash gns3
|
||||
|
||||
USER gns3
|
||||
|
||||
ADD . /server
|
||||
WORKDIR /server
|
17
README.rst
17
README.rst
@ -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
|
||||
|
||||
@ -71,6 +71,16 @@ To run tests use:
|
||||
py.test -v
|
||||
|
||||
|
||||
Docker container
|
||||
****************
|
||||
|
||||
For development you can run the GNS3 server in a container
|
||||
|
||||
.. code:: bash
|
||||
|
||||
bash scripts/docker_dev_server.sh
|
||||
|
||||
|
||||
Run as daemon (Unix only)
|
||||
**************************
|
||||
|
||||
@ -206,3 +216,8 @@ If you want test coverage:
|
||||
.. code:: bash
|
||||
|
||||
py.test --cov-report term-missing --cov=gns3server
|
||||
|
||||
Security issues
|
||||
----------------
|
||||
Please contact us using contact informations available here:
|
||||
http://docs.gns3.com/1ON9JBXSeR7Nt2-Qum2o3ZX0GU86BZwlmNSUgvmqNWGY/index.html
|
||||
|
21
appveyor.yml
Normal file
21
appveyor.yml
Normal file
@ -0,0 +1,21 @@
|
||||
version: '{build}-{branch}'
|
||||
|
||||
image: Visual Studio 2015
|
||||
|
||||
platform: x64
|
||||
|
||||
environment:
|
||||
PYTHON: "C:\\Python36-x64"
|
||||
DISTUTILS_USE_SDK: "1"
|
||||
API_TOKEN:
|
||||
secure: VEKn4bYH3QO0ixtQW5ni4Enmn8cS1NlZV246ludBDgQ=
|
||||
|
||||
install:
|
||||
- cinst nmap
|
||||
- "%PYTHON%\\python.exe -m pip install -r dev-requirements.txt"
|
||||
- "%PYTHON%\\python.exe -m pip install -r win-requirements.txt"
|
||||
|
||||
build: off
|
||||
|
||||
test_script:
|
||||
- "%PYTHON%\\python.exe -m pytest -v"
|
@ -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
|
@ -1,8 +1,7 @@
|
||||
-rrequirements.txt
|
||||
|
||||
sphinx==1.5.1
|
||||
pytest==3.0.5
|
||||
sphinx==1.6.2
|
||||
pytest==3.1.1
|
||||
pep8==1.7.0
|
||||
pytest-capturelog==0.7
|
||||
pytest-cov==2.4.0
|
||||
pytest-catchlog==1.2.2
|
||||
pytest-timeout==1.2.0
|
||||
|
4
docker-compose.yml
Normal file
4
docker-compose.yml
Normal file
@ -0,0 +1,4 @@
|
||||
tests:
|
||||
build: .
|
||||
dockerfile: /tmp/DockerfileTests
|
||||
command: py.test -v -s tests
|
@ -5,9 +5,10 @@ DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80 HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:55 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f071242d-f471-48b3-b963-c668718b7f2a'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b5a23628-0043-4eeb-86b7-d55b6909b9b7'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f071242d-f471-48b3-b963-c668718b7f2a HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/b5a23628-0043-4eeb-86b7-d55b6909b9b7 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:44 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f9aa4e6e-1082-472d-ab1b-803eaa542adb/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a979dd8e-8c34-4a5a-98de-f50cf4fcce8c/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f9aa4e6e-1082-472d-ab1b-803eaa542adb/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/a979dd8e-8c34-4a5a-98de-f50cf4fcce8c/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/991594a0-9c41-451d-ad22-d56ed44e8ea8/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8c0aeb7d-1f06-425c-9e03-f16182fae5b8/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/991594a0-9c41-451d-ad22-d56ed44e8ea8/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/8c0aeb7d-1f06-425c-9e03-f16182fae5b8/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:46 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/ff87fec7-46c6-4d68-960a-01aec1f810f7'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/33edb045-964b-4089-857b-cfc31fff99b7'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/ff87fec7-46c6-4d68-960a-01aec1f810f7 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/33edb045-964b-4089-857b-cfc31fff99b7 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:48 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/99997a0b-3740-4565-b1fd-712bc3aba780/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/642df0c1-b531-4c9b-8643-25282fcdbda6/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/99997a0b-3740-4565-b1fd-712bc3aba780/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/642df0c1-b531-4c9b-8643-25282fcdbda6/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:48 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/ed141b3d-812b-411f-b7b6-e242b3f48706'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/924bd83c-8b35-4e7d-b3fd-8903deaf3eec'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/ed141b3d-812b-411f-b7b6-e242b3f48706 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/924bd83c-8b35-4e7d-b3fd-8903deaf3eec HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:52 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d5453617-a24e-4ff4-9cfb-ab9e59bfe888/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8cbe8570-b6f2-489a-b7fc-69aafaf24bf0/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/d5453617-a24e-4ff4-9cfb-ab9e59bfe888/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/8cbe8570-b6f2-489a-b7fc-69aafaf24bf0/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:49 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dcac780f-c640-47bb-9e68-f06220db3d70'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/153aafd0-e32b-456a-8502-cd07b2ecc94b'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/dcac780f-c640-47bb-9e68-f06220db3d70 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/153aafd0-e32b-456a-8502-cd07b2ecc94b HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/09fac426-76fd-4ce1-9762-ddeb6fb17baa/adapters/1/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7d6b86b2-510e-4f1c-99ae-dd945b3479d1/adapters/1/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/09fac426-76fd-4ce1-9762-ddeb6fb17baa/adapters/1/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/7d6b86b2-510e-4f1c-99ae-dd945b3479d1/adapters/1/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7d36663b-94f8-41e8-be89-ae87c53bbd7a/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/88bb1118-bdf4-43af-aa30-8883e0ab6a4b/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7d36663b-94f8-41e8-be89-ae87c53bbd7a/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/88bb1118-bdf4-43af-aa30-8883e0ab6a4b/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -0,0 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/18cb778e-37a5-485d-8ee5-42e42d78ed3e/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/18cb778e-37a5-485d-8ee5-42e42d78ed3e/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Mon, 08 Jan 2018 08:16:08 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/17e0476a-e63c-4227-9e08-74086d3a8419'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8b556295-efa1-46ae-ad46-8f9e38ed879e'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/17e0476a-e63c-4227-9e08-74086d3a8419 HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/8b556295-efa1-46ae-ad46-8f9e38ed879e HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e3d75d10-4ed3-4c81-a91e-1f23b9a7f483/adapters/0/ports/0/nio'
|
||||
curl -i -X DELETE 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/881b9fcf-316f-4a25-9807-a23363c0ed63/adapters/0/ports/0/nio'
|
||||
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/e3d75d10-4ed3-4c81-a91e-1f23b9a7f483/adapters/0/ports/0/nio HTTP/1.1
|
||||
DELETE /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/881b9fcf-316f-4a25-9807-a23363c0ed63/adapters/0/ports/0/nio HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
|
@ -5,10 +5,11 @@ GET /v2/compute/capabilities HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 347
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:51 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:42 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/capabilities
|
||||
|
||||
{
|
||||
@ -28,5 +29,5 @@ X-Route: /v2/compute/capabilities
|
||||
"iou"
|
||||
],
|
||||
"platform": "linuxdebian",
|
||||
"version": "2.0.0dev4"
|
||||
"version": "2.1.2dev1"
|
||||
}
|
||||
|
@ -5,10 +5,11 @@ GET /v2/compute/iou/images HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 149
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:48 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/iou/images
|
||||
|
||||
[
|
||||
|
@ -5,17 +5,18 @@ GET /v2/compute/network/interfaces HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 5489
|
||||
Connection: close
|
||||
Content-Length: 1461
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:54 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/network/interfaces
|
||||
|
||||
[
|
||||
{
|
||||
"id": "bridge0",
|
||||
"ip_address": "",
|
||||
"mac_address": "3e:07:54:87:bc:00",
|
||||
"mac_address": "ca:2a:14:12:34:00",
|
||||
"name": "bridge0",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
@ -24,7 +25,7 @@ X-Route: /v2/compute/network/interfaces
|
||||
{
|
||||
"id": "en0",
|
||||
"ip_address": "",
|
||||
"mac_address": "3c:07:54:78:07:cc",
|
||||
"mac_address": "c8:2a:14:21:cf:c8",
|
||||
"name": "en0",
|
||||
"netmask": "",
|
||||
"special": false,
|
||||
@ -32,8 +33,8 @@ X-Route: /v2/compute/network/interfaces
|
||||
},
|
||||
{
|
||||
"id": "en1",
|
||||
"ip_address": "192.168.84.156",
|
||||
"mac_address": "68:a8:6d:4a:c3:16",
|
||||
"ip_address": "192.168.1.10",
|
||||
"mac_address": "10:9a:dd:a4:f1:6a",
|
||||
"name": "en1",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": false,
|
||||
@ -42,7 +43,7 @@ X-Route: /v2/compute/network/interfaces
|
||||
{
|
||||
"id": "en2",
|
||||
"ip_address": "",
|
||||
"mac_address": "d2:00:1b:c0:17:80",
|
||||
"mac_address": "d2:00:18:cc:6a:60",
|
||||
"name": "en2",
|
||||
"netmask": "",
|
||||
"special": false,
|
||||
@ -51,7 +52,7 @@ X-Route: /v2/compute/network/interfaces
|
||||
{
|
||||
"id": "fw0",
|
||||
"ip_address": "",
|
||||
"mac_address": "3c:07:54:ff:fe:bc:01:78",
|
||||
"mac_address": "c8:2a:14:ff:fe:8c:c6:a6",
|
||||
"name": "fw0",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
@ -69,172 +70,10 @@ X-Route: /v2/compute/network/interfaces
|
||||
{
|
||||
"id": "p2p0",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:a8:6d:4a:c3:16",
|
||||
"mac_address": "02:9a:dd:a4:f1:6a",
|
||||
"name": "p2p0",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "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": "192.168.33.1",
|
||||
"mac_address": "0a:00:27:00:00:05",
|
||||
"name": "vboxnet5",
|
||||
"netmask": null,
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vboxnet6",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:06",
|
||||
"name": "vboxnet6",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vboxnet7",
|
||||
"ip_address": "",
|
||||
"mac_address": "0a:00:27:00:00:07",
|
||||
"name": "vboxnet7",
|
||||
"netmask": "",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet1",
|
||||
"ip_address": "172.16.16.1",
|
||||
"mac_address": "00:50:56:c0:00:01",
|
||||
"name": "vmnet1",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet10",
|
||||
"ip_address": "172.16.7.1",
|
||||
"mac_address": "00:50:56:c0:00:0a",
|
||||
"name": "vmnet10",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet2",
|
||||
"ip_address": "172.16.0.1",
|
||||
"mac_address": "00:50:56:c0:00:02",
|
||||
"name": "vmnet2",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet3",
|
||||
"ip_address": "172.16.1.1",
|
||||
"mac_address": "00:50:56:c0:00:03",
|
||||
"name": "vmnet3",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet4",
|
||||
"ip_address": "172.16.2.1",
|
||||
"mac_address": "00:50:56:c0:00:04",
|
||||
"name": "vmnet4",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet5",
|
||||
"ip_address": "172.16.3.1",
|
||||
"mac_address": "00:50:56:c0:00:05",
|
||||
"name": "vmnet5",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet6",
|
||||
"ip_address": "172.16.4.1",
|
||||
"mac_address": "00:50:56:c0:00:06",
|
||||
"name": "vmnet6",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet7",
|
||||
"ip_address": "172.16.5.1",
|
||||
"mac_address": "00:50:56:c0:00:07",
|
||||
"name": "vmnet7",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet8",
|
||||
"ip_address": "192.168.229.1",
|
||||
"mac_address": "00:50:56:c0:00:08",
|
||||
"name": "vmnet8",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"id": "vmnet9",
|
||||
"ip_address": "172.16.6.1",
|
||||
"mac_address": "00:50:56:c0:00:09",
|
||||
"name": "vmnet9",
|
||||
"netmask": "255.255.255.0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
}
|
||||
]
|
||||
|
@ -5,10 +5,11 @@ GET /v2/compute/projects HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 198
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:55 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
[
|
||||
|
@ -5,10 +5,11 @@ GET /v2/compute/projects/40010203-0405-0607-0809-0a0b0c0d0e02 HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 80
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:55 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}
|
||||
|
||||
{
|
||||
|
@ -1,14 +1,15 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/27e91192-5c83-4c98-af0f-b25b156c22b0'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/870c464a-d236-4a5e-8a1d-87893c493f4c'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/27e91192-5c83-4c98-af0f-b25b156c22b0 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/870c464a-d236-4a5e-8a1d-87893c493f4c HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 3420
|
||||
Connection: close
|
||||
Content-Length: 1584
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:51 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:42 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -47,100 +48,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"name": "p2p0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet1",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet3",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet4",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet5",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet6",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet7",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet1",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet10",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet3",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet4",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet5",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet6",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet7",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet8",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet9",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"node_id": "27e91192-5c83-4c98-af0f-b25b156c22b0",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/870c464a-d236-4a5e-8a1d-87893c493f4c",
|
||||
"node_id": "870c464a-d236-4a5e-8a1d-87893c493f4c",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
|
@ -1,33 +1,33 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/85fe2caa-d9a7-46c3-b9bb-34e229c2594b'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f1e67396-246b-4edb-bfeb-cfd6bd028ae1'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/85fe2caa-d9a7-46c3-b9bb-34e229c2594b HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f1e67396-246b-4edb-bfeb-cfd6bd028ae1 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 697
|
||||
Connection: close
|
||||
Content-Length: 665
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:47 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
{
|
||||
"application_id": 1,
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 2,
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/iou/85fe2caa-d9a7-46c3-b9bb-34e229c2594b",
|
||||
"node_id": "85fe2caa-d9a7-46c3-b9bb-34e229c2594b",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/f1e67396-246b-4edb-bfeb-cfd6bd028ae1",
|
||||
"node_id": "f1e67396-246b-4edb-bfeb-cfd6bd028ae1",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 256,
|
||||
"serial_adapters": 2,
|
||||
"startup_config": null,
|
||||
"status": "stopped",
|
||||
"use_default_iou_values": true
|
||||
}
|
||||
|
@ -1,25 +1,26 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/351021bf-5bbf-4bd4-beff-19b62b447f05'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2d520206-fba0-4b14-9fac-c065701eab55'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/351021bf-5bbf-4bd4-beff-19b62b447f05 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2d520206-fba0-4b14-9fac-c065701eab55 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 332
|
||||
Connection: close
|
||||
Content-Length: 335
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:49 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "351021bf-5bbf-4bd4-beff-19b62b447f05",
|
||||
"node_id": "2d520206-fba0-4b14-9fac-c065701eab55",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "gns3nat5",
|
||||
"interface": "virbr0",
|
||||
"name": "nat0",
|
||||
"port_number": 0,
|
||||
"type": "tap"
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,25 +1,28 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4a4b647d-f696-4a21-9fc2-2a56cdad39dd'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/24403711-3db5-4cae-abae-956bfbf08519'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/4a4b647d-f696-4a21-9fc2-2a56cdad39dd HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/24403711-3db5-4cae-abae-956bfbf08519 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1415
|
||||
Connection: close
|
||||
Content-Length: 1468
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:55 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 1,
|
||||
"bios_image": "",
|
||||
"bios_image_md5sum": null,
|
||||
"boot_priority": "c",
|
||||
"cdrom_image": "",
|
||||
"cdrom_image_md5sum": null,
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"cpu_throttling": 0,
|
||||
"cpus": 1,
|
||||
@ -41,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:39:dd:00",
|
||||
"mac_address": "00:dd:80:85:19:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/4a4b647d-f696-4a21-9fc2-2a56cdad39dd",
|
||||
"node_id": "4a4b647d-f696-4a21-9fc2-2a56cdad39dd",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/24403711-3db5-4cae-abae-956bfbf08519",
|
||||
"node_id": "24403711-3db5-4cae-abae-956bfbf08519",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,26 +1,28 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afdfa713-f35c-4749-b165-77e9afd1a853'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0e9631fd-c8b4-4a21-bba1-2fe71d2387e0'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/afdfa713-f35c-4749-b165-77e9afd1a853 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0e9631fd-c8b4-4a21-bba1-2fe71d2387e0 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 435
|
||||
Connection: close
|
||||
Content-Length: 465
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:57 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
|
||||
"adapters": 0,
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VMTEST",
|
||||
"node_directory": null,
|
||||
"node_id": "afdfa713-f35c-4749-b165-77e9afd1a853",
|
||||
"node_id": "0e9631fd-c8b4-4a21-bba1-2fe71d2387e0",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -0,0 +1,30 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/1cb7bfee-78f2-442d-8c62-da5fba43c91a'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/1cb7bfee-78f2-442d-8c62-da5fba43c91a HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 688
|
||||
Content-Type: application/json
|
||||
Date: Mon, 08 Jan 2018 08:15:59 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 0,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VMTEST",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/1cb7bfee-78f2-442d-8c62-da5fba43c91a",
|
||||
"node_id": "1cb7bfee-78f2-442d-8c62-da5fba43c91a",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_get0/test.vmx"
|
||||
}
|
@ -1,25 +1,24 @@
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ea81751a-8e28-4226-942d-b56e3f3e5709'
|
||||
curl -i -X GET 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ba38f0b3-b87d-4f60-a2b8-47fef0cf9ab7'
|
||||
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ea81751a-8e28-4226-942d-b56e3f3e5709 HTTP/1.1
|
||||
GET /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/ba38f0b3-b87d-4f60-a2b8-47fef0cf9ab7 HTTP/1.1
|
||||
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 489
|
||||
Connection: close
|
||||
Content-Length: 428
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/ea81751a-8e28-4226-942d-b56e3f3e5709",
|
||||
"node_id": "ea81751a-8e28-4226-942d-b56e3f3e5709",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/ba38f0b3-b87d-4f60-a2b8-47fef0cf9ab7",
|
||||
"node_id": "ba38f0b3-b87d-4f60-a2b8-47fef0cf9ab7",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -9,10 +9,11 @@ GET /v2/compute/qemu/binaries HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 212
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:57 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/qemu/binaries
|
||||
|
||||
[
|
||||
|
@ -5,10 +5,11 @@ GET /v2/compute/qemu/capabilities HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 39
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:57 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/qemu/capabilities
|
||||
|
||||
{
|
||||
|
@ -5,13 +5,14 @@ GET /v2/compute/version HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Connection: close
|
||||
Content-Length: 49
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:57 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/version
|
||||
|
||||
{
|
||||
"local": true,
|
||||
"version": "2.0.0dev4"
|
||||
"version": "2.1.2dev1"
|
||||
}
|
||||
|
@ -8,10 +8,11 @@ POST /v2/compute/projects HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 80
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:54 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects
|
||||
|
||||
{
|
||||
|
@ -5,9 +5,10 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/close HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:55 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/close
|
||||
|
||||
|
@ -7,10 +7,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes HTTP/
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 3420
|
||||
Connection: close
|
||||
Content-Length: 1584
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:51 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:42 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
|
||||
{
|
||||
@ -49,100 +50,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes
|
||||
"name": "p2p0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet1",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet3",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet4",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet5",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet6",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet7",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet1",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet10",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet3",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet4",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet5",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet6",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet7",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet8",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet9",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"name": "Cloud 1",
|
||||
"node_id": "c02a0a78-b84e-44b9-b151-0a650ecd7bb8",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/f5c51574-0032-419f-af7e-87edd8cab649",
|
||||
"node_id": "f5c51574-0032-419f-af7e-87edd8cab649",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/69c8e1b3-c2e2-48a1-a647-2ab7b44152dc/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/dbff6f53-7446-4c8f-bebb-38b568b1edc6/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/69c8e1b3-c2e2-48a1-a647-2ab7b44152dc/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/dbff6f53-7446-4c8f-bebb-38b568b1edc6/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -10,10 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/69c8e
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/56c56eaa-3262-4459-9dc4-7225ed4eb3d5/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/22a7d45d-7024-4303-bfd6-bedd6bab4037/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/56c56eaa-3262-4459-9dc4-7225ed4eb3d5/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/22a7d45d-7024-4303-bfd6-bedd6bab4037/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -10,10 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/56c5
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:46 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/e2694da2-b2a4-4c7a-87aa-22814f7bbc75/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/283cc38e-c13f-41e9-951e-42c9723fb3bc/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/e2694da2-b2a4-4c7a-87aa-22814f7bbc75/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/283cc38e-c13f-41e9-951e-42c9723fb3bc/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -8,12 +8,13 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/e269
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 146
|
||||
Connection: close
|
||||
Content-Length: 145
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:46 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a6e26e68-18ed-4303-85cd-a342503a2ea0/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b25504e3-b9a3-42c4-8280-bc590448deb4/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/a6e26e68-18ed-4303-85cd-a342503a2ea0/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/b25504e3-b9a3-42c4-8280-bc590448deb4/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:47 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
|
@ -0,0 +1,17 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3abf5f1e-3d86-41f1-8fe7-9b6e2b89f236/duplicate' -d '{"destination_node_id": "933fb9ff-759b-4781-8da7-ff28bd3c4a8d"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/3abf5f1e-3d86-41f1-8fe7-9b6e2b89f236/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "933fb9ff-759b-4781-8da7-ff28bd3c4a8d"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Mon, 08 Jan 2018 08:15:47 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
@ -1,38 +1,38 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "4ade4a52-c7b2-4ed8-abce-3598e4214c0a", "path": "iou.bin", "startup_config_content": "hostname test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes' -d '{"name": "PC TEST 1", "node_id": "2a40df31-c258-409e-8aa3-466baab4bb1a", "path": "iou.bin", "startup_config_content": "hostname test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes HTTP/1.1
|
||||
{
|
||||
"name": "PC TEST 1",
|
||||
"node_id": "4ade4a52-c7b2-4ed8-abce-3598e4214c0a",
|
||||
"node_id": "2a40df31-c258-409e-8aa3-466baab4bb1a",
|
||||
"path": "iou.bin",
|
||||
"startup_config_content": "hostname test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 713
|
||||
Connection: close
|
||||
Content-Length: 665
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:47 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes
|
||||
|
||||
{
|
||||
"application_id": 1,
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 2,
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/iou/4ade4a52-c7b2-4ed8-abce-3598e4214c0a",
|
||||
"node_id": "4ade4a52-c7b2-4ed8-abce-3598e4214c0a",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/2a40df31-c258-409e-8aa3-466baab4bb1a",
|
||||
"node_id": "2a40df31-c258-409e-8aa3-466baab4bb1a",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 256,
|
||||
"serial_adapters": 2,
|
||||
"startup_config": "startup-config.cfg",
|
||||
"status": "stopped",
|
||||
"use_default_iou_values": true
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1dd3b2b3-3d60-466f-9204-378b6b368572/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/bde9180a-13f9-484b-93b7-7cd79dd12e59/adapters/1/ports/0/nio' -d '{"ethernet_device": "bridge0", "type": "nio_ethernet"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1dd3b2b3-3d60-466f-9204-378b6b368572/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/bde9180a-13f9-484b-93b7-7cd79dd12e59/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "bridge0",
|
||||
"type": "nio_ethernet"
|
||||
@ -8,10 +8,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1dd3b2b
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 64
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:48 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/68117b25-55ae-4066-b1b0-80551439d8e3/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2c1dfb5a-629f-4f71-a28b-32b5afdda38c/adapters/0/ports/0/start_capture' -d '{"capture_file_name": "test.pcap", "data_link_type": "DLT_EN10MB"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/68117b25-55ae-4066-b1b0-80551439d8e3/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2c1dfb5a-629f-4f71-a28b-32b5afdda38c/adapters/0/ports/0/start_capture HTTP/1.1
|
||||
{
|
||||
"capture_file_name": "test.pcap",
|
||||
"data_link_type": "DLT_EN10MB"
|
||||
@ -8,12 +8,13 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/68117b2
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 146
|
||||
Connection: close
|
||||
Content-Length: 145
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:48 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/start_capture
|
||||
|
||||
{
|
||||
"pcap_file_path": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/tmp/captures/test.pcap"
|
||||
"pcap_file_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/tmp/captures/test.pcap"
|
||||
}
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/56bdd97b-c85e-45ba-b8d3-23214cc65684/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1fe06fbf-df85-4a1e-8719-9bcee87e95c3/adapters/0/ports/0/stop_capture' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/56bdd97b-c85e-45ba-b8d3-23214cc65684/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/1fe06fbf-df85-4a1e-8719-9bcee87e95c3/adapters/0/ports/0/stop_capture HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:48 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/stop_capture
|
||||
|
||||
|
@ -0,0 +1,17 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5004383e-1288-434b-bb06-86d2831b3197/duplicate' -d '{"destination_node_id": "10e25f8a-476d-46d0-a152-ffce1c0a1e6d"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/5004383e-1288-434b-bb06-86d2831b3197/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "10e25f8a-476d-46d0-a152-ffce1c0a1e6d"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Mon, 08 Jan 2018 08:15:49 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f207ba5a-a9f9-4104-a216-814cae606bc2/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/920627e2-ac0a-4ff5-b7f0-92146d119cfa/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/f207ba5a-a9f9-4104-a216-814cae606bc2/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/920627e2-ac0a-4ff5-b7f0-92146d119cfa/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:47 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,35 +1,35 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9b1a4092-9c1e-4714-97eb-2c9099a36f74/start' -d '{"iourc_content": "test"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7aaf8730-a591-434b-832c-545c3fdace21/start' -d '{"iourc_content": "test"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/9b1a4092-9c1e-4714-97eb-2c9099a36f74/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7aaf8730-a591-434b-832c-545c3fdace21/start HTTP/1.1
|
||||
{
|
||||
"iourc_content": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 697
|
||||
Connection: close
|
||||
Content-Length: 665
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:47 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
"application_id": 1,
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 2,
|
||||
"l1_keepalives": false,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/iou/9b1a4092-9c1e-4714-97eb-2c9099a36f74",
|
||||
"node_id": "9b1a4092-9c1e-4714-97eb-2c9099a36f74",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/7aaf8730-a591-434b-832c-545c3fdace21",
|
||||
"node_id": "7aaf8730-a591-434b-832c-545c3fdace21",
|
||||
"nvram": 128,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 256,
|
||||
"serial_adapters": 2,
|
||||
"startup_config": null,
|
||||
"status": "stopped",
|
||||
"use_default_iou_values": true
|
||||
}
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/04a1ad32-27f8-4162-9c97-e2ab0051b57b/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/815fcdf5-75d2-48a4-99b1-f4651460c031/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/04a1ad32-27f8-4162-9c97-e2ab0051b57b/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/815fcdf5-75d2-48a4-99b1-f4651460c031/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:53 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:47 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/stop
|
||||
|
||||
|
@ -7,21 +7,22 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes HTTP/1.
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 332
|
||||
Connection: close
|
||||
Content-Length: 335
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:49 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes
|
||||
|
||||
{
|
||||
"name": "Nat 1",
|
||||
"node_id": "f8572394-f4a6-41c2-8990-76191f85976c",
|
||||
"node_id": "bb9f6090-ce62-461c-8457-babcbabe1417",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "gns3nat4",
|
||||
"interface": "virbr0",
|
||||
"name": "nat0",
|
||||
"port_number": 0,
|
||||
"type": "tap"
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2e34595b-ab09-4df5-b0d5-27d26fc8cfeb/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7ac53432-e8aa-41ab-b3fe-a0278f0dd73b/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2e34595b-ab09-4df5-b0d5-27d26fc8cfeb/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7ac53432-e8aa-41ab-b3fe-a0278f0dd73b/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -10,10 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/2e34595
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:49 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -5,10 +5,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/ports/udp HTTP/1.
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 25
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:54 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/ports/udp
|
||||
|
||||
{
|
||||
|
@ -1,30 +1,33 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64", "ram": 1024}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes' -d '{"hda_disk_image": "linux\u8f7d.img", "name": "PC TEST 1", "qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64", "ram": 1024}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes HTTP/1.1
|
||||
{
|
||||
"hda_disk_image": "linux\u8f7d.img",
|
||||
"name": "PC TEST 1",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64",
|
||||
"ram": 1024
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 1461
|
||||
Connection: close
|
||||
Content-Length: 1514
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:55 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 1,
|
||||
"bios_image": "",
|
||||
"bios_image_md5sum": null,
|
||||
"boot_priority": "c",
|
||||
"cdrom_image": "",
|
||||
"cdrom_image_md5sum": null,
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"cpu_throttling": 0,
|
||||
"cpus": 1,
|
||||
@ -46,15 +49,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:04:23:00",
|
||||
"mac_address": "00:dd:80:61:ca:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/26ee1a57-b93e-49e3-bcab-f495734c0423",
|
||||
"node_id": "26ee1a57-b93e-49e3-bcab-f495734c0423",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/c5506ba4-66a1-4b97-b632-0b73291161ca",
|
||||
"node_id": "c5506ba4-66a1-4b97-b632-0b73291161ca",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,20 +1,25 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/cd663ba1-9a14-4c86-9c5e-5e5122b15519/adapters/1/ports/0/nio' -d '{"ethernet_device": "eth0", "type": "nio_ethernet"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/61a9f99e-3542-49a5-b082-fd154577b1da/adapters/1/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/cd663ba1-9a14-4c86-9c5e-5e5122b15519/adapters/1/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/61a9f99e-3542-49a5-b082-fd154577b1da/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"ethernet_device": "eth0",
|
||||
"type": "nio_ethernet"
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 409
|
||||
Content-Length: 81
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"message": "NIO of type nio_ethernet is not supported",
|
||||
"status": 409
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
@ -0,0 +1,17 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/991224a4-0c6a-46f5-a9cf-7a7b03dd2f7f/duplicate' -d '{"destination_node_id": "ddc56104-6d5b-44b8-8883-560df43c12d4"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/991224a4-0c6a-46f5-a9cf-7a7b03dd2f7f/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "ddc56104-6d5b-44b8-8883-560df43c12d4"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Mon, 08 Jan 2018 08:15:57 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8f74240d-cbc9-4b97-b27a-336ef70b8304/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a5001f88-4ea1-4c30-b150-0b64d6468114/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/8f74240d-cbc9-4b97-b27a-336ef70b8304/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/a5001f88-4ea1-4c30-b150-0b64d6468114/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/08a64ae9-b47a-478c-92ce-4646c795c433/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/47c84302-343c-49ec-88aa-d6df5c12ca76/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/08a64ae9-b47a-478c-92ce-4646c795c433/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/47c84302-343c-49ec-88aa-d6df5c12ca76/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/resume
|
||||
|
||||
|
@ -1,25 +1,28 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/12876bc4-6262-41d0-87bf-2a0762d63290/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/549b4a45-e05f-46f7-9162-9c8917cfdbd2/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/12876bc4-6262-41d0-87bf-2a0762d63290/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/549b4a45-e05f-46f7-9162-9c8917cfdbd2/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1415
|
||||
Connection: close
|
||||
Content-Length: 1468
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 1,
|
||||
"bios_image": "",
|
||||
"bios_image_md5sum": null,
|
||||
"boot_priority": "c",
|
||||
"cdrom_image": "",
|
||||
"cdrom_image_md5sum": null,
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"cpu_throttling": 0,
|
||||
"cpus": 1,
|
||||
@ -41,15 +44,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/start
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:32:90:00",
|
||||
"mac_address": "00:dd:80:db:d2:00",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/12876bc4-6262-41d0-87bf-2a0762d63290",
|
||||
"node_id": "12876bc4-6262-41d0-87bf-2a0762d63290",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/549b4a45-e05f-46f7-9162-9c8917cfdbd2",
|
||||
"node_id": "549b4a45-e05f-46f7-9162-9c8917cfdbd2",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64",
|
||||
"ram": 256,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d6886ce2-45ec-4a17-891d-7dd00e32784b/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/76838b21-f233-49fc-8b9e-efb44e924770/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/d6886ce2-45ec-4a17-891d-7dd00e32784b/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/76838b21-f233-49fc-8b9e-efb44e924770/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/stop
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5c8d29b0-ca7e-4430-aaca-a2528cfec782/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0e83b0b6-4a6a-4c59-9f1d-cd38eef8d8c3/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/5c8d29b0-ca7e-4430-aaca-a2528cfec782/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/0e83b0b6-4a6a-4c59-9f1d-cd38eef8d8c3/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/suspend
|
||||
|
||||
|
@ -9,22 +9,24 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 429
|
||||
Connection: close
|
||||
Content-Length: 459
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:57 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
|
||||
"adapters": 0,
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"node_directory": null,
|
||||
"node_id": "91fe27cf-47af-40a9-85a1-d4e3c80dc826",
|
||||
"node_id": "dbbae445-fdee-4985-ab03-9fd20c4dd5c1",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a6a1fde9-419d-481d-ad56-154da1d8fdcb/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/acf82559-f05c-4623-8607-f4725c99dd19/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a6a1fde9-419d-481d-ad56-154da1d8fdcb/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/acf82559-f05c-4623-8607-f4725c99dd19/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -10,10 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/106d35ba-148b-4a00-8e4b-275f56f0a9c7/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dec54572-148b-4d8a-b8e6-fed0f2f0e27a/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/106d35ba-148b-4a00-8e4b-275f56f0a9c7/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dec54572-148b-4d8a-b8e6-fed0f2f0e27a/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7b408f89-7560-473e-a95d-eaf6cf7cc9d8/resume' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/890d1ef3-de36-4215-a3d2-2e7735238784/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/7b408f89-7560-473e-a95d-eaf6cf7cc9d8/resume HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/890d1ef3-de36-4215-a3d2-2e7735238784/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/resume
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/90c774f6-2f06-4085-9e1a-f069aa558063/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/14876fc1-ed1f-45c6-9fe5-03c5c1de21be/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/90c774f6-2f06-4085-9e1a-f069aa558063/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/14876fc1-ed1f-45c6-9fe5-03c5c1de21be/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:57 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/start
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a1a6ae70-9521-40ab-ae07-c4afaa5276e6/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/030a16df-bb45-476b-8b4a-ad82e6a03859/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/a1a6ae70-9521-40ab-ae07-c4afaa5276e6/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/030a16df-bb45-476b-8b4a-ad82e6a03859/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/stop
|
||||
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dd4fec46-330e-4ac9-bd33-bbe627eb58dd/suspend' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c3f25ab6-15b2-472f-b9c8-a3e9d2db521e/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/dd4fec46-330e-4ac9-bd33-bbe627eb58dd/suspend HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/c3f25ab6-15b2-472f-b9c8-a3e9d2db521e/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/suspend
|
||||
|
||||
|
@ -0,0 +1,34 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes' -d '{"linked_clone": false, "name": "VM1", "vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_create0/test.vmx"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes HTTP/1.1
|
||||
{
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_create0/test.vmx"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 688
|
||||
Content-Type: application/json
|
||||
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 0,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "VM1",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vmware/363338c7-451e-4f3d-a74a-5d7400b2325b",
|
||||
"node_id": "363338c7-451e-4f3d-a74a-5d7400b2325b",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"status": "stopped",
|
||||
"use_any_adapter": false,
|
||||
"vmx_path": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_vmware_create0/test.vmx"
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8bd601b4-b70c-455d-86a8-656a844523bf/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/8bd601b4-b70c-455d-86a8-656a844523bf/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Mon, 08 Jan 2018 08:16:06 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f29ee895-6312-4c95-813a-2194257925f3/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/f29ee895-6312-4c95-813a-2194257925f3/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Mon, 08 Jan 2018 08:16:05 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/reload
|
||||
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/5b5cf295-69cf-4c7f-8dbe-cd34d8a50b96/resume' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/5b5cf295-69cf-4c7f-8dbe-cd34d8a50b96/resume HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Mon, 08 Jan 2018 08:16:04 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/resume
|
||||
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/3284972b-259f-4c32-804c-f95253a2b272/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/3284972b-259f-4c32-804c-f95253a2b272/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Mon, 08 Jan 2018 08:16:00 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/start
|
||||
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/5d67e87b-35c7-484b-924c-44934ade59b9/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/5d67e87b-35c7-484b-924c-44934ade59b9/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Mon, 08 Jan 2018 08:16:01 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/stop
|
||||
|
@ -0,0 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/020c5143-2385-4b7e-84ab-2fa6235d7d44/suspend' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vmware/nodes/020c5143-2385-4b7e-84ab-2fa6235d7d44/suspend HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Mon, 08 Jan 2018 08:16:02 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vmware/nodes/{node_id}/suspend
|
||||
|
@ -7,21 +7,20 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes HTTP/1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Content-Length: 489
|
||||
Connection: close
|
||||
Content-Length: 428
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/97bd62ea-c059-43f0-a5a1-016d7eb0d921",
|
||||
"node_id": "97bd62ea-c059-43f0-a5a1-016d7eb0d921",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/de5b89af-2907-411f-bc88-d7aacc015763",
|
||||
"node_id": "de5b89af-2907-411f-bc88-d7aacc015763",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/edf434e7-d3f1-44c6-ad60-e539bf2a4a6e/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/eb360fb6-4941-4f14-9145-e7d64369bc3c/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/edf434e7-d3f1-44c6-ad60-e539bf2a4a6e/adapters/0/ports/0/nio HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/eb360fb6-4941-4f14-9145-e7d64369bc3c/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
@ -10,10 +10,11 @@ POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/edf434
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
|
@ -0,0 +1,17 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3cd0a1d7-b074-4bf6-8c33-626f97ad8559/duplicate' -d '{"destination_node_id": "79886fa2-4320-419e-9044-e445694394d6"}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/3cd0a1d7-b074-4bf6-8c33-626f97ad8559/duplicate HTTP/1.1
|
||||
{
|
||||
"destination_node_id": "79886fa2-4320-419e-9044-e445694394d6"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 4
|
||||
Content-Type: application/json
|
||||
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/duplicate
|
||||
|
||||
true
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9d873d6-d53e-4765-b026-1571f5df4a38/reload' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/aaa4c50f-2c60-40ca-971d-d86a4433de82/reload' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/b9d873d6-d53e-4765-b026-1571f5df4a38/reload HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/aaa4c50f-2c60-40ca-971d-d86a4433de82/reload HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/reload
|
||||
|
||||
|
@ -1,25 +1,24 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff/start' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/9c0b927b-a48b-41c7-ad94-4006669f49f5/start' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff/start HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/9c0b927b-a48b-41c7-ad94-4006669f49f5/start HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 489
|
||||
Connection: close
|
||||
Content-Length: 428
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
|
||||
|
||||
{
|
||||
"command_line": "",
|
||||
"console": 5000,
|
||||
"console": 5004,
|
||||
"console_type": "telnet",
|
||||
"name": "PC TEST 1",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff",
|
||||
"node_id": "cd0a7422-7bd9-47e9-81a6-e7ec0bf79bff",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/vpcs/9c0b927b-a48b-41c7-ad94-4006669f49f5",
|
||||
"node_id": "9c0b927b-a48b-41c7-ad94-4006669f49f5",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"startup_script": null,
|
||||
"startup_script_path": null,
|
||||
"status": "stopped"
|
||||
}
|
||||
|
@ -1,13 +1,14 @@
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1077534f-0902-487a-9826-df49dfd223eb/stop' -d '{}'
|
||||
curl -i -X POST 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/92b13851-ebaf-4966-a013-e0e4514848b2/stop' -d '{}'
|
||||
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/1077534f-0902-487a-9826-df49dfd223eb/stop HTTP/1.1
|
||||
POST /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/vpcs/nodes/92b13851-ebaf-4966-a013-e0e4514848b2/stop HTTP/1.1
|
||||
{}
|
||||
|
||||
|
||||
HTTP/1.1 204
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:59 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:16:11 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/stop
|
||||
|
||||
|
@ -14,9 +14,10 @@ POST /v2/compute/qemu/img HTTP/1.1
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 0
|
||||
Content-Type: application/octet-stream
|
||||
Date: Thu, 03 Nov 2016 17:19:57 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:57 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/qemu/img
|
||||
|
||||
|
@ -1,16 +1,17 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/1609e4ce-3925-4dfa-beb9-a37bb6e4eba8' -d '{"name": "test"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f5393b54-aad6-4233-acfa-ab20d9cb0e43' -d '{"name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/1609e4ce-3925-4dfa-beb9-a37bb6e4eba8 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/f5393b54-aad6-4233-acfa-ab20d9cb0e43 HTTP/1.1
|
||||
{
|
||||
"name": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 3417
|
||||
Connection: close
|
||||
Content-Length: 1581
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:46 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
|
||||
{
|
||||
@ -49,100 +50,11 @@ X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}
|
||||
"name": "p2p0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet0",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet1",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet3",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet4",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet5",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet6",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vboxnet7",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet1",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet10",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet2",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet3",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet4",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet5",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet6",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet7",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet8",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
},
|
||||
{
|
||||
"name": "vmnet9",
|
||||
"special": true,
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"name": "test",
|
||||
"node_id": "1609e4ce-3925-4dfa-beb9-a37bb6e4eba8",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/builtin/f5393b54-aad6-4233-acfa-ab20d9cb0e43",
|
||||
"node_id": "f5393b54-aad6-4233-acfa-ab20d9cb0e43",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "en0",
|
||||
|
@ -0,0 +1,27 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/02dbb665-8582-4d4f-ab65-59d371b6dd26/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/cloud/nodes/02dbb665-8582-4d4f-ab65-59d371b6dd26/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"filters": {},
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 108
|
||||
Content-Type: application/json
|
||||
Date: Mon, 08 Jan 2018 08:15:43 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/cloud/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"filters": {},
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8' -d '{"console": 5003, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/22396e9c-c6a0-4d55-82f0-fff20006a4a3' -d '{"console": 5006, "environment": "GNS3=1\nGNS4=0", "name": "test", "start_command": "yes"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/22396e9c-c6a0-4d55-82f0-fff20006a4a3 HTTP/1.1
|
||||
{
|
||||
"console": 5003,
|
||||
"console": 5006,
|
||||
"environment": "GNS3=1\nGNS4=0",
|
||||
"name": "test",
|
||||
"start_command": "yes"
|
||||
@ -10,16 +10,17 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/5ffe5
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 654
|
||||
Connection: close
|
||||
Content-Length: 653
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:52 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:46 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
|
||||
|
||||
{
|
||||
"adapters": 2,
|
||||
"aux": 5002,
|
||||
"console": 5003,
|
||||
"aux": 5005,
|
||||
"console": 5006,
|
||||
"console_http_path": "/",
|
||||
"console_http_port": 80,
|
||||
"console_resolution": "1280x1024",
|
||||
@ -28,8 +29,8 @@ X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}
|
||||
"environment": "GNS3=1\nGNS4=0",
|
||||
"image": "nginx:latest",
|
||||
"name": "test",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/docker/5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8",
|
||||
"node_id": "5ffe52e9-7dde-4ec2-9df4-98760b1d8bb8",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/docker/22396e9c-c6a0-4d55-82f0-fff20006a4a3",
|
||||
"node_id": "22396e9c-c6a0-4d55-82f0-fff20006a4a3",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"start_command": "yes",
|
||||
"status": "stopped"
|
||||
|
@ -0,0 +1,25 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7536b21f-e0e1-4b0e-be34-b27c5bee5dc1/adapters/0/ports/0/nio' -d '{"lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/docker/nodes/7536b21f-e0e1-4b0e-be34-b27c5bee5dc1/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Mon, 08 Jan 2018 08:15:46 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/docker/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
@ -1,44 +1,42 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2aec8581-8312-4c46-9c64-8801854aea79' -d '{"console": 5002, "ethernet_adapters": 4, "iourc_content": "test", "l1_keepalives": true, "name": "test", "nvram": 2048, "ram": 512, "serial_adapters": 0, "startup_config_content": "hostname test", "use_default_iou_values": true}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2e54bfd5-33e4-4958-9eb5-9344095bcf3c' -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/2aec8581-8312-4c46-9c64-8801854aea79 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/2e54bfd5-33e4-4958-9eb5-9344095bcf3c HTTP/1.1
|
||||
{
|
||||
"console": 5002,
|
||||
"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
|
||||
Content-Length: 708
|
||||
Connection: close
|
||||
Content-Length: 660
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:54 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:48 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}
|
||||
|
||||
{
|
||||
"application_id": 1,
|
||||
"command_line": "",
|
||||
"console": 5002,
|
||||
"console": 5005,
|
||||
"console_type": "telnet",
|
||||
"ethernet_adapters": 4,
|
||||
"l1_keepalives": true,
|
||||
"md5sum": "e573e8f5c93c6c00783f20c7a170aa6c",
|
||||
"name": "test",
|
||||
"node_directory": "/private/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/pytest-of-noplay/pytest-105/test_json5/project-files/iou/2aec8581-8312-4c46-9c64-8801854aea79",
|
||||
"node_id": "2aec8581-8312-4c46-9c64-8801854aea79",
|
||||
"node_directory": "/private/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/pytest-of-behlers/pytest-0/test_json4/project-files/iou/2e54bfd5-33e4-4958-9eb5-9344095bcf3c",
|
||||
"node_id": "2e54bfd5-33e4-4958-9eb5-9344095bcf3c",
|
||||
"nvram": 2048,
|
||||
"path": "iou.bin",
|
||||
"private_config": null,
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 512,
|
||||
"serial_adapters": 0,
|
||||
"startup_config": "startup-config.cfg",
|
||||
"status": "stopped",
|
||||
"use_default_iou_values": true
|
||||
}
|
||||
|
@ -0,0 +1,26 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e50dc2a-4a1e-44b7-8d5a-6b7de6f4ff07/adapters/1/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/iou/nodes/7e50dc2a-4a1e-44b7-8d5a-6b7de6f4ff07/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"filters": {},
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 89
|
||||
Content-Type: application/json
|
||||
Date: Mon, 08 Jan 2018 08:15:48 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/iou/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
@ -1,27 +1,28 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7061bfeb-39f5-4b27-9557-2420b81fac6c' -d '{"name": "test"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/c567edc8-9230-41b5-a32c-cda1403eb187' -d '{"name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/7061bfeb-39f5-4b27-9557-2420b81fac6c HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/c567edc8-9230-41b5-a32c-cda1403eb187 HTTP/1.1
|
||||
{
|
||||
"name": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 331
|
||||
Connection: close
|
||||
Content-Length: 334
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:55 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:54 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}
|
||||
|
||||
{
|
||||
"name": "test",
|
||||
"node_id": "7061bfeb-39f5-4b27-9557-2420b81fac6c",
|
||||
"node_id": "c567edc8-9230-41b5-a32c-cda1403eb187",
|
||||
"ports_mapping": [
|
||||
{
|
||||
"interface": "gns3nat9",
|
||||
"interface": "virbr0",
|
||||
"name": "nat0",
|
||||
"port_number": 0,
|
||||
"type": "tap"
|
||||
"type": "ethernet"
|
||||
}
|
||||
],
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
|
@ -0,0 +1,27 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/e44156c3-1ac8-4af3-81a1-049b7c441054/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/nat/nodes/e44156c3-1ac8-4af3-81a1-049b7c441054/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"filters": {},
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 108
|
||||
Content-Type: application/json
|
||||
Date: Mon, 08 Jan 2018 08:15:49 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/nat/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"filters": {},
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
@ -1,8 +1,8 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b99813b1-5ff4-485e-9f83-8e3cb55649fb' -d '{"console": 5002, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2b036990-caf0-422c-b18b-5b218bbe4504' -d '{"console": 5006, "hdb_disk_image": "linux\u8f7d.img", "name": "test", "ram": 1024}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b99813b1-5ff4-485e-9f83-8e3cb55649fb HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/2b036990-caf0-422c-b18b-5b218bbe4504 HTTP/1.1
|
||||
{
|
||||
"console": 5002,
|
||||
"console": 5006,
|
||||
"hdb_disk_image": "linux\u8f7d.img",
|
||||
"name": "test",
|
||||
"ram": 1024
|
||||
@ -10,21 +10,24 @@ PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b99813b
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 1456
|
||||
Connection: close
|
||||
Content-Length: 1509
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:56 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "e1000",
|
||||
"adapters": 1,
|
||||
"bios_image": "",
|
||||
"bios_image_md5sum": null,
|
||||
"boot_priority": "c",
|
||||
"cdrom_image": "",
|
||||
"cdrom_image_md5sum": null,
|
||||
"command_line": "",
|
||||
"console": 5002,
|
||||
"console": 5006,
|
||||
"console_type": "telnet",
|
||||
"cpu_throttling": 0,
|
||||
"cpus": 1,
|
||||
@ -46,15 +49,15 @@ X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}
|
||||
"kernel_image": "",
|
||||
"kernel_image_md5sum": null,
|
||||
"legacy_networking": false,
|
||||
"mac_address": "00:dd:80:49:fb:00",
|
||||
"mac_address": "00:dd:80:45:04:00",
|
||||
"name": "test",
|
||||
"node_directory": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmpy_0wuy69/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/b99813b1-5ff4-485e-9f83-8e3cb55649fb",
|
||||
"node_id": "b99813b1-5ff4-485e-9f83-8e3cb55649fb",
|
||||
"node_directory": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmpk__by17a/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/project-files/qemu/2b036990-caf0-422c-b18b-5b218bbe4504",
|
||||
"node_id": "2b036990-caf0-422c-b18b-5b218bbe4504",
|
||||
"options": "",
|
||||
"platform": "x86_64",
|
||||
"process_priority": "low",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"qemu_path": "/var/folders/3s/r2wbv07n7wg4vrsn874lmxxh0000gn/T/tmp4__9bvkj/qemu-system-x86_64",
|
||||
"qemu_path": "/var/folders/qy/g6blgc5n7y93pzg61zyt7cmr0000gn/T/tmp26lo7e4o/qemu-system-x86_64",
|
||||
"ram": 1024,
|
||||
"status": "stopped",
|
||||
"usage": ""
|
||||
|
@ -0,0 +1,27 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b299b291-ca8d-4d12-b12a-2eab780a7a0a/adapters/1/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/qemu/nodes/b299b291-ca8d-4d12-b12a-2eab780a7a0a/adapters/1/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"filters": {},
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 108
|
||||
Content-Type: application/json
|
||||
Date: Mon, 08 Jan 2018 08:15:56 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/qemu/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"filters": {},
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
@ -1,29 +1,31 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/99b36e74-6202-4c94-a64a-4e90a177fb19' -d '{"console": 5002, "name": "test"}'
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/07ae8a79-9a4c-4987-8fc9-e5c3c2ca541d' -d '{"console": 5005, "name": "test"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/99b36e74-6202-4c94-a64a-4e90a177fb19 HTTP/1.1
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/07ae8a79-9a4c-4987-8fc9-e5c3c2ca541d HTTP/1.1
|
||||
{
|
||||
"console": 5002,
|
||||
"console": 5005,
|
||||
"name": "test"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 200
|
||||
Content-Length: 433
|
||||
Connection: close
|
||||
Content-Length: 463
|
||||
Content-Type: application/json
|
||||
Date: Thu, 03 Nov 2016 17:19:58 GMT
|
||||
Server: Python/3.5 GNS3/2.0.0dev4
|
||||
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}
|
||||
|
||||
{
|
||||
"acpi_shutdown": false,
|
||||
"adapter_type": "Intel PRO/1000 MT Desktop (82540EM)",
|
||||
"adapters": 0,
|
||||
"console": 5002,
|
||||
"console": 5005,
|
||||
"console_type": "telnet",
|
||||
"headless": false,
|
||||
"linked_clone": false,
|
||||
"name": "test",
|
||||
"node_directory": null,
|
||||
"node_id": "99b36e74-6202-4c94-a64a-4e90a177fb19",
|
||||
"node_id": "07ae8a79-9a4c-4987-8fc9-e5c3c2ca541d",
|
||||
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
|
||||
"ram": 0,
|
||||
"status": "stopped",
|
||||
|
@ -0,0 +1,27 @@
|
||||
curl -i -X PUT 'http://localhost:3080/v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0676cad3-3893-4a88-9535-f4a248723907/adapters/0/ports/0/nio' -d '{"filters": {}, "lport": 4242, "rhost": "127.0.0.1", "rport": 4343, "type": "nio_udp"}'
|
||||
|
||||
PUT /v2/compute/projects/a1e920ca-338a-4e9f-b363-aa607b09dd80/virtualbox/nodes/0676cad3-3893-4a88-9535-f4a248723907/adapters/0/ports/0/nio HTTP/1.1
|
||||
{
|
||||
"filters": {},
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
||||
|
||||
|
||||
HTTP/1.1 201
|
||||
Connection: close
|
||||
Content-Length: 108
|
||||
Content-Type: application/json
|
||||
Date: Mon, 08 Jan 2018 08:15:58 GMT
|
||||
Server: Python/3.6 GNS3/2.1.2dev1
|
||||
X-Route: /v2/compute/projects/{project_id}/virtualbox/nodes/{node_id}/adapters/{adapter_number:\d+}/ports/{port_number:\d+}/nio
|
||||
|
||||
{
|
||||
"filters": {},
|
||||
"lport": 4242,
|
||||
"rhost": "127.0.0.1",
|
||||
"rport": 4343,
|
||||
"type": "nio_udp"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user