Change in docker-playground[master]: hnodeb: Update Dockerfile, configs with new deps, configs

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Wed Dec 15 14:39:32 UTC 2021


pespin has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/26544 )

Change subject: hnodeb: Update Dockerfile, configs with new deps, configs
......................................................................

hnodeb: Update Dockerfile, configs with new deps, configs

Pull in libgtp, configure LL socket, etc.

Change-Id: I5b223149cbbea16e4ccd9b3874874c6366fe7969
---
M osmo-hnodeb-master/Dockerfile
M ttcn3-hnodeb-test/HNB_Tests.cfg
M ttcn3-hnodeb-test/jenkins.sh
M ttcn3-hnodeb-test/osmo-hnodeb.cfg
4 files changed, 12 insertions(+), 0 deletions(-)

Approvals:
  pespin: Looks good to me, approved; Verified



diff --git a/osmo-hnodeb-master/Dockerfile b/osmo-hnodeb-master/Dockerfile
index 1a3ded9..a7ff068 100644
--- a/osmo-hnodeb-master/Dockerfile
+++ b/osmo-hnodeb-master/Dockerfile
@@ -10,6 +10,7 @@
 		libosmo-abis-dev \
 		libosmo-netif-dev \
 		libosmo-sigtran-dev \
+		libgtp-dev \
 		libasn1c-dev && \
 	apt-get clean
 
diff --git a/ttcn3-hnodeb-test/HNB_Tests.cfg b/ttcn3-hnodeb-test/HNB_Tests.cfg
index 9190e1b..677e12b 100644
--- a/ttcn3-hnodeb-test/HNB_Tests.cfg
+++ b/ttcn3-hnodeb-test/HNB_Tests.cfg
@@ -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]
 
diff --git a/ttcn3-hnodeb-test/jenkins.sh b/ttcn3-hnodeb-test/jenkins.sh
index 8bcfbf4..358280d 100755
--- a/ttcn3-hnodeb-test/jenkins.sh
+++ b/ttcn3-hnodeb-test/jenkins.sh
@@ -10,12 +10,16 @@
 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_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 @@
 		--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
diff --git a/ttcn3-hnodeb-test/osmo-hnodeb.cfg b/ttcn3-hnodeb-test/osmo-hnodeb.cfg
index e3925e8..7d24700 100644
--- a/ttcn3-hnodeb-test/osmo-hnodeb.cfg
+++ b/ttcn3-hnodeb-test/osmo-hnodeb.cfg
@@ -23,3 +23,7 @@
  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

-- 
To view, visit https://gerrit.osmocom.org/c/docker-playground/+/26544
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Change-Id: I5b223149cbbea16e4ccd9b3874874c6366fe7969
Gerrit-Change-Number: 26544
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-CC: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211215/ed80d993/attachment.htm>


More information about the gerrit-log mailing list