hnodeb: Update Dockerfile, configs with new deps, configs

Pull in libgtp, configure LL socket, etc.

Change-Id: I5b223149cbbea16e4ccd9b3874874c6366fe7969
changes/44/26544/2
Pau Espin 1 year ago committed by pespin
parent 709a30b536
commit b9e45af675
  1. 1
      osmo-hnodeb-master/Dockerfile
  2. 1
      ttcn3-hnodeb-test/HNB_Tests.cfg
  3. 6
      ttcn3-hnodeb-test/jenkins.sh
  4. 4
      ttcn3-hnodeb-test/osmo-hnodeb.cfg

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

@ -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]

@ -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

@ -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

Loading…
Cancel
Save