Commit b29bfd6c authored by Raphael Defosseux's avatar Raphael Defosseux

Merge branch 'vpp_run_check' into 'develop'

wait nrf process before vpp getting ready

See merge request oai/cn5g/oai-cn5g-upf-vpp!13
parents 8b36d4f2 7bd927da
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment