path: root/example
diff options
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')
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:
- nominal_power: 25
+ type: srsepc
mcc: 901
mnc: 70
rlc_drb_mode: UM
enable_pcap: false
+ license_server_addr:
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 @@
+ epc:
+ type: ${param1}