From 024458ce91933ca31e389e942607b892fe0caeba Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Tue, 3 Apr 2018 19:10:48 +0200 Subject: [PATCH] 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 --- ttcn3-bts-test/BTS_Tests.cfg | 1 + ttcn3-bts-test/osmo-bts.cfg | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ttcn3-bts-test/BTS_Tests.cfg b/ttcn3-bts-test/BTS_Tests.cfg index 423525d7..2f5d752f 100644 --- a/ttcn3-bts-test/BTS_Tests.cfg +++ b/ttcn3-bts-test/BTS_Tests.cfg @@ -12,6 +12,7 @@ BTS_Tests.mp_rsl_ip := "172.18.9.10" 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 036f7195..ae809fd1 100644 --- a/ttcn3-bts-test/osmo-bts.cfg +++ b/ttcn3-bts-test/osmo-bts.cfg @@ -79,3 +79,5 @@ bts 0 power-ramp step-interval 1 ms-power-control dsp phy 0 instance 0 +ctrl + bind 0.0.0.0