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

  • 1 participants
  • 97203 discussions
[M] Change in ...pyosmocom[master]: Add GSM 7-bit packing and Network Name IE support
by laforge 26 Nov '26

26 Nov '26
Attention is currently required from: biocape, dexter, fixeria. laforge has posted comments on this change by biocape. ( https://gerrit.osmocom.org/c/python/pyosmocom/+/43371?usp=email ) Change subject: Add GSM 7-bit packing and Network Name IE support ...................................................................... Patch Set 2: Code-Review+2 (2 comments) Patchset: PS2: re-adding existing code review File src/osmocom/utils.py: https://gerrit.osmocom.org/c/python/pyosmocom/+/43371/comment/cd0cd96a_91b2… : PS1, Line 121: int.from_bytes(packed, byteorder='little') > ping @biofel@cape. […] Fix applied. -- To view, visit https://gerrit.osmocom.org/c/python/pyosmocom/+/43371?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: comment Gerrit-Project: python/pyosmocom Gerrit-Branch: master Gerrit-Change-Id: I4661352e39031dc0041fc7851f675d6083a1035f Gerrit-Change-Number: 43371 Gerrit-PatchSet: 2 Gerrit-Owner: biocape <biofel(a)cape.co> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de> Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Attention: dexter <pmaier(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Attention: biocape <biofel(a)cape.co> Gerrit-Comment-Date: Thu, 26 Nov 2026 01:21:55 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Comment-In-Reply-To: dexter <pmaier(a)sysmocom.de> Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de> Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
1 0
0 0
[S] Change in docker-playground[master]: gerrit: patch in TTCN-3 syntax highlighting
by fixeria 25 Nov '26

25 Nov '26
fixeria has submitted this change. ( https://gerrit.osmocom.org/c/docker-playground/+/37971?usp=email ) Change subject: gerrit: patch in TTCN-3 syntax highlighting ...................................................................... gerrit: patch in TTCN-3 syntax highlighting Gerrit already maps *.ttcn, *.ttcn3 and *.ttcnpp to text/x-ttcn (mime-types.properties), but the web UI has no highlight.js language for it, so TTCN-3 files are shown without highlighting. As a workaround, we hacked Gerrit to render TTCN-3 files as JavaScript. Let's enable better TTCN-3 syntax highlighting by patching Gerrit's bundled highlight.min.js, adding our TTCN-3 language plugin [1], and mapping text/x-ttcn to it in gr-app.js. [1] https://gitea.osmocom.org/ttcn3/highlightjs-ttcn3 Change-Id: Ic19fdb7241755ffed84578a0bb776f5ff18c8b23 Related: OS#5514 --- M gerrit/Dockerfile A gerrit/highlightjs-ttcn3.min.js 2 files changed, 30 insertions(+), 2 deletions(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, approved osmith: Looks good to me, but someone else must approve diff --git a/gerrit/Dockerfile b/gerrit/Dockerfile index cf6d979..af4b8ad 100644 --- a/gerrit/Dockerfile +++ b/gerrit/Dockerfile @@ -9,17 +9,33 @@ ARG gerritwar="/var/gerrit/bin/gerrit.war" ARG libopenid="WEB-INF/lib/com_google_gerrit_httpd_auth_openid_libopenid.jar" ARG loginform="com/google/gerrit/httpd/auth/openid/LoginForm.html" +ARG highlightjs="polygerrit_ui/bower_components/highlightjs/highlight.min.js" +ARG grapp="polygerrit_ui/elements/gr-app.js" RUN \ - unzip "$gerritwar" "$libopenid" && \ + unzip "$gerritwar" "$libopenid" "$highlightjs" "$grapp" && \ unzip "$libopenid" "$loginform" COPY add_osmocom.diff /tmp RUN patch -p0 < /tmp/add_osmocom.diff +# TTCN-3 syntax highlighting +# Gerrit already maps *.ttcn{,3,pp} to text/x-ttcn (mime-types.properties), +# but the frontend has no highlight.js language for it. Register the language +# in the bundled highlight.min.js and map text/x-ttcn to it in gr-app.js. +# +# highlightjs-ttcn3.min.js is ttcn3.js from https://gitea.osmocom.org/ttcn3/highlightjs-ttcn3 +# To regenerate it, run `make` in a highlightjs-ttcn3.git checkout and copy the resulting +# highlightjs-ttcn3.min.js here. +COPY highlightjs-ttcn3.min.js /tmp +RUN \ + { printf '\n'; cat /tmp/highlightjs-ttcn3.min.js; } >> "$highlightjs" && \ + sed -i 's|\["text/x-tcl","tcl"\]|&,["text/x-ttcn","ttcn3"]|' "$grapp" && \ + grep -q '\["text/x-ttcn","ttcn3"\]' "$grapp" + RUN \ zip -u "$libopenid" "$loginform" && \ - zip -u "$gerritwar" "$libopenid" + zip -u "$gerritwar" "$libopenid" "$highlightjs" "$grapp" USER gerrit diff --git a/gerrit/highlightjs-ttcn3.min.js b/gerrit/highlightjs-ttcn3.min.js new file mode 100644 index 0000000..2eaa54e --- /dev/null +++ b/gerrit/highlightjs-ttcn3.min.js @@ -0,0 +1,12 @@ +/* https://gitea.osmocom.org/ttcn3/highlightjs-ttcn3 (6daccff) */ +hljs.registerLanguage("ttcn3",(e=>{const t={className:"string",variants:[{ +match:/'([a-fA-F0-9]{2}|\?|\*)*'O/,relevance:10},{match:/'[a-fA-F0-9\?\*]*'H/, +relevance:10},{match:/'[01\?\*]*'B/,relevance:10 +},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]};return{name:"TTCN-3", +aliases:["ttcn","ttcn3","ttcnpp"],keywords:{ +keyword:["action","activate","address","alive","all","alt","altstep","and","and4b","any","anytype","bitstring","boolean","break","case","call","catch","char","charstring","check","clear","complement","component","connect","const","continue","control","create","deactivate","decmatch","default","disconnect","display","do","done","else","encode","enumerated","error","except","exception","execute","extends","extension","external","fail","false","float","for","friend","from","function","getverdict","getcall","getreply","goto","group","halt","hexstring","if","ifpresent","import","in","inconc","infinity","inout","integer","interleave","isbound","ischosen","ispresent","isvalue","kill","killed","label","language","length","log","map","match","message","mixed","mod","modifies","module","modulepar","mtc","noblock","none","not","not_a_number","not4b","nowait","null","octetstring","of","omit","on","optional","or","or4b","out","override","param","pass","pattern","permutation","port","present","private","procedure","public","raise","read","receive","record","recursive","rem","repeat","reply","return","running","runs","select","self","send","sender","set","setencode","setverdict","signature","start","stop","subset","superset","system","template","testcase","timeout","timer","to","trigger","true","type","union","universal","unmap","value","valueof","var","variant","verdicttype","while","with","xor","xor4b"], +built_in:["action","activate","any2unistr","bit2hex","bit2int","bit2oct","bit2str","call","catch","char2int","char2oct","check","clear","complement","connect","create","deactivate","decmatch","decvalue","decvalue_o","decvalue_unichar","disconnect","encode","encvalue","encvalue_o","encvalue_unichar","enum2int","execute","float2int","get_stringencoding","getcall","getreply","getverdict","halt","hex2bit","hex2int","hex2oct","hex2str","hostid","int2bit","int2char","int2enum","int2float","int2hex","int2oct","int2str","int2unichar","isbound","ischosen","ispresent","istemplatekind","isvalue","kill","killed","length","lengthof","log","map","match","oct2bit","oct2char","oct2hex","oct2int","oct2str","oct2unichar","raise","receive","record","regexp","remove_bom","replace","reply","rnd","running","send","setencode","setverdict","sizeof","start","stop","str2float","str2hex","str2int","str2oct","substr","testcasename","timeout","trigger","unichar2int","unichar2oct","unmap","value","valueof"], +literal:["error","fail","false","inconc","infinity","none","null","omit","pass","true"], +type:["address","anytype","bitstring","boolean","charstring","default","float","hexstring","integer","octetstring","universal","universal charstring","verdicttype"] +},illegal:"(\\*=|\\+=|-=)", +contains:[e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE,t]}})); -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/37971?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: Ic19fdb7241755ffed84578a0bb776f5ff18c8b23 Gerrit-Change-Number: 37971 Gerrit-PatchSet: 3 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1 0
0 0
[S] Change in docker-playground[master]: gerrit: patch in TTCN-3 syntax highlighting
by pespin 25 Nov '26

25 Nov '26
Attention is currently required from: fixeria. pespin has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/docker-playground/+/37971?usp=email ) Change subject: gerrit: patch in TTCN-3 syntax highlighting ...................................................................... Patch Set 3: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/37971?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: Ic19fdb7241755ffed84578a0bb776f5ff18c8b23 Gerrit-Change-Number: 37971 Gerrit-PatchSet: 3 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Wed, 25 Nov 2026 15:45:29 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in docker-playground[master]: gerrit: patch in TTCN-3 syntax highlighting
by osmith 25 Nov '26

25 Nov '26
Attention is currently required from: fixeria. osmith has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/docker-playground/+/37971?usp=email ) The change is no longer submittable: Code-Review is unsatisfied now. Change subject: gerrit: patch in TTCN-3 syntax highlighting ...................................................................... Patch Set 3: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/37971?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: Ic19fdb7241755ffed84578a0bb776f5ff18c8b23 Gerrit-Change-Number: 37971 Gerrit-PatchSet: 3 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Wed, 25 Nov 2026 15:26:17 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in docker-playground[master]: gerrit: patch in TTCN-3 syntax highlighting
by fixeria 25 Nov '26

25 Nov '26
Attention is currently required from: osmith. fixeria has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/docker-playground/+/37971?usp=email ) Change subject: gerrit: patch in TTCN-3 syntax highlighting ...................................................................... Patch Set 3: (1 comment) File gerrit/Dockerfile: https://gerrit.osmocom.org/c/docker-playground/+/37971/comment/f257211a_fc9… : PS2, Line 21: COPY highlight.min.js "$hljspath/highlight.min.js" > Maybe either build the file from scratch here, or document the steps how one would do it manually? Done. I have reworked the patch to inject our language plugin into Gerrit's bundled highlight.min.js and mentioned how to (re)generate it. The referenced Makefile has not been pushed to https://gitea.osmocom.org/ttcn3/highlightjs-ttcn3 yet: I am missing the push permissions. -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/37971?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: Ic19fdb7241755ffed84578a0bb776f5ff18c8b23 Gerrit-Change-Number: 37971 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: Wed, 25 Nov 2026 15:17:34 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Comment-In-Reply-To: osmith <osmith(a)sysmocom.de>
1 0
0 0
[S] Change in docker-playground[master]: gerrit: patch in TTCN-3 syntax highlighting
by osmith 25 Nov '26

25 Nov '26
Attention is currently required from: fixeria. osmith has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/docker-playground/+/37971?usp=email ) Change subject: gerrit: patch in TTCN-3 syntax highlighting ...................................................................... Patch Set 3: Code-Review+2 -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/37971?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: Ic19fdb7241755ffed84578a0bb776f5ff18c8b23 Gerrit-Change-Number: 37971 Gerrit-PatchSet: 3 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Wed, 25 Nov 2026 15:17:16 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in docker-playground[master]: gerrit: patch in TTCN-3 syntax highlighting
by osmith 25 Nov '26

25 Nov '26
Attention is currently required from: fixeria. osmith has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/docker-playground/+/37971?usp=email ) Change subject: gerrit: patch in TTCN-3 syntax highlighting ...................................................................... Patch Set 3: Code-Review+1 (1 comment) File gerrit/Dockerfile: https://gerrit.osmocom.org/c/docker-playground/+/37971/comment/16ca2b5a_a3f… : PS2, Line 21: COPY highlight.min.js "$hljspath/highlight.min.js" > Maybe either build the file from scratch here, or document the steps how one would do it manually? Done -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/37971?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: Ic19fdb7241755ffed84578a0bb776f5ff18c8b23 Gerrit-Change-Number: 37971 Gerrit-PatchSet: 3 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: osmith <osmith(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Wed, 25 Nov 2026 15:17:07 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes Comment-In-Reply-To: osmith <osmith(a)sysmocom.de>
1 0
0 0
[S] Change in docker-playground[master]: gerrit: patch in TTCN-3 syntax highlighting
by fixeria 25 Nov '26

25 Nov '26
Attention is currently required from: fixeria. fixeria has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/docker-playground/+/37971?usp=email ) Change subject: gerrit: patch in TTCN-3 syntax highlighting ...................................................................... Set Ready For Review -- To view, visit https://gerrit.osmocom.org/c/docker-playground/+/37971?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: Ic19fdb7241755ffed84578a0bb776f5ff18c8b23 Gerrit-Change-Number: 37971 Gerrit-PatchSet: 3 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-CC: osmith <osmith(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Wed, 25 Nov 2026 15:15:14 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: No
1 0
0 0
[M] Change in osmo-ttcn3-hacks[master]: 5G NFs: Fix wrong User-Agent formatting
by pespin 25 Nov '26

25 Nov '26
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44166?usp=email ) Change subject: 5G NFs: Fix wrong User-Agent formatting ...................................................................... 5G NFs: Fix wrong User-Agent formatting As per 3GPP TS 29.500 Table 5.2.2.2-1: """ The pattern of the content should start with the value of NF type (e.g. "UDM", see NOTE 1) or "SCP" (for a request originated by an SCP) and followed by a "-" and any other specific information if needed afterwards. """ Change-Id: I9ef6cc7129553b3f5e8736ed291fc3023b8ec5f7 --- M ausf/ConnHdlr.ttcn M bsf/ConnHdlr.ttcn M eir/ConnHdlr.ttcn M nrf/ConnHdlr.ttcn M nssf/ConnHdlr.ttcn M pcf/ConnHdlr.ttcn M sepp/ConnHdlr.ttcn M smf/SMF_Session_CT_5G.ttcn M udm/ConnHdlr.ttcn M udr/ConnHdlr.ttcn 10 files changed, 26 insertions(+), 26 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/66/44166/1 diff --git a/ausf/ConnHdlr.ttcn b/ausf/ConnHdlr.ttcn index 1fde3c5..061e41a 100644 --- a/ausf/ConnHdlr.ttcn +++ b/ausf/ConnHdlr.ttcn @@ -135,7 +135,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-ausf"), + ts_HTTP2_Hdr_user_agent("AUSF-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, @@ -202,7 +202,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-ausf"), + ts_HTTP2_Hdr_user_agent("AUSF-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, diff --git a/bsf/ConnHdlr.ttcn b/bsf/ConnHdlr.ttcn index 7159e21..e13f1ff 100644 --- a/bsf/ConnHdlr.ttcn +++ b/bsf/ConnHdlr.ttcn @@ -137,7 +137,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-pcf"), + ts_HTTP2_Hdr_user_agent("PCF-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, @@ -203,7 +203,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-pcf"), + ts_HTTP2_Hdr_user_agent("PCF-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, @@ -257,7 +257,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-pcf"), + ts_HTTP2_Hdr_user_agent("PCF-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, @@ -320,7 +320,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-pcf"), + ts_HTTP2_Hdr_user_agent("PCF-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, diff --git a/eir/ConnHdlr.ttcn b/eir/ConnHdlr.ttcn index d4616e5..1ed863f 100644 --- a/eir/ConnHdlr.ttcn +++ b/eir/ConnHdlr.ttcn @@ -135,7 +135,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-ausf"), + ts_HTTP2_Hdr_user_agent("AUSF-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, diff --git a/nrf/ConnHdlr.ttcn b/nrf/ConnHdlr.ttcn index 14ccd1c..24588c9 100644 --- a/nrf/ConnHdlr.ttcn +++ b/nrf/ConnHdlr.ttcn @@ -127,7 +127,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-nf"), + ts_HTTP2_Hdr_user_agent("UDM-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip"), ts_HTTP2_header_field("3gpp-sbi-discovery-service-names", "nnrf-nfm"), ts_HTTP2_header_field("3gpp-sbi-max-rsp-time", int2str(10000)), @@ -211,7 +211,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json-patch+json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-nf"), + ts_HTTP2_Hdr_user_agent("UDM-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip"), ts_HTTP2_header_field("3gpp-sbi-discovery-service-names", "nnrf-nfm"), ts_HTTP2_header_field("3gpp-sbi-max-rsp-time", int2str(10000)), @@ -267,7 +267,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-nf"), + ts_HTTP2_Hdr_user_agent("UDM-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip"), ts_HTTP2_header_field("3gpp-sbi-discovery-service-names", "nnrf-nfm"), ts_HTTP2_header_field("3gpp-sbi-max-rsp-time", int2str(10000)), diff --git a/nssf/ConnHdlr.ttcn b/nssf/ConnHdlr.ttcn index 096e810..d8cb373 100644 --- a/nssf/ConnHdlr.ttcn +++ b/nssf/ConnHdlr.ttcn @@ -113,7 +113,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-ausf"), + ts_HTTP2_Hdr_user_agent("AUSF-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, diff --git a/pcf/ConnHdlr.ttcn b/pcf/ConnHdlr.ttcn index c296cc4..c08f571 100644 --- a/pcf/ConnHdlr.ttcn +++ b/pcf/ConnHdlr.ttcn @@ -148,7 +148,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-smf"), + ts_HTTP2_Hdr_user_agent("SMF-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, diff --git a/sepp/ConnHdlr.ttcn b/sepp/ConnHdlr.ttcn index 880b092..9959271 100644 --- a/sepp/ConnHdlr.ttcn +++ b/sepp/ConnHdlr.ttcn @@ -209,7 +209,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-sepp"), + ts_HTTP2_Hdr_user_agent("SEPP-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, @@ -283,7 +283,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-sepp"), + ts_HTTP2_Hdr_user_agent("SEPP-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, @@ -350,7 +350,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-sepp"), + ts_HTTP2_Hdr_user_agent("SEPP-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, @@ -545,7 +545,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-udm"), + ts_HTTP2_Hdr_user_agent("UDM-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip"), ts_HTTP2_header_field(c_HTTP2_HDR_3Gpp_Sbi_Target_apiRoot, c_sbi_uri_fqdn) } diff --git a/smf/SMF_Session_CT_5G.ttcn b/smf/SMF_Session_CT_5G.ttcn index f81ff22..32ec9f7 100644 --- a/smf/SMF_Session_CT_5G.ttcn +++ b/smf/SMF_Session_CT_5G.ttcn @@ -167,7 +167,7 @@ headers := { ts_HTTP2_Hdr_content_type_multipart(http2_boundary), ts_HTTP2_Hdr_accept("application/json,application/vnd.3gpp.ngap,application/problem+json"), - ts_HTTP2_Hdr_user_agent("ttcn3-amf"), + ts_HTTP2_Hdr_user_agent("AMF-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, @@ -333,7 +333,7 @@ headers := { ts_HTTP2_Hdr_content_type_multipart(http2_boundary), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-amf"), + ts_HTTP2_Hdr_user_agent("AMF-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, @@ -601,7 +601,7 @@ headers := { ts_HTTP2_Hdr_content_type_multipart(http2_boundary), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-amf"), + ts_HTTP2_Hdr_user_agent("AMF-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, diff --git a/udm/ConnHdlr.ttcn b/udm/ConnHdlr.ttcn index 99cce49..3c1e24e 100644 --- a/udm/ConnHdlr.ttcn +++ b/udm/ConnHdlr.ttcn @@ -135,7 +135,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-ausf"), + ts_HTTP2_Hdr_user_agent("AUSF-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, @@ -203,7 +203,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-ausf"), + ts_HTTP2_Hdr_user_agent("AUSF-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, @@ -274,7 +274,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-ausf"), + ts_HTTP2_Hdr_user_agent("AUSF-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, diff --git a/udr/ConnHdlr.ttcn b/udr/ConnHdlr.ttcn index b70dd1d..ee76e9a 100644 --- a/udr/ConnHdlr.ttcn +++ b/udr/ConnHdlr.ttcn @@ -154,7 +154,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-udm"), + ts_HTTP2_Hdr_user_agent("UDM-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }); @@ -215,7 +215,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json-patch+json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-udm"), + ts_HTTP2_Hdr_user_agent("UDM-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, @@ -268,7 +268,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json"), ts_HTTP2_Hdr_accept("application/json,application/problem+json"), - ts_HTTP2_Hdr_user_agent("ttcn3-udm"), + ts_HTTP2_Hdr_user_agent("UDM-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, @@ -327,7 +327,7 @@ headers := { ts_HTTP2_Hdr_content_type("application/json-patch+json"), ts_HTTP2_Hdr_accept("application/json"), - ts_HTTP2_Hdr_user_agent("ttcn3-udm"), + ts_HTTP2_Hdr_user_agent("UDM-ttcn3"), ts_HTTP2_Hdr_accept_encoding("gzip") } }, -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44166?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: I9ef6cc7129553b3f5e8736ed291fc3023b8ec5f7 Gerrit-Change-Number: 44166 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin(a)sysmocom.de>
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: smf: Introduce test TC_n11_handover_inter_ngran_n2_indirect_back_direct
by laforge 25 Nov '26

25 Nov '26
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44164?usp=email ) Change subject: smf: Introduce test TC_n11_handover_inter_ngran_n2_indirect_back_direct ...................................................................... smf: Introduce test TC_n11_handover_inter_ngran_n2_indirect_back_direct Change-Id: I480b1a9b714d2b73bc39470ac6c676a982d2839b --- M smf/SMF_Tests.ttcn M smf/expected-results.xml 2 files changed, 45 insertions(+), 0 deletions(-) Approvals: laforge: Looks good to me, approved osmith: Looks good to me, but someone else must approve Jenkins Builder: Verified diff --git a/smf/SMF_Tests.ttcn b/smf/SMF_Tests.ttcn index 6ffb502..6713b60 100644 --- a/smf/SMF_Tests.ttcn +++ b/smf/SMF_Tests.ttcn @@ -982,6 +982,49 @@ f_shutdown(); } +/* 3GPP TS 23.502 4.9.1.3 Inter NG-RAN node N2 based handover + * The session first goes through a indirect forwarding N2 Handover, + * and after it succeds it goes through a direct forwarding N2 Handover. */ +private function f_TC_n11_handover_inter_ngran_n2_indirect_back_direct() runs on SMF_Session_CT { + var template (value) UPTransportLayerInformation dl_forward_utla; + var template (value) UPTransportLayerInformation dl_utla; + f_n11_create_session(); + + /* Temporary gNB endpoint where to send DL traffic from the UPF during Handover: */ + dl_forward_utla := m_uPTransportLayerInformation_gTPTunnel( + m_gTPTunnel(p_tla := oct2bit(f_inet_addr("1.2.3.4")), + p_gtp_teid := '12345678'O)); + /* Final gNB endpoint where to send DL traffic from the UPF after Handover is completed: */ + dl_utla := m_uPTransportLayerInformation_gTPTunnel( + m_gTPTunnel(p_tla := oct2bit(f_inet_addr(g_pars.namf.ran_gtpu_ip)), + p_gtp_teid := '11223344'O)); + + /* First N2 Handover with indirect DL forwarding: */ + f_n11_update_sm_context_handover_request_ack(dl_utla := dl_utla, + dl_forward_utla := dl_forward_utla); + f_n11_update_sm_context_handover_complete(valueof(dl_utla), exp_forward_tun_teardown := true); + + /* Second N2 Handover with direct DL forwarding: */ + dl_utla := m_uPTransportLayerInformation_gTPTunnel( + m_gTPTunnel(p_tla := oct2bit(f_inet_addr(g_pars.namf.ran_gtpu_ip)), + p_gtp_teid := g_pars.namf.ran_gtpu_teid)); + f_n11_update_sm_context_handover_request_ack(dl_utla := dl_utla, + dl_forward_utla := omit); + f_n11_update_sm_context_handover_complete(valueof(dl_utla), exp_forward_tun_teardown := false); + + f_n11_delete_session(); + setverdict(pass); +} +testcase TC_n11_handover_inter_ngran_n2_indirect_back_direct() runs on SMF_Test_CT { + var SMF_Session_CT vc_conn; + var SessionPars pars := f_SessionPars(20, + rat_type := GTP2C_RAT_NR); + f_init(); + vc_conn := f_start_handler(refers(f_TC_n11_handover_inter_ngran_n2_indirect_back_direct), pars); + vc_conn.done; + f_shutdown(); +} + /* Validate IUT detects PFCP Heartbeat timeout and recovers from it tearing down * existing subscriber connections: */ @@ -1124,6 +1167,7 @@ execute( TC_n11_handover_inter_ngran_n2_direct_dl_forward() ); execute( TC_n11_handover_inter_ngran_n2_indirect_dl_forward() ); + execute( TC_n11_handover_inter_ngran_n2_indirect_back_direct() ); execute( TC_5g_pfcp_heartbeat_timeout() ); execute( TC_5g_pfcp_heartbeat_recovery_timestamp() ); diff --git a/smf/expected-results.xml b/smf/expected-results.xml index ae436ff..dd56947 100644 --- a/smf/expected-results.xml +++ b/smf/expected-results.xml @@ -25,6 +25,7 @@ <testcase classname='SMF_Tests' name='TC_n11_createSession_pfcp_sess_est_timeout_no_pdu_sess_est_rej' time='MASKED'/> <testcase classname='SMF_Tests' name='TC_n11_handover_inter_ngran_n2_direct_dl_forward' time='MASKED'/> <testcase classname='SMF_Tests' name='TC_n11_handover_inter_ngran_n2_indirect_dl_forward' time='MASKED'/> + <testcase classname='SMF_Tests' name='TC_n11_handover_inter_ngran_n2_indirect_back_direct' time='MASKED'/> <testcase classname='SMF_Tests' name='TC_5g_pfcp_heartbeat_timeout' time='MASKED'/> <testcase classname='SMF_Tests' name='TC_5g_pfcp_heartbeat_recovery_timestamp' time='MASKED'/> </testsuite> -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/44164?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: I480b1a9b714d2b73bc39470ac6c676a982d2839b Gerrit-Change-Number: 44164 Gerrit-PatchSet: 3 Gerrit-Owner: pespin <pespin(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • ...
  • 9721
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.