hnodeb: Update Dockerfile, configs with new deps, configs

Pull in libgtp, configure LL socket, etc.

Change-Id: I5b223149cbbea16e4ccd9b3874874c6366fe7969
This commit is contained in:
Pau Espin 2021-12-13 18:01:34 +01:00 committed by pespin
parent 709a30b536
commit b9e45af675
4 changed files with 12 additions and 0 deletions

View File

@ -10,6 +10,7 @@ RUN apt-get update && \
libosmo-abis-dev \
libosmo-netif-dev \
libosmo-sigtran-dev \
libgtp-dev \
libasn1c-dev && \
apt-get clean

View File

@ -12,6 +12,7 @@
[MODULE_PARAMETERS]
HNB_Tests.mp_hnodeb_ip := "172.18.33.20";
HNB_Tests.mp_hnbgw_iuh_ip := "172.18.33.203";
HNB_Tests.mp_hnbllif_sk_path := "/data/unix/ll_sock";
[MAIN_CONTROLLER]

View File

@ -10,12 +10,16 @@ set_clean_up_trap
set -e
mkdir $VOL_BASE_DIR/hnodeb-tester
mkdir $VOL_BASE_DIR/hnodeb-tester/unix
cp HNB_Tests.cfg $VOL_BASE_DIR/hnodeb-tester/
write_mp_osmo_repo "$VOL_BASE_DIR/hnodeb-tester/HNB_Tests.cfg"
mkdir $VOL_BASE_DIR/hnodeb
mkdir $VOL_BASE_DIR/hnodeb/unix
cp osmo-hnodeb.cfg $VOL_BASE_DIR/hnodeb/
mkdir $VOL_BASE_DIR/unix
SUBNET=33
network_create $SUBNET
@ -24,6 +28,7 @@ docker run --rm \
$(docker_network_params $SUBNET 20) \
--ulimit core=-1 \
-v $VOL_BASE_DIR/hnodeb:/data \
-v $VOL_BASE_DIR/unix:/data/unix \
--name ${BUILD_TAG}-hnodeb -d \
$DOCKER_ARGS \
$REPO_USER/osmo-hnodeb-$IMAGE_SUFFIX
@ -34,6 +39,7 @@ docker run --rm \
--ulimit core=-1 \
-e "TTCN3_PCAP_PATH=/data" \
-v $VOL_BASE_DIR/hnodeb-tester:/data \
-v $VOL_BASE_DIR/unix:/data/unix \
--name ${BUILD_TAG}-ttcn3-hnodeb-test \
$DOCKER_ARGS \
$REPO_USER/ttcn3-hnodeb-test

View File

@ -23,3 +23,7 @@ hnodeb
iuh
local-ip 172.18.33.20
remote-ip 172.18.33.203
ll-socket
path /data/unix/ll_sock
gtp
local-ip 172.18.33.20