commit | be5156c5c1ca61325190381f60de01dd4a3cce72 | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Wed May 12 18:01:29 2021 +0200 |
committer | Pau Espin Pedrol <pespin@sysmocom.de> | Wed May 12 19:36:18 2021 +0200 |
tree | a94733b940ded2357a79cf80c9bc7ee5e579a67a | |
parent | 3ccf09f5c0c71981dfe1e5e8bfc02984410c2679 [diff] |
open5gs: Pre-configure tun device for UPF open5gs requires the tun device to be pre-created and pre-configured before using it. A ticket was opened in order to allow upfd itself configuring it in [1] [1] https://github.com/open5gs/open5gs/issues/899 Change-Id: I3b1857f09017cacee1c86f41dae1463c11b50490
diff --git a/src/osmo_gsm_tester/templates/open5gs-smfd.yaml.tmpl b/src/osmo_gsm_tester/templates/open5gs-smfd.yaml.tmpl index f2bd807..00a0eae 100644 --- a/src/osmo_gsm_tester/templates/open5gs-smfd.yaml.tmpl +++ b/src/osmo_gsm_tester/templates/open5gs-smfd.yaml.tmpl
@@ -318,7 +318,7 @@ - addr: ${epc.run_addr} port: 2153 subnet: - - addr: ${epc.tun_addr}/16 + - addr: ${epc.tun_addr}/${epc.tun_netmask} dns: - 8.8.8.8 - 8.8.4.4
diff --git a/src/osmo_gsm_tester/templates/open5gs-upfd.yaml.tmpl b/src/osmo_gsm_tester/templates/open5gs-upfd.yaml.tmpl index 87066d6..757c0ec 100644 --- a/src/osmo_gsm_tester/templates/open5gs-upfd.yaml.tmpl +++ b/src/osmo_gsm_tester/templates/open5gs-upfd.yaml.tmpl
@@ -110,7 +110,9 @@ - addr: ${epc.run_addr} port: 2154 subnet: - - addr: ${epc.tun_addr}/16 + - addr: ${epc.tun_addr}/${epc.tun_netmask} + dnn: ${epc.apn_name} + dev: ${epc.tun_name} # # smf: