Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
MEC - Multi-access Edge Computing
MEC TTCN-3 Test Suite
Commits
dc1af394
Commit
dc1af394
authored
Sep 14, 2021
by
YannGarcia
Browse files
Bug fixed in docker/run.sh
parent
81f080a7
Changes
4
Hide whitespace changes
Inline
Side-by-side
ccsrc/Protocols/Tcp/tcp_layer.cc
View file @
dc1af394
...
...
@@ -79,9 +79,9 @@ tcp_layer::tcp_layer(const std::string & p_type, const std::string & param) : la
parameter_set
(
"serverPort"
,
_params
[
params
::
local_port
].
c_str
());
if
(
ssl_mode
)
{
// Add certificate bundle
parameter_set
(
ssl_verifycertificate_name
(),
"yes"
);
parameter_set
(
ssl_private_key_file_name
(),
"../certificates/out/privates/
486c4cb43fcbcdb5f564824ad201cffb405f3d3659fc1facd5f5cb21d4ea64e
0_server_
r
sa.key.pem"
);
parameter_set
(
ssl_certificate_file_name
(),
"../certificates/out/certs/
486c4cb43fcbcdb5f564824ad201cffb405f3d3659fc1facd5f5cb21d4ea64e
0_server_
r
sa.cert.pem"
);
parameter_set
(
ssl_trustedCAlist_file_name
(),
"../certificates/out/certs/CA_
r
sa.cert.pem"
);
// FIXME Use a parameter
parameter_set
(
ssl_private_key_file_name
(),
"../certificates/out/privates/
e5e11abad8003766e4a7b721afb175a189b5f4cc7046af9b0d8eaebb86f28c4
0_server_
d
sa.key.pem"
);
parameter_set
(
ssl_certificate_file_name
(),
"../certificates/out/certs/
e5e11abad8003766e4a7b721afb175a189b5f4cc7046af9b0d8eaebb86f28c4
0_server_
d
sa.cert.pem"
);
parameter_set
(
ssl_trustedCAlist_file_name
(),
"../certificates/out/certs/CA_
d
sa.cert.pem"
);
// FIXME Use a parameter
}
}
set_ttcn_buffer_usercontrol
(
false
);
...
...
docker/home/etc/init.d/40-ttf_t012.sh
View file @
dc1af394
...
...
@@ -31,7 +31,7 @@ make
echo
-e
"*****************************
\n
* Init Eclipse Workspace
\n
*****************************
\n
"
echo
-e
"*****************************
\n
*
Build Mec test suit
e
\n
*****************************
\n
"
echo
-e
"*****************************
\n
*
Setup a configuration fil
e
\n
*****************************
\n
"
cd
./etc/AtsMec
ln
-sf
AtsMec_Sandbox.cf_ AtsMec.cfg
cd
-
...
...
docker/run.sh
View file @
dc1af394
...
...
@@ -5,7 +5,8 @@
#set -e
set
-vx
docker run
--interactive
--tty
--rm
--publish
2222:22
--env
DISPLAY
=
$DISPLAY
--volume
/tmp/.X11-unix:/tmp/.X11-unix
--cap-add
=
NET_RAW
--cap-add
=
NET_ADMIN ttf_t012_mec:latest
docker run
--interactive
--tty
--rm
--publish
2222:22
--env
DISPLAY
=
$DISPLAY
--volume
/tmp/.X11-unix:/tmp/.X11-unix
--cap-add
=
NET_RAW
--cap-add
=
NET_ADMIN ttf_t012_mec:latest /bin/bash
-c
"export ATS=AtsMec && cd ~ && . ./devenv.bash && sed --in-place 's/sbxpl1eil4/sbxrsvoat/g' ~/dev/TTF_T012_Mec/etc/AtsMec/AtsMec.cfg && cd ~/dev/TTF_T012_Mec/scripts && ./run_all.bash"
#docker run --interactive --tty --rm --publish 2222:22 --env DISPLAY=$DISPLAY --volume /tmp/.X11-unix:/tmp/.X11-unix --cap-add=NET_RAW --cap-add=NET_ADMIN ttf_t012_mec:latest
# That's all Floks
exit
0
etc/AtsMec/AtsMec_Sandbox.cf_
View file @
dc1af394
...
...
@@ -14,7 +14,7 @@ LibItsHttp_Pics.PICS_HEADER_CONTENT_TYPE := "application/json"
LibItsHttp_Pics.PICS_USE_TOKEN_HEADER := true
#LibItsHttp_Pics.PICS_TOKEN_HEADER := "Basic WrongToken"
LibMec_Pics.PICS_ROOT_API := "/sbx
pl1eil4
" # Need to sign in on https://try-mec.etsi.org/, section 'Try-it from your MEC application'
LibMec_Pics.PICS_ROOT_API := "/sbx
zzmplso
" # Need to sign in on https://try-mec.etsi.org/, section 'Try-it from your MEC application'
# LibMec_Pixits
LibMec_Pixits.PX_ME_APP_Q_ZONE_ID_URI := "/location/v2/queries/zones"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment