Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
cn5g
oai-cn5g-upf-vpp
Commits
b29bfd6c
Commit
b29bfd6c
authored
Nov 25, 2021
by
Raphael Defosseux
Browse files
Merge branch 'vpp_run_check' into 'develop'
wait nrf process before vpp getting ready See merge request
!13
parents
8b36d4f2
7bd927da
Changes
1
Show whitespace changes
Inline
Side-by-side
scripts/run.sh
View file @
b29bfd6c
...
...
@@ -67,8 +67,19 @@ else
exit
1
fi
while
:
do
echo
"waiting for vpp-upf service"
RES
=
$(
bin/vppctl sh upf specification release |
awk
{
'print $3'
}
)
echo
$RES
if
[[
$RES
=
~ 16
]]
;
then
echo
"vpp-upf service is running now"
break
fi
sleep
3
done
if
[[
${
REGISTER_NRF
}
==
"yes"
]]
;
then
sleep
5
NRF_APP
=
"
$base
/bin/nrf_client.py"
NRF_ARGS
=
" --nrf_ip="
$NRF_IP_ADDR
" --nrf_port="
$NRF_PORT
" --http_version="
$HTTP_VERSION
python
$NRF_APP
$NRF_ARGS
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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