open5gs/configs
Pau Espin 2be12903cb
[SMF] Introduce optional Gy interface support (#1479)
The use of the Gy interface (SMF acting as CTF towards an OCS node) is
mandated through configuration file. Default value "enable: auto" will
only make use of it in case a Diameter peer announcing support for the
Credit-Control Application is found.

Upon subscriber session creation, and after auth check over Gx, the SMF
will create a Gy session with the OCS and only after that step the SMF
will accept the session back to the subscriber.
The OCS may then grant some traffic volumes/time and ask to be notified
back with updated measurements.
In order to get the measurements, the SMF relies on PFCP URR configured
to the UPF through Session Repoort Request messages.
When closing the subscriber session, the SMF will also terminate the Gy
session at the OCS.

So far only some specifics parts of the Gy interface as well as the PFCP
side are implemented. Those should be enough to at least have
volume/time thresholds granted by the OCS, which then will be able to
track subsriber resource use.

This patch doesn't implement the OCS side of the Gy interface, that's
left as a future exercise. The interface was tested using an OCS
emulator implemented in TTCN-3 [1]

[1] https://cgit.osmocom.org/osmo-ttcn3-hacks/
2022-04-09 08:26:28 +09:00
..
freeDiameter [EPC] Support ePDG Interface (#1039) 2021-06-21 22:36:38 +09:00
logrotate Include 5G Core NF in the Log rotate [#542] 2020-09-01 23:10:49 -04:00
newsyslog Include 5G Core NF in the Log rotate [#542] 2020-09-01 23:10:49 -04:00
open5gs [SMF] Introduce optional Gy interface support (#1479) 2022-04-09 08:26:28 +09:00
systemd Relax systemd requirements (#1368) 2022-02-16 17:56:14 +09:00
310014.yaml.in changed default ipv6 prefix to 2001:db8:cafe:: (#1321) 2022-01-14 11:50:27 +09:00
csfb.yaml.in changed default ipv6 prefix to 2001:db8:cafe:: (#1321) 2022-01-14 11:50:27 +09:00
meson.build Update IPv6 configuration (#1250) 2021-11-28 16:42:47 +09:00
non3gpp.yaml.in changed default ipv6 prefix to 2001:db8:cafe:: (#1321) 2022-01-14 11:50:27 +09:00
sample.yaml.in changed default ipv6 prefix to 2001:db8:cafe:: (#1321) 2022-01-14 11:50:27 +09:00
slice.yaml.in changed default ipv6 prefix to 2001:db8:cafe:: (#1321) 2022-01-14 11:50:27 +09:00
srslte.yaml.in changed default ipv6 prefix to 2001:db8:cafe:: (#1321) 2022-01-14 11:50:27 +09:00
volte.yaml.in [CX] Update test code 2022-02-01 14:51:54 +09:00
vonr.yaml.in changed default ipv6 prefix to 2001:db8:cafe:: (#1321) 2022-01-14 11:50:27 +09:00