aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-05-22 20:16:19 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-05-27 18:06:06 +0000
commit808801a9fae16481a74ea9f48069e2fe5cbf86c0 (patch)
tree6e3caaca20871da429fd1e992311f33fb3bbc101
parent77bf937cac4398074e7ec39b5460e74f4451bf4c (diff)
ttcn3-bscnat: Prepare cfgs for VTY & Osmux support
* Adding "osmux on" for each BSC will be required to enable Osmux later on, but still it doesn't change behavior now because Osmux must be enabled globally too (will be done through VTY). * Set up correct bind and remote IP addr to have VTY working later on. * Use extended timestamp to have subsecond accuracy to match with pcap easily. Change-Id: I794a17bdeaff9ab9316d7a6acb1e58dfd815b645
-rw-r--r--ttcn3-bscnat-test/BSCNAT_Tests.cfg1
-rw-r--r--ttcn3-bscnat-test/bscs.config3
-rw-r--r--ttcn3-bscnat-test/osmo-bsc-nat.cfg2
3 files changed, 6 insertions, 0 deletions
diff --git a/ttcn3-bscnat-test/BSCNAT_Tests.cfg b/ttcn3-bscnat-test/BSCNAT_Tests.cfg
index d23178f..e6b544c 100644
--- a/ttcn3-bscnat-test/BSCNAT_Tests.cfg
+++ b/ttcn3-bscnat-test/BSCNAT_Tests.cfg
@@ -6,6 +6,7 @@
*.JUnitLogger.testsuite_name := "BSCNAT_Tests"
[TESTPORT_PARAMETERS]
+*.BSCNATVTY.CTRL_HOSTNAME := "172.18.15.20"
[MODULE_PARAMETERS]
mp_bsc_port := 49999;
diff --git a/ttcn3-bscnat-test/bscs.config b/ttcn3-bscnat-test/bscs.config
index 6afa09b..16cfa2b 100644
--- a/ttcn3-bscnat-test/bscs.config
+++ b/ttcn3-bscnat-test/bscs.config
@@ -5,15 +5,18 @@ nat
description bsc
max-endpoints 32
paging forbidden 0
+ osmux on
bsc 1
token BSC1
location_area_code 2
description bsc
max-endpoints 32
paging forbidden 0
+ osmux on
bsc 2
token BSC2
location_area_code 3
description bsc
max-endpoints 32
paging forbidden 0
+ osmux on
diff --git a/ttcn3-bscnat-test/osmo-bsc-nat.cfg b/ttcn3-bscnat-test/osmo-bsc-nat.cfg
index bca4628..ffc3ff0 100644
--- a/ttcn3-bscnat-test/osmo-bsc-nat.cfg
+++ b/ttcn3-bscnat-test/osmo-bsc-nat.cfg
@@ -7,10 +7,12 @@ log file /data/osmo-bsc_nat.log
logging color 0
logging print category 1
logging timestamp 1
+ logging print extended-timestamp 1
logging level force-all debug
!
line vty
no login
+ bind 0.0.0.0
!
mgcp
bind ip 172.18.15.20