Commit 2ba7fded authored by sagar arora's avatar sagar arora

Merge branch 'upf_profile_fix' into 'develop'

Ignore SD value for standard SST

See merge request oai/cn5g/oai-cn5g-upf-vpp!28
parents 7456794f 241c70b6
......@@ -100,6 +100,13 @@ ip link set n6 up
ip route add $NETWORK_UE_IP via $SGI_IPV4 dev n6
# If standard SST is provided then ignore SD values
if [[ "$SST" -lt 128 ]]; then
sed '/sd/d' ${CONFIG_DIR}/upf_profile.json > ${CONFIG_DIR}/tmp_profile.json
mv ${CONFIG_DIR}/tmp_profile.json ${CONFIG_DIR}/upf_profile.json
fi
echo "Done setting the configuration"
exec "$@"
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