Fix ttcn3-sgsn-latest (cs7 instance override)

Change-Id: Ie45fa7875b409c3955c26d333110c36453c276f9
This commit is contained in:
Pau Espin 2019-08-19 19:14:36 +02:00
parent d3e667989d
commit b1999827f5
1 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,12 @@ cp SGSN_Tests.cfg $VOL_BASE_DIR/sgsn-tester/
mkdir $VOL_BASE_DIR/sgsn
cp osmo-sgsn.cfg $VOL_BASE_DIR/sgsn/
# Latest release of osmo-sgsn (1.5.0) uses harcoded default ss7 id 1 from
# libosmo-sccp (1.1.0). when new osmo-sgsn release is available, these lines
# below can be dropped:
if [ "$IMAGE_SUFFIX" = "latest" ]; then
sed "s/cs7 instance 0/cs7 instance 1/g" -i $VOL_BASE_DIR/sgsn/osmo-sgsn.cfg
fi
mkdir $VOL_BASE_DIR/stp
cp osmo-stp.cfg $VOL_BASE_DIR/stp/