osmo-ttcn3-hacks/ggsn_tests
Pau Espin 5fa8f781c3 ggsn: Fix TC_gy_charging_volume_quota_threshold expectations
in Diameter, the CC-Input/Output direction is defined as follows in
RFC4006:
"""
8.24.  CC-Input-Octets AVP

The CC-Input-Octets AVP (AVP Code 412) is of type Unsigned64 and
contains the number of requested, granted, or used octets that can
be/have been received from the end user.

8.25.  CC-Output-Octets AVP

The CC-Output-Octets AVP (AVP Code 414) is of type Unsigned64 and
contains the number of requested, granted, or used octets that can
be/have been sent to the end user.
"""

So:
* 3GPP uplink is from end user to PGW, and hence 'CC-Input-Octets'
* 3GPP downlink is to end user to PGW, and hence 'CC-Output-Octets'

This test started failing a few days ago since a bug was recently
fixed in open5gs which was swapping the counters in open5gs-upfd:
https://github.com/open5gs/open5gs/pull/1793
f72a1edc6e

Change-Id: I2f64649ce70d85634f14b84eff98731f7711cbad
2022-10-03 14:00:02 +02:00
..
GGSN_Tests.cfg remove *.default from [EXECUTE] in *.default files 2018-03-13 14:30:55 +01:00
GGSN_Tests.default ggsn: Configure GTP_CodecPort to decode proper UpdatePDPContextRequest/Response 2022-02-16 15:47:15 +00:00
GGSN_Tests.ttcn ggsn: Fix TC_gy_charging_volume_quota_threshold expectations 2022-10-03 14:00:02 +02:00
README.md Update README.md of several TTCN3 test suites 2019-11-15 18:49:09 +00:00
expected-results.xml ggsn: Introduce test TC_pdp_act2_recovery 2019-08-23 19:13:34 +02:00
gen_links.sh ggsn: Properly encode MISDN IE in GTP 2022-05-18 20:01:44 +02:00
regen_makefile.sh ggsn: Properly encode MISDN IE in GTP 2022-05-18 20:01:44 +02:00

README.md

GGSN_Tests.ttcn

  • external interfaces
    • Gp: GTP (emulates SGSN)
    • Gi: IP (emulates Internet)
    • VTY

{% dot ggsn_tests.svg digraph G { rankdir=LR; GGSN [label="GGSN\nosmo-ggsn",shape="box"]; ATS [label="ATS\nGGSN_Tests.ttcn"];

ATS -> GGSN [label="Gp (GTP)"]; GGSN -> ATS [label="Gi (IP)"]; ATS -> GGSN [label="VTY"]; } %}