Skip to content
Unstable

Changes

Summary

  1. Introduce PCRF_Tests testsuite (details)
  2. pcrf: Validate Gx metrics (details)
  3. cosmetic: Fix same typo in comment in several files (details)
  4. lapdm: remove (details)
  5. upf: remove unused port PFCP from test_CT (details)
  6. hnbgw: move vc_PFCP from ConnHdlr to test_CT (details)
  7. library/PFCP_Emulation: look up by SeqNr and SEID separately (details)
  8. library/PFCP_Emulation: fix routing of incoming PDUs (details)
  9. library/PFCP_Emulation: allow retrieving the Recovery Time Stamp (details)
  10. s1gw: rework f_pfcp_wait_assoc_setup() into f_ConnHdlr_pfcp_expect() (details)
Commit e7d3cbac2329fa551daf1315eef0eb0039e63678 by Pau Espin Pedrol
Introduce PCRF_Tests testsuite

Change-Id: I381577111ccadaefe42f6abe3cd9bb30cc8ceb56
The file was addedpcrf/regen_makefile.sh
The file was modifiedMakefile
The file was addedpcrf/PCRF_Tests.ttcn
The file was addedpcrf/expected-results.xml
The file was addedpcrf/PCRF_Tests.cfg
The file was addedpcrf/PCRF_Tests.default
The file was addedpcrf/testenv.cfg
The file was addedpcrf/open5gs-pcrf.yaml
The file was modifiedlibrary/DIAMETER_ts29_212_Templates.ttcn
The file was addedpcrf/gen_links.sh
The file was addedpcrf/mongod.conf
The file was addedpcrf/create_test_subscribers.sh
The file was modifiedlibrary/DIAMETER_Templates.ttcn
The file was addedpcrf/freediameter.conf
Commit 04c681f3916f821cc6e2a9c9d143ca3b50dae545 by Pau Espin Pedrol
pcrf: Validate Gx metrics

Change-Id: I4eab93f14d45f291c391d9519dc1462508f8a1eb
The file was modifiedpcrf/PCRF_Tests.ttcn
Commit 7795249ef78eda7b6d15ce3a19e44c4f8a66bbfa by Pau Espin Pedrol
cosmetic: Fix same typo in comment in several files

Change-Id: Id59e09b0ac89251175ecee23e7f9d1a058644aa8
The file was modifiedggsn_tests/GGSN_Tests.ttcn
The file was modifiedpgw/PGW_Tests.ttcn
The file was modifiedhss/HSS_Tests.ttcn
Commit 48d4a3510b787753dea547ef2a246582e5fa4f3e by laforge
lapdm: remove

In the related patch, lapdm/L1CTL_Test.ttcn has been moved to
bts/BTS_Tests_LAPDm.ttcn. The remaining files in this directory are
unused. Remove them to unclutter the repository a bit.

Related: Ibbc967f0bd9a19ab4bbd17f612654d72cb32d571
Change-Id: I6aae060a5b252d3ab36378da8c721154b3186466
The file was removedlapdm/gen_links.sh
The file was removedlapdm/regen_makefile.sh
Commit 180cfb4f6f9e78d6da534af0df519ab192f69478 by laforge
upf: remove unused port PFCP from test_CT

Change-Id: Iba31a6aaa9a9ec854ba36956d1b853dcf66a804d
The file was modifiedupf/UPF_Tests.ttcn
Commit d13980f024e692222105a173930fb53559182b85 by laforge
hnbgw: move vc_PFCP from ConnHdlr to test_CT

A logical relation between the PFCP emulation component (acting as
the UP function) and its ConnHdlr components is one-to-many.  It's
unusual for the ConnHdlr components to have their own emulation
component, especially when a testcase spawns many of them.  This
renders the dispatch function of the PFCP emulation component useless.

The HNBGW testsuite, which is using the PFCP emulation, does not
spawn more than one ConnHdlr component, so there was no problem
with that so far.  Let's move the PFCP emulation to test_CT, in
order to allow spawning more than one ConnHdlr and to make the
component hierarchy less confusing.

Change-Id: Iaf7a54c674f2dc549572d918beb6f355f48ee700
The file was modifiedlibrary/PFCP_Emulation.ttcn
The file was modifiedhnbgw/HNBGW_Tests.ttcn
Commit 4512e7db1c59a1e605b8de97f17d8b2c2e6e5829 by laforge
library/PFCP_Emulation: look up by SeqNr and SEID separately

This allows routing of PFCP PDUs without SEID by SeqNr.
An example of such a PDU is the Heartbeat Request.

Change-Id: Ic7912d944e94852a587993708d51439ec90f08cd
The file was modifiedlibrary/PFCP_Emulation.ttcn
Commit 2962d17079f26e2d874e82fe019adab34088d270 by laforge
library/PFCP_Emulation: fix routing of incoming PDUs

Before this patch, the PFCP_Emulation component was unable to route
incoming PDUs properly.  The problem is that the SeqNr and SEID were
neither stored nor updated whem sending outgoing PDUs, and thus
remained unbound all the time.

Change-Id: I8e62471915ab9a917ac960d3078e89669b5ac0ea
The file was modifiedlibrary/PFCP_Emulation.ttcn
Commit fbb13fa0db9db46bd15192f83e4268783a04472f by laforge
library/PFCP_Emulation: allow retrieving the Recovery Time Stamp

The Recovery Time Stamp is a mandatory IE for some PDUs, such as:

* Heartbeat Request/Response
* PFCP Association Setup Request/Response

Allow the PFCP_ConnHdlr components to retrieve its value, so that
they can include it in outgoing (and expect in incoming) PDUs.

Change-Id: I23eb2b4e309460f93183df83cdd35e46a93fbb94
The file was modifiedlibrary/PFCP_Emulation.ttcn
Commit 8b6d8aa23db9e623ed36e57b12011a42a022b33e by Vadim Yanitskiy
s1gw: rework f_pfcp_wait_assoc_setup() into f_ConnHdlr_pfcp_expect()

Generalize this function, so that it can be used to expect any
PFCP PDUs, not just the Association Setup.

Change-Id: If691cb9df72672eddfbafdd8e03ae09c81b1ce71
The file was modifieds1gw/S1GW_ConnHdlr.ttcn