This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.orgPau Espin Pedrol has submitted this change and it was merged. Change subject: suites: gprs: Use inet46 APN due to ofono using IPv4v6 ctx request ...................................................................... suites: gprs: Use inet46 APN due to ofono using IPv4v6 ctx request Otherwise osmo-ggsn tries to allocate one IP of each type but fails because the other APNs are ipv4-only or ipv6-only. Change-Id: I53baa63dc1b83616a35af182cb6f56ee3d7fe38b --- M suites/gprs/ping.py 1 file changed, 15 insertions(+), 5 deletions(-) Approvals: Pau Espin Pedrol: Looks good to me, approved Jenkins Builder: Verified diff --git a/suites/gprs/ping.py b/suites/gprs/ping.py index 46ab540..f6f01a6 100755 --- a/suites/gprs/ping.py +++ b/suites/gprs/ping.py @@ -44,11 +44,21 @@ print('waiting for modems to attach to data services...') wait(ms.is_attached) -ctx_id_v4 = ms.activate_context(apn='internet', protocol=ms.CTX_PROT_IPv4) -# IPv6 no supported in EC20: org.ofono.Error.NotImplemented: Implementation not provided (36) -# ctx_id_v6 = ms.activate_context(apn='inet6', protocol=ms.CTX_PROT_IPv6) -# IPv46 (dual) not supported in EC20: org.ofono.Error.Failed: Operation failed (36) -# ctx_id_v46 = ms.activate_context(apn='inet6', protocol=ms.CTX_PROT_IPv46) + +# We need to use inet46 since ofono qmi only uses ipv4v6 eua (OS#2713) +ctx_id_v4 = ms.activate_context(apn='inet46', protocol=ms.CTX_PROT_IPv4) sleep(5) # TODO: send ping to server or open TCP conn with a socket in python ms.deactivate_context(ctx_id_v4) + +# We need to use inet46 since ofono qmi only uses ipv4v6 eua (OS#2713) +ctx_id_v6 = ms.activate_context(apn='inet46', protocol=ms.CTX_PROT_IPv6) +sleep(5) +# TODO: send ping to server or open TCP conn with a socket in python +ms.deactivate_context(ctx_id_v6) + +# IPv46 (dual) not supported in ofono qmi: org.ofono.Error.Failed: Operation failed (36) +# ctx_id_v46 = ms.activate_context(apn='inet46', protocol=ms.CTX_PROT_IPv46) +# sleep(5) +# TODO: send ping to server or open TCP conn with a socket in python +# ms.deactivate_context(ctx_id_v46) -- To view, visit https://gerrit.osmocom.org/5299 To unsubscribe, visit https://gerrit.osmocom.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I53baa63dc1b83616a35af182cb6f56ee3d7fe38b Gerrit-PatchSet: 1 Gerrit-Project: osmo-gsm-tester Gerrit-Branch: master Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>