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 -----
  • 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

March 2026

  • 1 participants
  • 1933 discussions
[M] Change in ...osmo-s1gw[master]: enb_proxy: split conn_info() into mme_conn_info() and proxy_info()
by laforge 20 Mar '26

20 Mar '26
Attention is currently required from: fixeria. laforge has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/42446?usp=email ) Change subject: enb_proxy: split conn_info() into mme_conn_info() and proxy_info() ...................................................................... Patch Set 3: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/42446?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: Ia428ceb4762f972211e9b790688dc89fb5b8a274 Gerrit-Change-Number: 42446 Gerrit-PatchSet: 3 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Fri, 20 Mar 2026 21:11:58 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in ...osmo-s1gw[master]: enb_{proxy,registry}: signal MME conn info on SCTP comm_up
by laforge 20 Mar '26

20 Mar '26
Attention is currently required from: fixeria, pespin. laforge has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/42445?usp=email ) Change subject: enb_{proxy,registry}: signal MME conn info on SCTP comm_up ...................................................................... Patch Set 3: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/42445?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: Iea9ba4fdf961e6cd262edc154884a2eee3d95355 Gerrit-Change-Number: 42445 Gerrit-PatchSet: 3 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Comment-Date: Fri, 20 Mar 2026 21:10:33 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in ...osmo-s1gw[master]: doc/manuals: cli: shorten enb_list example table
by laforge 20 Mar '26

20 Mar '26
Attention is currently required from: fixeria. laforge has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/42439?usp=email ) Change subject: doc/manuals: cli: shorten enb_list example table ...................................................................... Patch Set 4: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/42439?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: I4e25233a3e77358060f1098e97907c93deab334b Gerrit-Change-Number: 42439 Gerrit-PatchSet: 4 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Fri, 20 Mar 2026 21:10:12 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[M] Change in ...osmo-s1gw[master]: [REST] Add PLMN/eNB IDs to EnbItem
by laforge 20 Mar '26

20 Mar '26
Attention is currently required from: fixeria, pespin. laforge has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/42449?usp=email ) Change subject: [REST] Add PLMN/eNB IDs to EnbItem ...................................................................... Patch Set 2: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/42449?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: I79690223a34afea5e6661125ac04f98462dadb03 Gerrit-Change-Number: 42449 Gerrit-PatchSet: 2 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: pespin <pespin(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Fri, 20 Mar 2026 21:09:59 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[M] Change in ...osmo-s1gw[master]: [REST] Add MME source address/port to EnbItem
by laforge 20 Mar '26

20 Mar '26
Attention is currently required from: fixeria. laforge has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/42433?usp=email ) Change subject: [REST] Add MME source address/port to EnbItem ...................................................................... Patch Set 4: Code-Review+1 -- To view, visit https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/42433?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: I15bbddf96ac7d5b6f9962a8d745db58fdec334e7 Gerrit-Change-Number: 42433 Gerrit-PatchSet: 4 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de> Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Comment-Date: Fri, 20 Mar 2026 21:09:40 +0000 Gerrit-HasComments: No Gerrit-Has-Labels: Yes
1 0
0 0
[XS] Change in osmo-ttcn3-hacks[master]: eIM_Tests: align RSP version number in HTTP header
by laforge 20 Mar '26

20 Mar '26
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42434?usp=email ) Change subject: eIM_Tests: align RSP version number in HTTP header ...................................................................... eIM_Tests: align RSP version number in HTTP header The RSP version number in the x-admin-protocol header string should be set to v.2.1.0 (gsma/rsp/v2.1.0), even though the ASN.1 spec we currently use is at version 2.5. This is to maintain compatibility with older IPAd versions and also stated explicitly in GSMA SGP.32 V2.1, section 6.1. Change-Id: I125c3b13697c71d35788e54b7d88a9f943bb7a71 Related: SYS#7945 --- M eim/eIM_Tests.ttcn 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: osmith: Looks good to me, approved fixeria: Looks good to me, but someone else must approve Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve diff --git a/eim/eIM_Tests.ttcn b/eim/eIM_Tests.ttcn index 5dcbdab..b3a3519 100644 --- a/eim/eIM_Tests.ttcn +++ b/eim/eIM_Tests.ttcn @@ -378,7 +378,7 @@ template (value) HeaderLines ts_esipa_HTTP_Header := { { header_name := "User-Agent", header_value := "TTCN3 eIM testsuite" }, - { header_name := "X-Admin-Protocol", header_value := "gsma/rsp/v2.5.0" }, + { header_name := "X-Admin-Protocol", header_value := "gsma/rsp/v2.1.0" }, { header_name := "Content-Type", header_value := "application/x-gsma-rsp-asn1" } }; -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42434?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: I125c3b13697c71d35788e54b7d88a9f943bb7a71 Gerrit-Change-Number: 42434 Gerrit-PatchSet: 2 Gerrit-Owner: dexter <pmaier(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> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1 0
0 0
[M] Change in pysim[master]: transport: change APDU format paradigm
by laforge 20 Mar '26

20 Mar '26
Attention is currently required from: daniel, dexter, neels. laforge has posted comments on this change by dexter. ( https://gerrit.osmocom.org/c/pysim/+/42441?usp=email ) Change subject: transport: change APDU format paradigm ...................................................................... Patch Set 1: Code-Review+1 (1 comment) Patchset: PS1: don't you think it would make sense to have the strict APDU enabled by default? Or at least print a warning in case a user runs an old script, stating that this legacy mode will not be supported by default in the future? -- To view, visit https://gerrit.osmocom.org/c/pysim/+/42441?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: I9a531a825def318b28bf58291d811cf119003fab Gerrit-Change-Number: 42441 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pmaier(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: daniel <dwillmann(a)sysmocom.de> Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de> Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de> Gerrit-Attention: daniel <dwillmann(a)sysmocom.de> Gerrit-Attention: dexter <pmaier(a)sysmocom.de> Gerrit-Comment-Date: Fri, 20 Mar 2026 21:08:46 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: Yes
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: library/HTTP_Adapter: bail out early on failure
by laforge 20 Mar '26

20 Mar '26
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42437?usp=email ) Change subject: library/HTTP_Adapter: bail out early on failure ...................................................................... library/HTTP_Adapter: bail out early on failure Replace `self.stop` with `Misc_Helpers.f_shutdown()`, and add it after existing `setverdict(fail, ...)` calls that previously fell through. In all these cases there is no meaningful way to continue: the caller of these functions usually expects a valid value to be returned, and continuing (not stopping) oftentimes results in confusing DTEs. Change-Id: I229028d551d5cf9651e6e65314cd40f414bfe235 --- M library/HTTP_Adapter.ttcn 1 file changed, 9 insertions(+), 4 deletions(-) Approvals: pespin: Looks good to me, approved Jenkins Builder: Verified diff --git a/library/HTTP_Adapter.ttcn b/library/HTTP_Adapter.ttcn index 161ca23..bd34a5f 100644 --- a/library/HTTP_Adapter.ttcn +++ b/library/HTTP_Adapter.ttcn @@ -16,6 +16,7 @@ import from HTTPmsg_Types all; import from HTTPmsg_PortType all; import from Native_Functions all; +import from Misc_Helpers all; type component http_CT { port HTTPmsg_PT HTTP; @@ -82,6 +83,7 @@ /* Make sure we never use body or binary_body at the same time */ if (not istemplatekind(body, "omit") and not istemplatekind(binary_body, "omit")) { setverdict(fail, "use wither (ascii) body or binary_body"); + Misc_Helpers.f_shutdown(__BFILE__, __LINE__); } /* Build default header */ @@ -198,7 +200,7 @@ /* The user is expected to either pass global http_pars with on initialization (f_http_init) or * to pass individual http_pars with each request. */ setverdict(fail, "no HTTP parameters set"); - self.stop; + Misc_Helpers.f_shutdown(__BFILE__, __LINE__); } /* Use globally set HTTP parameters */ use_http_pars := valueof(g_http_pars); @@ -215,11 +217,11 @@ [] HTTP.receive(Connect_result:?) -> value rc; [] HTTP.receive { setverdict(fail, "HTTP connection to client failed"); - self.stop; + Misc_Helpers.f_shutdown(__BFILE__, __LINE__); } [] T.timeout { setverdict(fail, "Timeout waiting for completion of HTTP connection"); - self.stop; + Misc_Helpers.f_shutdown(__BFILE__, __LINE__); } } use_client_id := rc.client_id; @@ -243,6 +245,7 @@ custom_hdr := custom_hdr, client_id := use_client_id)); } else { setverdict(fail, "either binary_body or body must be used (a request can contain either ASCII data or binary data, not both!"); + Misc_Helpers.f_shutdown(__BFILE__, __LINE__); } } @@ -260,13 +263,15 @@ } [] HTTP.receive(tr_HTTP_Resp) -> value resp { setverdict(fail, "Unexpected HTTP response ", resp); + Misc_Helpers.f_shutdown(__BFILE__, __LINE__); } [] HTTP.receive(tr_HTTP_Resp_Bin) -> value resp { setverdict(fail, "Unexpected (binary) HTTP response ", resp); + Misc_Helpers.f_shutdown(__BFILE__, __LINE__); } [] T.timeout { setverdict(fail, "Timeout waiting for HTTP response"); - self.stop; + Misc_Helpers.f_shutdown(__BFILE__, __LINE__); } } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42437?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: I229028d551d5cf9651e6e65314cd40f414bfe235 Gerrit-Change-Number: 42437 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: library/HTTP_Adapter: clarify response template restriction
by laforge 20 Mar '26

20 Mar '26
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42436?usp=email ) Change subject: library/HTTP_Adapter: clarify response template restriction ...................................................................... library/HTTP_Adapter: clarify response template restriction Change-Id: I1a5ee842c30de9ec22d9e375f6b1b24b3eaee1e0 --- M library/HTTP_Adapter.ttcn 1 file changed, 5 insertions(+), 5 deletions(-) Approvals: pespin: Looks good to me, approved Jenkins Builder: Verified diff --git a/library/HTTP_Adapter.ttcn b/library/HTTP_Adapter.ttcn index 8f15958..161ca23 100644 --- a/library/HTTP_Adapter.ttcn +++ b/library/HTTP_Adapter.ttcn @@ -153,7 +153,7 @@ } } -template HTTPMessage tr_HTTP_Resp(template integer sts := ?) := { +template (present) HTTPMessage tr_HTTP_Resp(template integer sts := ?) := { response := { client_id := ?, version_major := ?, @@ -165,7 +165,7 @@ } }; -template HTTPMessage tr_HTTP_Resp_Bin(template integer sts := ?) := { +template (present) HTTPMessage tr_HTTP_Resp_Bin(template integer sts := ?) := { response_binary := { client_id := ?, version_major := ?, @@ -177,7 +177,7 @@ } }; -template HTTPMessage tr_HTTP_Resp2xx := tr_HTTP_Resp((200..299)); +template (present) HTTPMessage tr_HTTP_Resp2xx := tr_HTTP_Resp((200..299)); function f_http_tx_request(charstring url, charstring method := "GET", template (omit) charstring body := omit, @@ -246,7 +246,7 @@ } } -function f_http_rx_response(template HTTPMessage exp := tr_HTTP_Resp2xx, +function f_http_rx_response(template (present) HTTPMessage exp := tr_HTTP_Resp2xx, float tout := 2.0, template (omit) integer client_id := omit, boolean keep_connection := false) @@ -282,7 +282,7 @@ template (omit) charstring body := omit, template (omit) octetstring binary_body := omit, charstring content_type := "application/json", - template HTTPMessage exp := tr_HTTP_Resp2xx, + template (present) HTTPMessage exp := tr_HTTP_Resp2xx, float tout := 2.0, HeaderLines custom_hdr := { }, template (omit) integer client_id := omit, boolean keep_connection := false, -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42436?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: I1a5ee842c30de9ec22d9e375f6b1b24b3eaee1e0 Gerrit-Change-Number: 42436 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1 0
0 0
[S] Change in osmo-ttcn3-hacks[master]: s1gw: f_REST_*(): use tr_HTTP_RespBody(decmatch T:?)
by laforge 20 Mar '26

20 Mar '26
laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42438?usp=email ) Change subject: s1gw: f_REST_*(): use tr_HTTP_RespBody(decmatch T:?) ...................................................................... s1gw: f_REST_*(): use tr_HTTP_RespBody(decmatch T:?) Pass `exp := tr_HTTP_RespBody(decmatch T:?)` to f_http_transact() in every REST helper that decodes the response body. This ensures both a 2xx status code and a decodable body are required before any decode attempt is made, producing an informative "Unexpected HTTP response" verdict (rather than a confusing DTE) when e.g. an older osmo-s1gw returns HTTP 404 with an empty body for an unsupported endpoint. Change-Id: I6997dae5314d4a4588386183832426ab5b8d0843 --- M library/HTTP_Adapter.ttcn M s1gw/S1GW_REST_Functions.ttcn 2 files changed, 32 insertions(+), 12 deletions(-) Approvals: Jenkins Builder: Verified pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved diff --git a/library/HTTP_Adapter.ttcn b/library/HTTP_Adapter.ttcn index bd34a5f..2b2e2b7 100644 --- a/library/HTTP_Adapter.ttcn +++ b/library/HTTP_Adapter.ttcn @@ -181,6 +181,14 @@ template (present) HTTPMessage tr_HTTP_Resp2xx := tr_HTTP_Resp((200..299)); +template (present) HTTPMessage +tr_HTTP_RespBody(template (present) charstring body := ?) +modifies tr_HTTP_Resp2xx := { + response := { + body := body + } +}; + function f_http_tx_request(charstring url, charstring method := "GET", template (omit) charstring body := omit, template (omit) octetstring binary_body := omit, diff --git a/s1gw/S1GW_REST_Functions.ttcn b/s1gw/S1GW_REST_Functions.ttcn index 454d77e..6f4b42b 100644 --- a/s1gw/S1GW_REST_Functions.ttcn +++ b/s1gw/S1GW_REST_Functions.ttcn @@ -21,42 +21,48 @@ function f_REST_MetricsList(charstring metric_type := "all", charstring path := "") runs on http_CT return MetricsList { - var HTTPMessage rsp := f_http_transact("/metrics-list?type=" & metric_type & "&path=" & path); + var HTTPMessage rsp := f_http_transact("/metrics-list?type=" & metric_type & "&path=" & path, + exp := tr_HTTP_RespBody(decmatch MetricsList:?)); return dec_MetricsList(char2oct(rsp.response.body)); } /* Get the PFCP association state */ function f_REST_PfcpAssocState() runs on http_CT return PfcpAssocInfo { - var HTTPMessage rsp := f_http_transact("/pfcp/assoc", method := "GET"); + var HTTPMessage rsp := f_http_transact("/pfcp/assoc", method := "GET", + exp := tr_HTTP_RespBody(decmatch PfcpAssocInfo:?)); return dec_PfcpAssocInfo(char2oct(rsp.response.body)); } /* Initiate the PFCP Association Setup procedure */ function f_REST_PfcpAssocSetup() runs on http_CT return OperationResult { - var HTTPMessage rsp := f_http_transact("/pfcp/assoc", method := "POST"); + var HTTPMessage rsp := f_http_transact("/pfcp/assoc", method := "POST", + exp := tr_HTTP_RespBody(decmatch OperationResult:?)); return dec_OperationResult(char2oct(rsp.response.body)); } /* Initiate the PFCP Association Release procedure */ function f_REST_PfcpAssocRelease() runs on http_CT return OperationResult { - var HTTPMessage rsp := f_http_transact("/pfcp/assoc", method := "DELETE"); + var HTTPMessage rsp := f_http_transact("/pfcp/assoc", method := "DELETE", + exp := tr_HTTP_RespBody(decmatch OperationResult:?)); return dec_OperationResult(char2oct(rsp.response.body)); } /* Send a PFCP Heartbeat Request to the peer */ function f_REST_PfcpHeartbeat() runs on http_CT return OperationResult { - var HTTPMessage rsp := f_http_transact("/pfcp/heartbeat", method := "POST"); + var HTTPMessage rsp := f_http_transact("/pfcp/heartbeat", method := "POST", + exp := tr_HTTP_RespBody(decmatch OperationResult:?)); return dec_OperationResult(char2oct(rsp.response.body)); } /* Get a list of MMEs in the pool */ function f_REST_MmeList() runs on http_CT return MmeList { - var HTTPMessage rsp := f_http_transact("/mme-list", method := "GET"); + var HTTPMessage rsp := f_http_transact("/mme-list", method := "GET", + exp := tr_HTTP_RespBody(decmatch MmeList:?)); return dec_MmeList(char2oct(rsp.response.body)); } @@ -72,7 +78,8 @@ function f_REST_MmeInfo(ParamMmeId mme_id) runs on http_CT return MmeItem { var charstring p_mme_id := enc_ParamMmeId(mme_id); - var HTTPMessage rsp := f_http_transact("/mme/" & p_mme_id, method := "GET"); + var HTTPMessage rsp := f_http_transact("/mme/" & p_mme_id, method := "GET", + exp := tr_HTTP_RespBody(decmatch MmeItem:?)); return dec_MmeItem(char2oct(rsp.response.body)); } @@ -87,7 +94,8 @@ /* Get a list of eNB connections */ function f_REST_EnbList() runs on http_CT return EnbList { - var HTTPMessage rsp := f_http_transact("/enb-list", method := "GET"); + var HTTPMessage rsp := f_http_transact("/enb-list", method := "GET", + exp := tr_HTTP_RespBody(decmatch EnbList:?)); return dec_EnbList(char2oct(rsp.response.body)); } @@ -95,7 +103,8 @@ function f_REST_EnbInfo(ParamEnbId enb_id) runs on http_CT return EnbItem { var charstring p_enb_id := enc_ParamEnbId(enb_id); - var HTTPMessage rsp := f_http_transact("/enb/" & p_enb_id, method := "GET"); + var HTTPMessage rsp := f_http_transact("/enb/" & p_enb_id, method := "GET", + exp := tr_HTTP_RespBody(decmatch EnbItem:?)); return dec_EnbItem(char2oct(rsp.response.body)); } @@ -103,14 +112,16 @@ function f_REST_EnbErabList(ParamEnbId enb_id) runs on http_CT return ErabList { var charstring p_enb_id := enc_ParamEnbId(enb_id); - var HTTPMessage rsp := f_http_transact("/enb/" & p_enb_id & "/erab-list", method := "GET"); + var HTTPMessage rsp := f_http_transact("/enb/" & p_enb_id & "/erab-list", method := "GET", + exp := tr_HTTP_RespBody(decmatch ErabList:?)); return dec_ErabList(char2oct(rsp.response.body)); } /* Get E-RAB list for all eNBs */ function f_REST_ErabList() runs on http_CT return ErabList { - var HTTPMessage rsp := f_http_transact("/erab-list", method := "GET"); + var HTTPMessage rsp := f_http_transact("/erab-list", method := "GET", + exp := tr_HTTP_RespBody(decmatch ErabList:?)); return dec_ErabList(char2oct(rsp.response.body)); } @@ -118,7 +129,8 @@ function f_REST_ErabInfo(ParamErabId erab_id) runs on http_CT return ErabItem { var charstring p_erab_id := enc_ParamErabId(erab_id); - var HTTPMessage rsp := f_http_transact("/erab/" & p_erab_id, method := "GET"); + var HTTPMessage rsp := f_http_transact("/erab/" & p_erab_id, method := "GET", + exp := tr_HTTP_RespBody(decmatch ErabItem:?)); return dec_ErabItem(char2oct(rsp.response.body)); } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/42438?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: I6997dae5314d4a4588386183832426ab5b8d0843 Gerrit-Change-Number: 42438 Gerrit-PatchSet: 1 Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de> Gerrit-Reviewer: Jenkins Builder Gerrit-Reviewer: laforge <laforge(a)osmocom.org> Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
1 0
0 0
  • ← Newer
  • 1
  • ...
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • ...
  • 194
  • Older →

HyperKitty Powered by HyperKitty version 1.3.12.