aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-03-31 13:45:01 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-03-31 19:18:18 +0200
commitda2e31f929d3c0b4eee59de25a700d90403a68aa (patch)
treedceae59d02b80a82aaeddd4e79e196924aa4ba4a /example
parent55e278c758e2855920258c67b8c2227011b6c6ad (diff)
Introduce support for AmarisoftEPC
* A new abstract generic base class EPC is created * srsEPC and AmarisoftEPC inherit from that class * options are loaded from defaults.conf in cascade. First generic "epc", afterwards the specific enb type. * A new scenario is added to select the EPC type to use. srsEPC is the default unless stated by an scenario. * AmarisoftEPC delegates setup of the tun IP address to an "ifup" script. As a result, since we run without root permissions (ony with CAP_NET_ADMIN), the ifup script itself is unablet o set the IP address. To solve this, we introduce a new osmo-gsm-tester helper script which must be installed in the slave node which can be called through sudo to increase privileges to do so. With this commit, I can already get srsUE<->amarisoftENB<->amarisoftEPC to pass ping and iperf3 4g tests. Change-Id: Ia50ea6a74b63b2d688c8d683aea11416ad40a6d3
Diffstat (limited to 'example')
-rw-r--r--example/defaults.conf7
-rw-r--r--example/scenarios/cfg-epc-type@.conf3
2 files changed, 9 insertions, 1 deletions
diff --git a/example/defaults.conf b/example/defaults.conf
index bcd1fa2..56a41e5 100644
--- a/example/defaults.conf
+++ b/example/defaults.conf
@@ -93,12 +93,17 @@ osmo_bts_oc2g:
trx_list:
- nominal_power: 25
-srsepc:
+epc:
+ type: srsepc
mcc: 901
mnc: 70
+srsepc:
rlc_drb_mode: UM
enable_pcap: false
+amarisoftepc:
+ license_server_addr: 10.12.1.139
+
enb:
mcc: 901
mnc: 70
diff --git a/example/scenarios/cfg-epc-type@.conf b/example/scenarios/cfg-epc-type@.conf
new file mode 100644
index 0000000..89b7fba
--- /dev/null
+++ b/example/scenarios/cfg-epc-type@.conf
@@ -0,0 +1,3 @@
+config:
+ epc:
+ type: ${param1}