[PATCH] docker-playground[master]: ttcn3-bts-test: properly configure CTRL interface

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/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Tue Apr 3 17:30:47 UTC 2018


Review at  https://gerrit.osmocom.org/7622

ttcn3-bts-test: properly configure CTRL interface

osmo-ttcn3-hacks adds configuration of the CTRL interface in
I502b4891e6720ae2fb251c03542f707880a6f728. We need proper IP addresses here for
the f_ipa_ctrl_start() to work.

WARNING: This commit has to be merged "at the same time" as
I502b4891e6720ae2fb251c03542f707880a6f728 or the jenkins ttcn3-bts-tests will
fail.

a) if we want to set a modulepar mp_ctrl_ip here, it needs to be added to
osmo-ttcn3-hacks.

b) if we have the f_ipa_ctrl_start() in osmo-ttcn3-hacks, we need to configure
the proper IP and bind interface here, or all tests will fail because
f_ipa_ctrl_start() cannot connect.

Change-Id: I1ec86b157ebd46bf622a0ca51eba225f15c99fbb
---
M ttcn3-bts-test/BTS_Tests.cfg
M ttcn3-bts-test/osmo-bts.cfg
2 files changed, 3 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/docker-playground refs/changes/22/7622/1

diff --git a/ttcn3-bts-test/BTS_Tests.cfg b/ttcn3-bts-test/BTS_Tests.cfg
index 423525d..2f5d752 100644
--- a/ttcn3-bts-test/BTS_Tests.cfg
+++ b/ttcn3-bts-test/BTS_Tests.cfg
@@ -12,6 +12,7 @@
 BTS_Tests.mp_bb_trxc_ip := "172.18.9.21"
 BTS_Tests.mp_pcu_socket := "/data/unix/pcu_sock"
 L1CTL_PortType.m_l1ctl_sock_path := "/data/unix/osmocom_l2"
+BTS_Tests.mp_ctrl_ip   := "172.18.9.20"
 
 [MAIN_CONTROLLER]
 
diff --git a/ttcn3-bts-test/osmo-bts.cfg b/ttcn3-bts-test/osmo-bts.cfg
index 036f719..ae809fd 100644
--- a/ttcn3-bts-test/osmo-bts.cfg
+++ b/ttcn3-bts-test/osmo-bts.cfg
@@ -79,3 +79,5 @@
   power-ramp step-interval 1
   ms-power-control dsp
   phy 0 instance 0
+ctrl
+ bind 0.0.0.0

-- 
To view, visit https://gerrit.osmocom.org/7622
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1ec86b157ebd46bf622a0ca51eba225f15c99fbb
Gerrit-PatchSet: 1
Gerrit-Project: docker-playground
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>



More information about the gerrit-log mailing list