Change in osmo-ttcn3-hacks[master]: bts: Run everything over 127.0.0.1

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

laforge gerrit-no-reply at lists.osmocom.org
Tue Oct 20 16:05:07 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20803 )


Change subject: bts: Run everything over 127.0.0.1
......................................................................

bts: Run everything over 127.0.0.1

When the test is executed outside of docker, having to manage all
those different IP addresses while manually starting programs can be
quite cumbersome.  Let's just run everything over localhost, like
we always do with other tests.

Now the only cumbersome command to start is trxcon, as it defaults to
only one TRX and adding additional TRX is rather complicated:

./fake_trx.py --trx TRX1 at 127.0.0.1:5700/1 --trx TRX2 at 127.0.0.1:5700/2 --trx TRX3 at 127.0.0.1:5700/3

Change-Id: Iea8519685da7d73696ce9cc2541e93c45c099828
---
M bts/BTS_Tests.cfg
M bts/osmo-bsc.cfg
M bts/osmo-bts.cfg
3 files changed, 13 insertions(+), 13 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/03/20803/1

diff --git a/bts/BTS_Tests.cfg b/bts/BTS_Tests.cfg
index ed04163..4673359 100644
--- a/bts/BTS_Tests.cfg
+++ b/bts/BTS_Tests.cfg
@@ -12,17 +12,17 @@
 #*.BTSVTY.CTRL_HOSTNAME := "10.9.1.191" # sysmoBTS Max
 #*.BTSVTY.CTRL_HOSTNAME := "10.9.1.162" # sysmoBTS Pau
 #*.BTSVTY.CTRL_HOSTNAME := "192.168.100.130" # sysmoBTS home
-*.BTSVTY.CTRL_HOSTNAME := "127.0.0.20" # osmo-bts-trx
-*.BSCVTY.CTRL_HOSTNAME := "127.0.0.11" # osmo-bsc
+#*.BTSVTY.CTRL_HOSTNAME := "127.0.0.20" # osmo-bts-trx
+#*.BSCVTY.CTRL_HOSTNAME := "127.0.0.11" # osmo-bsc
 
 [MODULE_PARAMETERS]
 L1CTL_PortType.m_l1ctl_sock_path := "/tmp/osmocom_l2"
 #BTS_Tests.mp_rsl_ip := "10.9.1.2" # office
 #BTS_Tests.mp_rsl_ip := "192.168.100.2" # home
-BTS_Tests.mp_rsl_ip := "127.0.0.10"
+#BTS_Tests.mp_rsl_ip := "127.0.0.10"
 BTS_Tests.mp_pcu_socket := "/tmp/pcu_sock"
-BTS_Tests.mp_bts_trxc_ip := "127.0.0.21"
-BTS_Tests.mp_ctrl_ip   := "127.0.0.20"
+#BTS_Tests.mp_bts_trxc_ip := "127.0.0.21"
+#BTS_Tests.mp_ctrl_ip   := "127.0.0.20"
 #BTS_Tests_OML.mp_oml_ip := "192.168.102.239" # home
 #BTS_Tests_OML.mp_oml_port := 3002
 
diff --git a/bts/osmo-bsc.cfg b/bts/osmo-bsc.cfg
index dcdacd0..1b8c8e6 100644
--- a/bts/osmo-bsc.cfg
+++ b/bts/osmo-bsc.cfg
@@ -3,7 +3,7 @@
 !!
 password foo
 !
-log gsmtap 127.0.0.10
+log gsmtap 127.0.0.1
  logging level set-all debug
  logging filter all 1
 !
@@ -27,7 +27,7 @@
 !
 line vty
  no login
- bind 127.0.0.11
+ bind 127.0.0.1
 !
 e1_input
  e1_line 0 driver ipa
@@ -75,7 +75,7 @@
   early-classmark-sending forbidden
   early-classmark-sending-3g allowed
   ip.access unit_id 1234 0
-  ip.access rsl-ip 127.0.0.10
+  ip.access rsl-ip 127.0.0.2
   oml ip.access stream_id 255 line 0
   neighbor-list mode manual-si5
   neighbor-list add arfcn 100
diff --git a/bts/osmo-bts.cfg b/bts/osmo-bts.cfg
index 0e4cdf2..b7282da 100644
--- a/bts/osmo-bts.cfg
+++ b/bts/osmo-bts.cfg
@@ -2,7 +2,7 @@
 ! OsmoBTS (0.4.0.446-e0fb) configuration saved from vty
 !!
 !
-log gsmtap 127.0.0.10
+log gsmtap 127.0.0.1
  logging level set-all debug
  logging filter all 1
 !
@@ -25,15 +25,15 @@
 !
 line vty
  no login
- bind 127.0.0.20
+ bind 127.0.0.1
 !
 e1_input
  e1_line 0 driver ipa
  e1_line 0 port 0
  no e1_line 0 keepalive
 phy 0
- osmotrx ip local 127.0.0.20
- osmotrx ip remote 127.0.0.21
+ osmotrx ip local 127.0.0.1
+ osmotrx ip remote 127.0.0.1
  osmotrx fn-advance 20
  osmotrx rts-advance 5
  instance 0
@@ -85,4 +85,4 @@
   power-ramp step-interval 1
   phy 0 instance 3
 ctrl
- bind 127.0.0.20
+ bind 127.0.0.1

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/20803
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Iea8519685da7d73696ce9cc2541e93c45c099828
Gerrit-Change-Number: 20803
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201020/0f52dd25/attachment.htm>


More information about the gerrit-log mailing list