commit | 3a43e59060b9a4982fa5984e1609ee8cb37ce92d | [log] [tgz] |
---|---|---|
author | Neels Hofmeyr <nhofmeyr@sysmocom.de> | Mon Aug 08 15:49:17 2022 +0200 |
committer | Neels Janosch Hofmeyr <nhofmeyr@sysmocom.de> | Thu Aug 25 00:59:26 2022 +0200 |
tree | 81c6eaba6fcaf0f8c68a7776f08a65bdd475d045 | |
parent | 83e4e7a79eba60be74547250b1815376ee12e24b [diff] |
GTP mockup: list active GTP endecaps actions In GTP mockup mode, keep a GTP device (struct upf_gtp_dev) so that the GTP actions activated in mockup mode are listed on VTY. Drop the global GTP mockup mode, and instead allow single GTP devices to be mockup devices. The GTP mockup was first introduced for VTY tests during 'make check'. So far, in mockup mode, all GTP tunnel actions were simply cut short, and no tunnels were ever listed as active. TTCN3 tests do query osmo-upf to list currently active tunnels, so the GTP mockup fails these tests. To allow running TTCN3 tests without cap_net_admin privileges, always list (fake) active GTP tunnels. Useful in a lab environment: send PFCP commands to osmo-upf and get a listing of GTP tunnels that would have been active. So far, osmo-upf always uses only the first GTP device configured, but if we add support for multiple GTP devices, this patch allows putting only single devices in mockup mode. Related: SYS#5599 Change-Id: Ic09a5ccea24086eb04f46e6af669668e5fade752
The official homepage of the project is https://osmocom.org/projects/osmo-upf/wiki
You can clone from the official osmo-upf.git repository using
git clone git://git.osmocom.org/osmo-upf.git
There is a cgit interface at https://git.osmocom.org/osmo-upf/
To submit patches, see "Contributing" below.
User Manuals and VTY reference manuals are [optionally] built in PDF form as part of the build process.
Pre-rendered PDF version of the current "master" can be found at User Manual as well as the VTY Reference Manual
Discussions related to osmo-bts are happening on the osmocom-net-gprs@lists.osmocom.org mailing list, please see https://lists.osmocom.org/postorius/lists/osmocom-net-gprs@lists.osmocom.org/ for subscription options and the list archive.
Please observe the Osmocom Mailing List Rules when posting.
Our coding standards are described at https://osmocom.org/projects/cellular-infrastructure/wiki/Coding_standards
Submit patches at https://gerrit.osmocom.org/ See also https://osmocom.org/projects/cellular-infrastructure/wiki/Gerrit
The current patch queue for OsmoUPF can be seen at https://gerrit.osmocom.org/#/q/project:osmo-upf+status:open