summaryrefslogtreecommitdiffstats
path: root/src/osmo_gsm_tester/templates
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2017-11-16 18:06:37 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2017-11-20 16:05:43 +0000
commit1e1d381a591d3237f9f3203d27ba5db7ef8f6e27 (patch)
tree7ff2659a55dcb95fbdfe11d4fc168338c8471e8f /src/osmo_gsm_tester/templates
parentfd5de3d2ca09ef0d4e2595dec9404075a5cbf8df (diff)
Configure bsc and msc to connect to the specific stp provided in test
Diffstat (limited to 'src/osmo_gsm_tester/templates')
-rw-r--r--src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl5
-rw-r--r--src/osmo_gsm_tester/templates/osmo-msc.cfg.tmpl5
-rw-r--r--src/osmo_gsm_tester/templates/osmo-stp.cfg.tmpl1
3 files changed, 11 insertions, 0 deletions
diff --git a/src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl b/src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
index 2f06710..1b21e63 100644
--- a/src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/osmo-bsc.cfg.tmpl
@@ -15,6 +15,11 @@ e1_input
ipa bind ${bsc.ip_address.addr}
cs7 instance 1
point-code 0.0.2
+ asp asp0 2905 0 m3ua
+ remote-ip ${stp.ip_address.addr}
+ as as0 m3ua
+ asp asp0
+ routing-key 2 0.0.2
sccp-address bsc_local
point-code 0.0.2
routing-indicator PC
diff --git a/src/osmo_gsm_tester/templates/osmo-msc.cfg.tmpl b/src/osmo_gsm_tester/templates/osmo-msc.cfg.tmpl
index 9ac68b3..149833a 100644
--- a/src/osmo_gsm_tester/templates/osmo-msc.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/osmo-msc.cfg.tmpl
@@ -19,6 +19,11 @@ network
authentication ${msc.net.authentication}
cs7 instance 0
point-code 0.0.1
+ asp asp0 2905 0 m3ua
+ remote-ip ${stp.ip_address.addr}
+ as as0 m3ua
+ asp asp0
+ routing-key 1 0.0.1
msc
mgw remote-ip ${mgw.ip_address.addr}
assign-tmsi
diff --git a/src/osmo_gsm_tester/templates/osmo-stp.cfg.tmpl b/src/osmo_gsm_tester/templates/osmo-stp.cfg.tmpl
index eb6ac1d..6504b9e 100644
--- a/src/osmo_gsm_tester/templates/osmo-stp.cfg.tmpl
+++ b/src/osmo_gsm_tester/templates/osmo-stp.cfg.tmpl
@@ -14,3 +14,4 @@ cs7 instance 0
xua rkm routing-key-allocation dynamic-permitted
listen m3ua 2905
accept-asp-connections dynamic-permitted
+ local-ip ${stp.ip_address.addr}