lists.osmocom.org
Sign In Sign Up
Manage this list Sign In Sign Up

Keyboard Shortcuts

Thread View

  • j: Next unread message
  • k: Previous unread message
  • j a: Jump to all threads
  • j l: Jump to MailingList overview

gerrit-log

Thread Start a new thread
Download
Threads by month
  • ----- 2026 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2025 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2024 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2023 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
  • ----- 2022 -----
  • December
  • November
  • October
  • September
  • August
  • July
  • June
  • May
  • April
  • March
  • February
  • January
gerrit-log@lists.osmocom.org

August 2024

  • 1 participants
  • 1478 discussions
[M] Change in pysim[master]: pySim.esim.saip.templates: Add SaipSpecVersion
by laforge 10 Aug '24

10 Aug '24
laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/37738?usp=email ) Change subject: pySim.esim.saip.templates: Add SaipSpecVersion ...................................................................... pySim.esim.saip.templates: Add SaipSpecVersion The SAIP specification version implicitly determines which filesystem templates (or versions thereof) are supported. So if a given eUICC states it implements SAIP version 2.3.0, then we have to translate this into which template versions that means. The new SaipSpecVersion and its derived classes do exactly that. Change-Id: I3a894c72c22e42bd2067e067be80a67197ad1bf2 --- M pySim/esim/saip/templates.py 1 file changed, 83 insertions(+), 0 deletions(-) Approvals: Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/pySim/esim/saip/templates.py b/pySim/esim/saip/templates.py index a35779d..79afc91 100644 --- a/pySim/esim/saip/templates.py +++ b/pySim/esim/saip/templates.py @@ -17,6 +17,7 @@ from typing import * from copy import deepcopy +from pySim.utils import all_subclasses from pySim.filesystem import Path import pySim.esim.saip.oid as OID @@ -807,3 +808,85 @@ 13: ['800113A406830101950108', '800148A40683010A950108'], 14: ['80015EA40683010A950108'], } + +class SaipSpecVersionMeta(type): + def __getitem__(self, ver: str): + """Syntactic sugar so that SaipSpecVersion['2.3.0'] will work.""" + return SaipSpecVersion.for_version(ver) + +class SaipSpecVersion(object, metaclass=SaipSpecVersionMeta): + """Represents a specific version of the SIMalliance / TCA eUICC Profile Package: + Interoperable Format Technical Specification.""" + version = None + oids = [] + + @classmethod + def suports_template_OID(cls, OID: OID.OID) -> bool: + """Return if a given spec version supports a template of given OID.""" + return OID in cls.oids + + @classmethod + def version_match(cls, ver: str) -> bool: + """Check if the given version-string matches the classes version. trailing zeroes are ignored, + so that for example 2.2.0 will be considered equal to 2.2""" + def strip_trailing_zeroes(l: List): + while l[-1] == '0': + l.pop() + cls_ver_l = cls.version.split('.') + strip_trailing_zeroes(cls_ver_l) + ver_l = ver.split('.') + strip_trailing_zeroes(ver_l) + return cls_ver_l == ver_l + + @staticmethod + def for_version(req_version: str) -> Optional['SaipSpecVersion']: + """Return the subclass for the requested version number string.""" + for cls in all_subclasses(SaipSpecVersion): + if cls.version_match(req_version): + return cls + + +class SaipSpecVersion101(SaipSpecVersion): + version = '1.0.1' + oids = [OID.MF, OID.DF_CD, OID.DF_TELECOM, OID.ADF_USIM_by_default, OID.ADF_USIMopt_not_by_default, + OID.DF_PHONEBOOK_ADF_USIM, OID.DF_GSM_ACCESS_ADF_USIM, OID.ADF_ISIM_by_default, + OID.ADF_ISIMopt_not_by_default, OID.ADF_CSIM_by_default, OID.ADF_CSIMopt_not_by_default] + +class SaipSpecVersion20(SaipSpecVersion): + version = '2.0' + # no changes in filesystem teplates to previous 1.0.1 + oids = SaipSpecVersion101.oids + +class SaipSpecVersion21(SaipSpecVersion): + version = '2.1' + # no changes in filesystem teplates to previous 2.0 + oids = SaipSpecVersion20.oids + +class SaipSpecVersion22(SaipSpecVersion): + version = '2.2' + oids = SaipSpecVersion21.oids + [OID.DF_EAP] + +class SaipSpecVersion23(SaipSpecVersion): + version = '2.3' + oids = SaipSpecVersion22.oids + [OID.DF_5GS, OID.DF_SAIP] + +class SaipSpecVersion231(SaipSpecVersion): + version = '2.3.1' + # no changes in filesystem teplates to previous 2.3 + oids = SaipSpecVersion23.oids + +class SaipSpecVersion31(SaipSpecVersion): + version = '3.1' + oids = [OID.MF, OID.DF_CD, OID.DF_TELECOM_v2, OID.ADF_USIM_by_default_v2, OID.ADF_USIMopt_not_by_default_v2, + OID.DF_PHONEBOOK_ADF_USIM, OID.DF_GSM_ACCESS_ADF_USIM, OID.DF_5GS_v2, OID.DF_5GS_v3, OID.DF_SAIP, + OID.ADF_ISIM_by_default, OID.ADF_ISIMopt_not_by_default_v2, OID.ADF_CSIM_by_default_v2, + OID.ADF_CSIMopt_not_by_default_v2, OID.DF_EAP] + +class SaipSpecVersion32(SaipSpecVersion): + version = '3.2' + # no changes in filesystem teplates to previous 3.1 + oids = SaipSpecVersion31.oids + +class SaipSpecVersion331(SaipSpecVersion): + version = '3.3.1' + oids = SaipSpecVersion32.oids + [OID.ADF_USIMopt_not_by_default_v3, OID.DF_5GS_v4, OID.DF_SAIP, OID.DF_SNPN, OID.DF_5GProSe, OID.IoT_by_default, OID.IoTopt_not_by_default] -- To view, visit https://gerrit.osmocom.org/c/pysim/+/37738?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I3a894c72c22e42bd2067e067be80a67197ad1bf2 Gerrit-Change-Number: 37738 Gerrit-PatchSet: 3 Gerrit-Owner: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
1 0
0 0
[M] Change in ...osmo-s1gw[master]: add debian package files
by fixeria 10 Aug '24

10 Aug '24
Attention is currently required from: osmith. fixeria has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/37730?usp=email ) Change subject: add debian package files ...................................................................... Patch Set 3: (1 comment) Patchset: PS3: > The build passes when adding the same `contrib/generate_build_dep.sh` (with executable flag): […] Thanks a lot, Oliver! I added this file with the contents you suggested above. -- To view, visit https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/37730?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: erlang/osmo-s1gw Gerrit-Branch: master Gerrit-Change-Id: I5446c70c1c1f232a2a45de60be7068cfd683a99c Gerrit-Change-Number: 37730 Gerrit-PatchSet: 3 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: osmith <osmith(a)sysmocom.de> Gerrit-Comment-Date: Tue, 06 Aug 2024 11:41:35 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: osmith <osmith(a)sysmocom.de>
1 0
0 0
[M] Change in pysim[master]: pySim-shell: improve fsdump
by laforge 10 Aug '24

10 Aug '24
Attention is currently required from: dexter. laforge has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/pysim/+/37786?usp=email ) Change subject: pySim-shell: improve fsdump ...................................................................... Patch Set 1: Code-Review+1 (1 comment) Commit Message: https://gerrit.osmocom.org/c/pysim/+/37786/comment/9a40dc72_5ac6a546?usp=em… : PS1, Line 9: Th somehow this sentence doesn't make sense. At least I can't parse it, please rephrase. -- To view, visit https://gerrit.osmocom.org/c/pysim/+/37786?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I4d2ef7b383025a5bbf122f18ecd51b7d73aaba14 Gerrit-Change-Number: 37786 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: dexter <pmaier(a)sysmocom.de> Gerrit-Comment-Date: Thu, 08 Aug 2024 15:00:29 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes
1 0
0 0
[XS] Change in pysim[master]: pySim.esim.saip.templates: Explicitly specifiy repeatable default value
by laforge 10 Aug '24

10 Aug '24
laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/37739?usp=email ) Change subject: pySim.esim.saip.templates: Explicitly specifiy repeatable default value ...................................................................... pySim.esim.saip.templates: Explicitly specifiy repeatable default value Change-Id: I9ae2c36f5bffac392c1219bb6ea21c1c05dff4b9 --- M pySim/esim/saip/templates.py 1 file changed, 5 insertions(+), 4 deletions(-) Approvals: fixeria: Looks good to me, but someone else must approve laforge: Looks good to me, approved Jenkins Builder: Verified diff --git a/pySim/esim/saip/templates.py b/pySim/esim/saip/templates.py index 79afc91..3741b02 100644 --- a/pySim/esim/saip/templates.py +++ b/pySim/esim/saip/templates.py @@ -26,7 +26,7 @@ def __init__(self, fid:int, name:str, ftype, nb_rec: Optional[int], size:Optional[int], arr:int, sfi:Optional[int] = None, default_val:Optional[str] = None, content_rqd:bool = True, params:Optional[List] = None, ass_serv:Optional[List[int]]=None, high_update:bool = False, - pe_name:Optional[str] = None): + pe_name:Optional[str] = None, repeat:bool = False): # initialize from arguments self.fid = fid self.name = name @@ -43,6 +43,7 @@ self.arr = arr self.sfi = sfi self.default_val = default_val + self.default_val_repeat = repeat self.content_rqd = content_rqd self.params = params self.ass_serv = ass_serv @@ -393,9 +394,9 @@ FileTemplate(0x6f4b, 'EF.EXT2', 'LF', 10, 13, 8, None, '00FF...FF', False, ass_serv=[3]), FileTemplate(0x6f4c, 'EF.EXT3', 'LF', 10, 13, 2, None, '00FF...FF', False, ass_serv=[5]), FileTemplate(0x6f50, 'EF.CBMIR', 'TR', None, 20, 5, None, 'FF...FF', False, ass_serv=[16]), - FileTemplate(0x6f60, 'EF.PLMNwAcT', 'TR', None, 40, 5, 0x0a, 'FFFFFF0000'*8, False, ass_serv=[20]), - FileTemplate(0x6f61, 'EF.OPLMNwAcT', 'TR', None, 40, 2, 0x11, 'FFFFFF0000'*8, False, ass_serv=[42]), - FileTemplate(0x6f62, 'EF.HPLMNwAcT', 'TR', None, 5, 2, 0x13, 'FFFFFF0000', False, ass_serv=[43]), + FileTemplate(0x6f60, 'EF.PLMNwAcT', 'TR', None, 40, 5, 0x0a, 'FFFFFF0000', False, ass_serv=[20], repeat=True), + FileTemplate(0x6f61, 'EF.OPLMNwAcT', 'TR', None, 40, 2, 0x11, 'FFFFFF0000', False, ass_serv=[42], repeat=True), + FileTemplate(0x6f62, 'EF.HPLMNwAcT', 'TR', None, 5, 2, 0x13, 'FFFFFF0000', False, ass_serv=[43], repeat=True), FileTemplate(0x6f2c, 'EF.DCK', 'TR', None, 16, 5, None, 'FF...FF', False, ass_serv=[36]), FileTemplate(0x6f32, 'EF.CNL', 'TR', None, 30, 2, None, 'FF...FF', False, ass_serv=[37]), FileTemplate(0x6f47, 'EF.SMSR', 'LF', 10, 30, 5, None, '00FF...FF', False, ass_serv=[11]), -- To view, visit https://gerrit.osmocom.org/c/pysim/+/37739?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I9ae2c36f5bffac392c1219bb6ea21c1c05dff4b9 Gerrit-Change-Number: 37739 Gerrit-PatchSet: 3 Gerrit-Owner: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
1 0
0 0
[XS] Change in osmo-ttcn3-hacks[master]: testenv/testdir: fix typo
by osmith 10 Aug '24

10 Aug '24
osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37768?usp=email ) Change subject: testenv/testdir: fix typo ...................................................................... testenv/testdir: fix typo Change-Id: Id61b770ff3b6fdee0dedcdab6eca3760dddc287a --- M _testenv/testenv/testdir.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/68/37768/1 diff --git a/_testenv/testenv/testdir.py b/_testenv/testenv/testdir.py index f7abe2e..242d17d 100644 --- a/_testenv/testenv/testdir.py +++ b/_testenv/testenv/testdir.py @@ -159,7 +159,7 @@ logging.info(msg) return - logging.debug("Remving empty log dir") + logging.debug("Removing empty log dir") testenv.cmd.run(["rm", "-d", testdir_topdir], no_podman=True) # Remove broken symlink -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37768?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Id61b770ff3b6fdee0dedcdab6eca3760dddc287a Gerrit-Change-Number: 37768 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith(a)sysmocom.de>
1 0
0 0
[XS] Change in docker-playground[master]: debian-bookworm-build: update sphinx-argparse branch
by laforge 10 Aug '24

10 Aug '24
Attention is currently required from: osmith. laforge has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/docker-playground/+/37767?usp=email ) Change subject: debian-bookworm-build: update sphinx-argparse branch ...................................................................... Patch Set 1: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/37767?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: I666972097db269dd1e46031854719210e993a71a Gerrit-Change-Number: 37767 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: osmith <osmith(a)sysmocom.de> Gerrit-Comment-Date: Mon, 05 Aug 2024 12:29:34 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[XS] Change in osmo-ttcn3-hacks[master]: testenv: podman.is_running() -> testenv.args.podman
by fixeria 10 Aug '24

10 Aug '24
Attention is currently required from: osmith, pespin. fixeria has posted comments on this change by osmith. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37765?usp=email ) Change subject: testenv: podman.is_running() -> testenv.args.podman ...................................................................... Patch Set 3: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37765?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Iea634f5e97d14f1f7e777f4609b9593974964d23 Gerrit-Change-Number: 37765 Gerrit-PatchSet: 3 Gerrit-Owner: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: osmith <osmith(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Mon, 05 Aug 2024 11:33:07 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in ...osmo_dia2gsup[master]: examples/sys.config: add default lager formatting config
by fixeria 10 Aug '24

10 Aug '24
fixeria has submitted this change. ( https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/37719?usp=email ) ( 1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: examples/sys.config: add default lager formatting config ...................................................................... examples/sys.config: add default lager formatting config Related: OS#6450 Change-Id: I2b9c3111a0539703f96c265ae16a0413460d0217 --- M examples/sys.config 1 file changed, 16 insertions(+), 1 deletion(-) Approvals: laforge: Looks good to me, approved osmith: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/examples/sys.config b/examples/sys.config index 8814893..c85eee7 100644 --- a/examples/sys.config +++ b/examples/sys.config @@ -9,4 +9,19 @@ {origin_host, "hss.localdomain"}, {origin_realm, "localdomain"}, {vendor_id, 0} -]}]. +]}, +%% https://github.com/erlang-lager/lager?tab=readme-ov-file#custom-formatting +{lager, [ + {handlers, [ + {lager_console_backend, [ + {level, info}, + {formatter, lager_default_formatter}, + {formatter_config, [ + time, " ", + "[", severity ,"] ", + message, "\n" + ]} + ]} + ]} +]} +]. -- To view, visit https://gerrit.osmocom.org/c/erlang/osmo_dia2gsup/+/37719?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: erlang/osmo_dia2gsup Gerrit-Branch: master Gerrit-Change-Id: I2b9c3111a0539703f96c265ae16a0413460d0217 Gerrit-Change-Number: 37719 Gerrit-PatchSet: 4 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
1 0
0 0
[XS] Change in docker-playground[master]: debian-bookworm-build: update sphinx-argparse branch
by laforge 10 Aug '24

10 Aug '24
laforge has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/37767?usp=email ) Change subject: debian-bookworm-build: update sphinx-argparse branch ...................................................................... debian-bookworm-build: update sphinx-argparse branch Our changes are now in the "inside-classes" branch. Fix for: Collecting sphinx-argparse Cloning https://github.com/osmocom/sphinx-argparse (to revision master) to /tmp/pip-install-cff9hqce/sphinx-argparse_4b90c55018034988836549dbf04f94ad Running command git clone --filter=blob:none --quiet https://github.com/osmocom/sphinx-argparse /tmp/pip-install-cff9hqce/sphinx-argparse_4b90c55018034988836549dbf04f94ad WARNING: Did not find branch or tag 'master', assuming revision or ref. Running command git checkout -q master error: pathspec 'master' did not match any file(s) known to git Change-Id: I666972097db269dd1e46031854719210e993a71a --- M debian-bookworm-build/Dockerfile 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/debian-bookworm-build/Dockerfile b/debian-bookworm-build/Dockerfile index 952631b..3efbc6e 100644 --- a/debian-bookworm-build/Dockerfile +++ b/debian-bookworm-build/Dockerfile @@ -176,7 +176,7 @@ cat /tmp/pysim_requirements.txt && \ pip3 install --break-system-packages \ 'git+https://github.com/eriwen/lcov-to-cobertura-xml.git' \ - 'git+https://github.com/osmocom/sphinx-argparse@master#egg=sphinx-argparse' \ + 'git+https://github.com/osmocom/sphinx-argparse@inside-classes#egg=sphinx-ar…' \ 'git+https://github.com/podshumok/python-smpplib.git' \ 'pydbus' \ 'pysispm' \ -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/37767?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: I666972097db269dd1e46031854719210e993a71a Gerrit-Change-Number: 37767 Gerrit-PatchSet: 1 Gerrit-Owner: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
1 0
0 0
[M] Change in docker-playground[master]: ttcn3-epdg-test: remove latest code path
by osmith 10 Aug '24

10 Aug '24
osmith has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/37781?usp=email ) Change subject: ttcn3-epdg-test: remove latest code path ...................................................................... ttcn3-epdg-test: remove latest code path Use the same config in latest as in master, as a new version 0.1.0 has been released recently. This fixes the two currently failing tests on latest. The ttcn3-epdg-test has not been replaced by testenv (OS#6494) yet, so let's fix it here. Change-Id: I522824a6df3c58d26788c8d9e978759e7ec8a462 --- M ttcn3-epdg-test/epdg.sh D ttcn3-epdg-test/osmo-epdg.latest.config 2 files changed, 1 insertion(+), 92 deletions(-) Approvals: fixeria: Looks good to me, approved Jenkins Builder: Verified laforge: Looks good to me, but someone else must approve diff --git a/ttcn3-epdg-test/epdg.sh b/ttcn3-epdg-test/epdg.sh index b8cb7b7..2614bf9 100755 --- a/ttcn3-epdg-test/epdg.sh +++ b/ttcn3-epdg-test/epdg.sh @@ -11,11 +11,7 @@ ip addr add $UE_ADDR dev $UE_IFACE ip link set $UE_IFACE up ip rule add from $UE_SUBNET table 45 -if [ "$IMAGE_SUFFIX" = "latest" ]; then - ERL_FLAGS='-config /data/osmo-epdg.latest.config' /usr/bin/osmo-epdg & -else - ERL_FLAGS='-config /data/osmo-epdg.config' /tmp/osmo-epdg/_build/default/bin/osmo-epdg & -fi +ERL_FLAGS='-config /data/osmo-epdg.config' /tmp/osmo-epdg/_build/default/bin/osmo-epdg & MYPID=$! # We cannot set a route for the interface until it is created by osmo-epdg... diff --git a/ttcn3-epdg-test/osmo-epdg.latest.config b/ttcn3-epdg-test/osmo-epdg.latest.config deleted file mode 100644 index ab176c8..0000000 --- a/ttcn3-epdg-test/osmo-epdg.latest.config +++ /dev/null @@ -1,87 +0,0 @@ -[ - %% =========================================== - %% Application config - %% =========================================== - {osmo_epdg, - [% GSUP Server connection parameters - {gsup_local_ip, "172.18.10.20"}, - {gsup_local_port, 4222}, - % Diameter Connection parameters - {dia_swx_remote_ip, "172.18.10.103"}, - {dia_swx_remote_port, 3868}, - {dia_swx_proto, sctp}, - {dia_swx_connect_timer, 200}, - {dia_swx_watchdog_timer, 6000}, - {dia_swx_watchdog_config, - [{okay, 1}, - {suspect, 1}]}, - {dia_swx_vendor_id, 0}, - {dia_swx_origin_host, "epdg.localdomain"}, - {dia_swx_origin_realm, "localdomain"}, - {dia_swx_context_id, "epdg@localdomain"}, - % Diameter s6b Connection parameters - {dia_s6b_local_ip, "172.18.10.20"}, - {dia_s6b_local_port, 3869}, - {dia_s6b_proto, sctp}, - {dia_s6b_connect_timer, 200}, - {dia_s6b_watchdog_timer, 6000}, - {dia_s6b_watchdog_config, - [{okay, 1}, - {suspect, 1}]}, - {dia_s6b_vendor_id, 0}, - {dia_s6b_origin_host, "aaa.localdomain"}, - {dia_s6b_origin_realm, "localdomain"}, - {dia_s6b_context_id, "aaa@localdomain"}, - % GTPv2C Connection parameters - {gtpc_local_ip, "172.18.10.20"}, - {gtpc_local_port, 2123}, - {gtpc_remote_ip, "172.18.10.103"}, - {gtpc_remote_port, 2123} - ] - }, - %% =========================================== - %% gtp_u_kmod config - %% =========================================== - {gtp_u_kmod, [ - {sockets, [{gtp0, [%% ip: IP Address assigned at the tunnel: - {ip, {172,18,10,20}}, - %% Allow binding to an IP address that is nonlocal or does not (yet) exist (IP_FREEBIND): - freebind, - % Create gtp tundev with role SGSN: - {role, sgsn} - ] - }] - } - ]}, - %% =========================================== - %% gen_socket config - %% =========================================== - {gen_socket, [ - {libdir, "/usr/lib"} -]}, - %% =========================================== - %% Lager logging config - %% =========================================== - {lager, [ - {log_root, "/data/"}, - {colored, true}, - {handlers, - [{lager_console_backend, [{level, debug}]}, - {lager_file_backend, - [{file, "console.log"}, {level, debug}, {size, 104857600}, {date, "$D0"}, {count, 10}]}, - {lager_file_backend, - [{file, "error.log"}, {level, error}, {size, 104857600}, {date, "$D0"}, {count, 10}]}]}, - {crash_log, "crash.log"}, - {crash_log_msg_size, 65536}, - {crash_log_size, 104857600}, - {crash_log_date, "$D0"}, - {crash_log_count, 10}, - {error_logger_redirect, true} - ]}, - {kernel, [ - {logger, [{handler, debug, logger_std_h, % {handler, HandlerId, Module, - #{config => #{file => "/data/erlang.log"}} - }] - } - ]} -]. -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/37781?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: docker-playground Gerrit-Branch: master Gerrit-Change-Id: I522824a6df3c58d26788c8d9e978759e7ec8a462 Gerrit-Change-Number: 37781 Gerrit-PatchSet: 2 Gerrit-Owner: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • ...
  • 148
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.