Attention is currently required from: lynxis lazus, pespin.
Hello Jenkins Builder, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-msc/+/38413?usp=email
to look at the new patch set (#5).
The following approvals got outdated and were removed:
Code-Review+1 by pespin, Verified-1 by Jenkins Builder
Change subject: vlr: vlr_auth_fsm: make the fsm instance private
......................................................................
vlr: vlr_auth_fsm: make the fsm instance private
Like all the other libvlr fsm, they are private to their own files,
keep the vlr_auth_fsm the same and be consistant.
Change-Id: Iec85f299cd99879475ab094998433d935e980394
---
M src/libvlr/vlr.c
M src/libvlr/vlr_auth_fsm.c
M src/libvlr/vlr_auth_fsm.h
3 files changed, 15 insertions(+), 5 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/13/38413/5
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/38413?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: Iec85f299cd99879475ab094998433d935e980394
Gerrit-Change-Number: 38413
Gerrit-PatchSet: 5
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Attention is currently required from: lynxis lazus, pespin.
Hello Jenkins Builder, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-msc/+/38412?usp=email
to look at the new patch set (#5).
The following approvals got outdated and were removed:
Code-Review+1 by pespin, Verified-1 by Jenkins Builder
Change subject: vlr: make vlr_parq_fsm_init() private
......................................................................
vlr: make vlr_parq_fsm_init() private
All other fsm initialisation are internal to the libvlr code.
Change-Id: I3b4cfc01e6dd5434c74b4fa24a3e0945668b2a74
---
M include/osmocom/vlr/vlr.h
M src/libvlr/vlr_access_req_fsm.h
2 files changed, 1 insertion(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/12/38412/5
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/38412?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I3b4cfc01e6dd5434c74b4fa24a3e0945668b2a74
Gerrit-Change-Number: 38412
Gerrit-PatchSet: 5
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Attention is currently required from: pespin.
Hello Jenkins Builder, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-msc/+/38410?usp=email
to look at the new patch set (#5).
The following approvals got outdated and were removed:
Verified-1 by Jenkins Builder
Change subject: vlr: add a logging layer
......................................................................
vlr: add a logging layer
To prepare the split off into a separate library,
the logging can't use log category from a define.
Use the same strategy as all the other osmo libraries and
use a global array which is set on initialisation to define the logging
categories.
Change-Id: I6d87b38d6d7d704c7c7b2c90ad12187e4b953b8b
---
M include/osmocom/vlr/vlr.h
M src/libmsc/gsm_04_08.c
M src/libmsc/msc_net_init.c
M src/libvlr/vlr.c
M src/libvlr/vlr_access_req_fsm.c
M src/libvlr/vlr_access_req_fsm.h
M src/libvlr/vlr_auth_fsm.c
M src/libvlr/vlr_core.h
M src/libvlr/vlr_lu_fsm.c
M src/libvlr/vlr_lu_fsm.h
M src/libvlr/vlr_sgs.c
M src/libvlr/vlr_sgs_fsm.c
M src/libvlr/vlr_sgs_fsm.h
M tests/msc_vlr/msc_vlr_test_authen_reuse.err
M tests/msc_vlr/msc_vlr_test_call.err
M tests/msc_vlr/msc_vlr_test_gsm_authen.err
M tests/msc_vlr/msc_vlr_test_gsm_ciph.err
M tests/msc_vlr/msc_vlr_test_hlr_reject.err
M tests/msc_vlr/msc_vlr_test_hlr_timeout.err
M tests/msc_vlr/msc_vlr_test_ms_timeout.err
M tests/msc_vlr/msc_vlr_test_no_authen.err
M tests/msc_vlr/msc_vlr_test_reject_concurrency.err
M tests/msc_vlr/msc_vlr_test_rest.err
M tests/msc_vlr/msc_vlr_test_ss.err
M tests/msc_vlr/msc_vlr_test_umts_authen.err
M tests/msc_vlr/msc_vlr_tests.c
26 files changed, 237 insertions(+), 167 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-msc refs/changes/10/38410/5
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/38410?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I6d87b38d6d7d704c7c7b2c90ad12187e4b953b8b
Gerrit-Change-Number: 38410
Gerrit-PatchSet: 5
Gerrit-Owner: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Attention is currently required from: fixeria, lynxis lazus, pespin.
Hello Jenkins Builder, fixeria, lynxis lazus,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-sgsn/+/38435?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
Change subject: ranap: Fix decoding of padded ITU X.213 IPv4 TLA in Rab Ass Resp
......................................................................
ranap: Fix decoding of padded ITU X.213 IPv4 TLA in Rab Ass Resp
Simply use the existing omos-iuh library helper to decode the IP
address, which is more robust than existing adhoc code in osmo-sgsn.
The library version already supports decoding ITU X.213 IANA binary IPv4
addresses padded to 20 bytes.
Related: OS#6508
Related: SYS#7119
Change-Id: I9c48b676068574338f60b6ed7ad8b61ba748b52e
---
M src/sgsn/gprs_ranap.c
1 file changed, 23 insertions(+), 15 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/35/38435/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/38435?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I9c48b676068574338f60b6ed7ad8b61ba748b52e
Gerrit-Change-Number: 38435
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Attention is currently required from: fixeria, lynxis lazus, pespin.
Hello Jenkins Builder, fixeria, lynxis lazus,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-sgsn/+/38436?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Verified+1 by Jenkins Builder
Change subject: ranap: Reject ActivatePDPCtx from UE if RABAssResp parsing fails
......................................................................
ranap: Reject ActivatePDPCtx from UE if RABAssResp parsing fails
Before this patch, if Rx path at RAB Ass Req failed, the PDP ctx in the
middle of being activated was left untouched.
Explicitly communicate the failure to both sides (UE and GGSN).
Related: OS#6508
Related: SYS#7119
Change-Id: I111cc4b17100d2e1ef756b654dc9e98415b3a8bb
---
M src/sgsn/gprs_ranap.c
1 file changed, 13 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/36/38436/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/38436?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: I111cc4b17100d2e1ef756b654dc9e98415b3a8bb
Gerrit-Change-Number: 38436
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: lynxis lazus <lynxis(a)fe80.eu>
Attention is currently required from: osmith.
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-ci/+/38432?usp=email )
Change subject: jobs: Move ttcn3-stp-test* to use testenv
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
I think I actually didn't deploy this yet, I'm waiting for @osmith@sysmocom.de review before.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/38432?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Ifdee05395c4c80a3c9cb60828c268bcbb8f430a8
Gerrit-Change-Number: 38432
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 16 Oct 2024 15:19:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
pespin has submitted this change. ( https://gerrit.osmocom.org/c/upf-benchmark/+/38354?usp=email )
Change subject: Rename osmo-pfcp-tool to osmo-upf-load-gen
......................................................................
Rename osmo-pfcp-tool to osmo-upf-load-gen
Change-Id: Ie36379b5dcf4ab86276dfda9e25410fe41db1d93
---
M configure.ac
M debian/upf-benchmark.install
M include/osmocom/Makefile.am
R include/osmocom/upfloadgen/Makefile.am
R include/osmocom/upfloadgen/checksum.h
R include/osmocom/upfloadgen/gtp_flood.h
R include/osmocom/upfloadgen/pfcp_tool.h
R include/osmocom/upfloadgen/range.h
M src/Makefile.am
M src/osmo-udp-responder/udp_responder.c
R src/osmo-upf-load-gen/Makefile.am
R src/osmo-upf-load-gen/checksum.c
R src/osmo-upf-load-gen/gtp_flood.c
R src/osmo-upf-load-gen/main.c
R src/osmo-upf-load-gen/pfcp_tool.c
R src/osmo-upf-load-gen/pfcp_tool_vty.c
R src/osmo-upf-load-gen/range.c
M testsuites/gtplab-sysmo2017/overview_only_tunend.dot
M testsuites/gtplab-sysmo2017/overview_only_tunmap.dot
M testsuites/gtplab-sysmo2017/overview_tunmap_and_tunend.dot
M testsuites/gtplab-sysmo2017/tunend/ran/0.gtp_flood.vty
R testsuites/gtplab-sysmo2017/tunend/ran/osmo-upf-load-gen.cfg
M testsuites/gtplab-sysmo2017/tunend/ran/run.sh
M testsuites/gtplab-sysmo2017/tunmap/ran/0.gtp_flood.vty
R testsuites/gtplab-sysmo2017/tunmap/ran/osmo-upf-load-gen.cfg
M testsuites/gtplab-sysmo2017/tunmap/ran/run.sh
26 files changed, 44 insertions(+), 44 deletions(-)
Approvals:
laforge: Looks good to me, approved
pespin: Verified
diff --git a/configure.ac b/configure.ac
index 61a8d35..03cfe40 100644
--- a/configure.ac
+++ b/configure.ac
@@ -161,9 +161,9 @@
AC_OUTPUT(
include/Makefile
include/osmocom/Makefile
- include/osmocom/pfcptool/Makefile
+ include/osmocom/upfloadgen/Makefile
src/Makefile
- src/osmo-pfcp-tool/Makefile
+ src/osmo-upf-load-gen/Makefile
src/osmo-udp-responder/Makefile
src/osmo-udp-simpleflood/Makefile
doc/Makefile
diff --git a/debian/upf-benchmark.install b/debian/upf-benchmark.install
index 6653611..c358399 100644
--- a/debian/upf-benchmark.install
+++ b/debian/upf-benchmark.install
@@ -1 +1 @@
-usr/bin/osmo-pfcp-tool
+usr/bin/osmo-upf-load-gen
diff --git a/include/osmocom/Makefile.am b/include/osmocom/Makefile.am
index 1e3c7ce..23fcf5b 100644
--- a/include/osmocom/Makefile.am
+++ b/include/osmocom/Makefile.am
@@ -1,3 +1,3 @@
SUBDIRS = \
- pfcptool \
+ upfloadgen \
$(NULL)
diff --git a/include/osmocom/pfcptool/Makefile.am b/include/osmocom/upfloadgen/Makefile.am
similarity index 100%
rename from include/osmocom/pfcptool/Makefile.am
rename to include/osmocom/upfloadgen/Makefile.am
diff --git a/include/osmocom/pfcptool/checksum.h b/include/osmocom/upfloadgen/checksum.h
similarity index 100%
rename from include/osmocom/pfcptool/checksum.h
rename to include/osmocom/upfloadgen/checksum.h
diff --git a/include/osmocom/pfcptool/gtp_flood.h b/include/osmocom/upfloadgen/gtp_flood.h
similarity index 100%
rename from include/osmocom/pfcptool/gtp_flood.h
rename to include/osmocom/upfloadgen/gtp_flood.h
diff --git a/include/osmocom/pfcptool/pfcp_tool.h b/include/osmocom/upfloadgen/pfcp_tool.h
similarity index 97%
rename from include/osmocom/pfcptool/pfcp_tool.h
rename to include/osmocom/upfloadgen/pfcp_tool.h
index 699fd87..2c50490 100644
--- a/include/osmocom/pfcptool/pfcp_tool.h
+++ b/include/osmocom/upfloadgen/pfcp_tool.h
@@ -1,4 +1,4 @@
-/* Global definitions for osmo-pfcp-tool */
+/* Global definitions for osmo-upf-load-gen */
/*
* (C) 2021-2022 by sysmocom - s.f.m.c. GmbH <info(a)sysmocom.de>
* All Rights Reserved.
@@ -33,8 +33,8 @@
#include <osmocom/pfcp/pfcp_msg.h>
-#include <osmocom/pfcptool/range.h>
-#include <osmocom/pfcptool/gtp_flood.h>
+#include <osmocom/upfloadgen/range.h>
+#include <osmocom/upfloadgen/gtp_flood.h>
struct osmo_tdef;
struct ctrl_handle;
diff --git a/include/osmocom/pfcptool/range.h b/include/osmocom/upfloadgen/range.h
similarity index 100%
rename from include/osmocom/pfcptool/range.h
rename to include/osmocom/upfloadgen/range.h
diff --git a/src/Makefile.am b/src/Makefile.am
index 0005c41..cbb86dc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,5 +1,5 @@
SUBDIRS = \
- osmo-pfcp-tool \
+ osmo-upf-load-gen \
osmo-udp-responder \
osmo-udp-simpleflood \
$(NULL)
diff --git a/src/osmo-udp-responder/udp_responder.c b/src/osmo-udp-responder/udp_responder.c
index 5ffe707..b93a09f 100644
--- a/src/osmo-udp-responder/udp_responder.c
+++ b/src/osmo-udp-responder/udp_responder.c
@@ -47,7 +47,7 @@
#include <osmocom/core/socket.h>
#include <osmocom/core/sockaddr_str.h>
-#include <osmocom/pfcptool/gtp_flood.h>
+#include <osmocom/upfloadgen/gtp_flood.h>
static volatile bool started;
static struct timespec ts_start;
diff --git a/src/osmo-pfcp-tool/Makefile.am b/src/osmo-upf-load-gen/Makefile.am
similarity index 88%
rename from src/osmo-pfcp-tool/Makefile.am
rename to src/osmo-upf-load-gen/Makefile.am
index ea16f72..1400fa1 100644
--- a/src/osmo-pfcp-tool/Makefile.am
+++ b/src/osmo-upf-load-gen/Makefile.am
@@ -25,13 +25,13 @@
$(NULL)
bin_PROGRAMS = \
- osmo-pfcp-tool \
+ osmo-upf-load-gen \
$(NULL)
-osmo_pfcp_tool_SOURCES = \
+osmo_upf_load_gen_SOURCES = \
checksum.c \
gtp_flood.c \
- osmo_pfcp_tool_main.c \
+ main.c \
pfcp_tool.c \
pfcp_tool_vty.c \
range.c \
diff --git a/src/osmo-pfcp-tool/checksum.c b/src/osmo-upf-load-gen/checksum.c
similarity index 98%
rename from src/osmo-pfcp-tool/checksum.c
rename to src/osmo-upf-load-gen/checksum.c
index c6abe27..f182fe2 100644
--- a/src/osmo-pfcp-tool/checksum.c
+++ b/src/osmo-upf-load-gen/checksum.c
@@ -39,7 +39,7 @@
#include <sys/endian.h>
#endif
-#include <osmocom/pfcptool/checksum.h>
+#include <osmocom/upfloadgen/checksum.h>
#include <arpa/inet.h>
static inline unsigned short from32to16(unsigned int x)
diff --git a/src/osmo-pfcp-tool/gtp_flood.c b/src/osmo-upf-load-gen/gtp_flood.c
similarity index 98%
rename from src/osmo-pfcp-tool/gtp_flood.c
rename to src/osmo-upf-load-gen/gtp_flood.c
index 69cbf4b..cb4fdf8 100644
--- a/src/osmo-pfcp-tool/gtp_flood.c
+++ b/src/osmo-upf-load-gen/gtp_flood.c
@@ -30,7 +30,7 @@
#endif
#include "config.h"
-#include <osmocom/pfcptool/gtp_flood.h>
+#include <osmocom/upfloadgen/gtp_flood.h>
#include <osmocom/core/logging.h>
#define HAVE_URING 1
@@ -47,8 +47,8 @@
#include <osmocom/core/linuxlist.h>
#include <osmocom/core/talloc.h>
#include <osmocom/vty/cpu_sched_vty.h>
-#include <osmocom/pfcptool/pfcp_tool.h>
-#include <osmocom/pfcptool/checksum.h>
+#include <osmocom/upfloadgen/pfcp_tool.h>
+#include <osmocom/upfloadgen/checksum.h>
#define PKT_BUF_SIZE 1452
@@ -263,7 +263,7 @@
/* write some payload */
struct osmo_strbuf sb = { .buf = (void *)cur, .len = udp_payload_len };
- OSMO_STRBUF_PRINTF(sb, "osmo-pfcp-tool gtp flood, emitted from %s to %s teid 0x%08x flow %u\n",
+ OSMO_STRBUF_PRINTF(sb, "osmo-upf-load-gen gtp flood, emitted from %s to %s teid 0x%08x flow %u\n",
osmo_sockaddr_to_str_c(OTC_SELECT, &flow->cfg.gtp_local->osa),
osmo_sockaddr_to_str_c(OTC_SELECT, &flow->cfg.gtp_remote),
flow->cfg.gtp_remote_teid,
diff --git a/src/osmo-pfcp-tool/osmo_pfcp_tool_main.c b/src/osmo-upf-load-gen/main.c
similarity index 95%
rename from src/osmo-pfcp-tool/osmo_pfcp_tool_main.c
rename to src/osmo-upf-load-gen/main.c
index d61c951..040abca 100644
--- a/src/osmo-pfcp-tool/osmo_pfcp_tool_main.c
+++ b/src/osmo-upf-load-gen/main.c
@@ -45,8 +45,8 @@
#include <osmocom/pfcp/pfcp_endpoint.h>
-#include <osmocom/pfcptool/pfcp_tool.h>
-#include <osmocom/pfcptool/gtp_flood.h>
+#include <osmocom/upfloadgen/pfcp_tool.h>
+#include <osmocom/upfloadgen/gtp_flood.h>
#include <getopt.h>
@@ -68,13 +68,13 @@
enum vty_ref_gen_mode vty_ref_gen_mode;
const char *command_file;
} pfcp_tool_cmdline_config = {
- .config_file = "osmo-pfcp-tool.cfg",
+ .config_file = "osmo-upf-load-gen.cfg",
.vty_ref_gen_mode = VTY_REF_GEN_MODE_DEFAULT,
};
static void print_usage()
{
- printf("Usage: osmo-pfcp-tool [command-file.vty]\n telnet localhost %d\n", OSMO_VTY_PORT_PFCP_TOOL);
+ printf("Usage: osmo-upf-load-gen [command-file.vty]\n telnet localhost %d\n", OSMO_VTY_PORT_PFCP_TOOL);
}
static void print_help()
@@ -210,11 +210,11 @@
}
static struct vty_app_info pfcp_tool_vty_app_info = {
- .name = "osmo-pfcp-tool",
+ .name = "osmo-upf-load-gen",
.version = PACKAGE_VERSION,
.copyright =
- "OsmoPFCPTool - Osmocom Packet Forwarding Control Protocol tool for testing\r\n"
- "Copyright (C) 2021-2022 by sysmocom - s.f.m.c. GmbH <info(a)sysmocom.de>\r\n"
+ "OsmoUPFLoadGen - Osmocom UPF PFCP / GTPv1U traffic generator\r\n"
+ "Copyright (C) 2021-2024 by sysmocom - s.f.m.c. GmbH <info(a)sysmocom.de>\r\n"
"License AGPLv3+: GNU AGPL version 3 or later <http://gnu.org/licenses/agpl-3.0.html>\r\n"
"This is free software: you are free to change and redistribute it.\r\n"
"There is NO WARRANTY, to the extent permitted by law.\r\n",
@@ -259,7 +259,7 @@
osmo_fsm_set_dealloc_ctx(OTC_SELECT);
- tall_pfcp_tool_ctx = talloc_named_const(NULL, 1, "osmo-pfcp-tool");
+ tall_pfcp_tool_ctx = talloc_named_const(NULL, 1, "osmo-upf-load-gen");
pfcp_tool_vty_app_info.tall_ctx = tall_pfcp_tool_ctx;
msgb_talloc_ctx_init(tall_pfcp_tool_ctx, 0);
diff --git a/src/osmo-pfcp-tool/pfcp_tool.c b/src/osmo-upf-load-gen/pfcp_tool.c
similarity index 97%
rename from src/osmo-pfcp-tool/pfcp_tool.c
rename to src/osmo-upf-load-gen/pfcp_tool.c
index 6ba8d27..ba4ce6b 100644
--- a/src/osmo-pfcp-tool/pfcp_tool.c
+++ b/src/osmo-upf-load-gen/pfcp_tool.c
@@ -29,8 +29,8 @@
#include <osmocom/pfcp/pfcp_endpoint.h>
-#include <osmocom/pfcptool/pfcp_tool.h>
-#include <osmocom/pfcptool/gtp_flood.h>
+#include <osmocom/upfloadgen/pfcp_tool.h>
+#include <osmocom/upfloadgen/gtp_flood.h>
struct g_pfcp_tool *g_pfcp_tool = NULL;
@@ -333,8 +333,8 @@
}
/* The 'local' and 'remote' naming clashes here. struct pfcp_tool_gtp_tun names its items from the UPF's point
- * of view: so the GTP port of osmo-pfcp-tool is 'remote'.
- * Here we are setting up a port to emit GTP from osmo-pfcp-tool, the same port is called 'gtp_local'.
+ * of view: so the GTP port of osmo-upf-load-gen is 'remote'.
+ * Here we are setting up a port to emit GTP from osmo-upf-load-gen, the same port is called 'gtp_local'.
*/
cfg.gtp_local = pfcp_tool_have_local_udp_port_by_str(&tun_access->remote.addr, 2152);
if (!cfg.gtp_local) {
@@ -345,7 +345,7 @@
/* The 'local' and 'remote' naming clashes here. struct pfcp_tool_gtp_tun names its items from the UPF's point
* of view: so the GTP port of UPF is 'local'.
* Here we are reading the GTP port that the UPF has opened to receive GTP traffic; the same port is called
- * 'gtp_remote' in cfg, which is remote from osmo-pfcp-tool's point of view.
+ * 'gtp_remote' in cfg, which is remote from osmo-upf-load-gen's point of view.
*/
if (osmo_sockaddr_str_to_osa(&tun_access->local.addr, &cfg.gtp_remote)) {
LOGP(DLGLOBAL, LOGL_ERROR, "Cannot set up GTP flow for session, failed to identify UPF's GTP port\n");
diff --git a/src/osmo-pfcp-tool/pfcp_tool_vty.c b/src/osmo-upf-load-gen/pfcp_tool_vty.c
similarity index 99%
rename from src/osmo-pfcp-tool/pfcp_tool_vty.c
rename to src/osmo-upf-load-gen/pfcp_tool_vty.c
index 6348850..b153072 100644
--- a/src/osmo-pfcp-tool/pfcp_tool_vty.c
+++ b/src/osmo-upf-load-gen/pfcp_tool_vty.c
@@ -1,4 +1,4 @@
-/* osmo-pfcp-tool interface to quagga VTY */
+/* osmo-upf-load-gen interface to quagga VTY */
/*
* (C) 2021-2022 by sysmocom - s.f.m.c. GmbH <info(a)sysmocom.de>
* All Rights Reserved.
@@ -34,7 +34,7 @@
#include <osmocom/vty/vty.h>
#include <osmocom/vty/command.h>
-#include <osmocom/pfcptool/pfcp_tool.h>
+#include <osmocom/upfloadgen/pfcp_tool.h>
DEFUN(c_local_addr, c_local_addr_cmd,
"local-addr IP_ADDR",
@@ -1257,7 +1257,7 @@
te = &session->tunend;
/* Access: set remote GTP address from UPF's point of view.
- * A local GTP port from osmo-pfcp-tool's point of view. */
+ * A local GTP port from osmo-upf-load-gen's point of view. */
dst = &te->access.remote;
rc = set_access_ran_tunend(dst);
if (rc != CMD_SUCCESS)
@@ -1344,7 +1344,7 @@
tm = &session->tunmap;
/* Access: set remote GTP address from UPF's point of view.
- * A local GTP port from osmo-pfcp-tool's point of view. */
+ * A local GTP port from osmo-upf-load-gen's point of view. */
dst = &tm->access.remote;
rc = set_access_ran_tunend(dst);
if (rc != CMD_SUCCESS)
diff --git a/src/osmo-pfcp-tool/range.c b/src/osmo-upf-load-gen/range.c
similarity index 98%
rename from src/osmo-pfcp-tool/range.c
rename to src/osmo-upf-load-gen/range.c
index 5d30bd6..74a508f 100644
--- a/src/osmo-pfcp-tool/range.c
+++ b/src/osmo-upf-load-gen/range.c
@@ -24,7 +24,7 @@
#include <osmocom/core/socket.h>
#include <osmocom/core/utils.h>
-#include <osmocom/pfcptool/range.h>
+#include <osmocom/upfloadgen/range.h>
void range_val_set_int(struct range_val *rv, uint32_t val)
{
diff --git a/testsuites/gtplab-sysmo2017/overview_only_tunend.dot b/testsuites/gtplab-sysmo2017/overview_only_tunend.dot
index 067f091..ddd91b6 100644
--- a/testsuites/gtplab-sysmo2017/overview_only_tunend.dot
+++ b/testsuites/gtplab-sysmo2017/overview_only_tunend.dot
@@ -7,7 +7,7 @@
label="gtplab0";
rankdir=TB;
gtplab0_172_31 [label="172.16.31.1/24"];
- tool [label="osmo-pfcp-tool",shape=box3d];
+ tool [label="osmo-upf-load-gen",shape=box3d];
}
subgraph cluster_gtplab1 {
label="gtplab1";
diff --git a/testsuites/gtplab-sysmo2017/overview_only_tunmap.dot b/testsuites/gtplab-sysmo2017/overview_only_tunmap.dot
index 96d5dcf..e108b2e 100644
--- a/testsuites/gtplab-sysmo2017/overview_only_tunmap.dot
+++ b/testsuites/gtplab-sysmo2017/overview_only_tunmap.dot
@@ -7,7 +7,7 @@
label="gtplab0";
rankdir=TB;
gtplab0_172_31 [label="172.16.31.1/24"];
- tool [label="osmo-pfcp-tool",shape=box3d];
+ tool [label="osmo-upf-load-gen",shape=box3d];
insert_teid [label="insert return TEID\nin UDP payload",shape=note];
}
subgraph cluster_gtplab1 {
diff --git a/testsuites/gtplab-sysmo2017/overview_tunmap_and_tunend.dot b/testsuites/gtplab-sysmo2017/overview_tunmap_and_tunend.dot
index 6d82dd9..f7f4224 100644
--- a/testsuites/gtplab-sysmo2017/overview_tunmap_and_tunend.dot
+++ b/testsuites/gtplab-sysmo2017/overview_tunmap_and_tunend.dot
@@ -8,7 +8,7 @@
rankdir=TB;
gtplab0_10 [label="10.9.25.20/24"];
gtplab0_172_31 [label="172.16.31.1/24"];
- tool [label="osmo-pfcp-tool",shape=box3d];
+ tool [label="osmo-upf-load-gen",shape=box3d];
}
subgraph cluster_gtplab1 {
label="gtplab1";
diff --git a/testsuites/gtplab-sysmo2017/tunend/ran/0.gtp_flood.vty b/testsuites/gtplab-sysmo2017/tunend/ran/0.gtp_flood.vty
index 9d197ab..c816a12 100644
--- a/testsuites/gtplab-sysmo2017/tunend/ran/0.gtp_flood.vty
+++ b/testsuites/gtplab-sysmo2017/tunend/ran/0.gtp_flood.vty
@@ -1,7 +1,7 @@
# Establish N PFCP sessions for tunend, and emit massive GTP traffic to the UPF
# to each established tunnel.
#
-# osmo-pfcp-tool UPF "internet host"
+# osmo-upf-load-gen UPF "internet host"
# |GTP-ep -------GTP-----> GTP-ep|UE-IP-addr -------IP------> arbitrary-IP|
# |10.0.1.1 10.0.2.1|192.168.10.23 123.234.42.23|
# |10.0.1.2
@@ -128,7 +128,7 @@
date
# All GTP is flowing.
-# osmo-pfcp-tool will keep this up for as long as there still are active GTP flows,
+# osmo-upf-load-gen will keep this up for as long as there still are active GTP flows,
# or until receiving a signal interrupt (ctrl-C).
# give some time to gather counters before the tunnel is removed
diff --git a/testsuites/gtplab-sysmo2017/tunend/ran/osmo-pfcp-tool.cfg b/testsuites/gtplab-sysmo2017/tunend/ran/osmo-upf-load-gen.cfg
similarity index 100%
rename from testsuites/gtplab-sysmo2017/tunend/ran/osmo-pfcp-tool.cfg
rename to testsuites/gtplab-sysmo2017/tunend/ran/osmo-upf-load-gen.cfg
diff --git a/testsuites/gtplab-sysmo2017/tunend/ran/run.sh b/testsuites/gtplab-sysmo2017/tunend/ran/run.sh
index cfd313c..a7b19a7 100755
--- a/testsuites/gtplab-sysmo2017/tunend/ran/run.sh
+++ b/testsuites/gtplab-sysmo2017/tunend/ran/run.sh
@@ -2,4 +2,4 @@
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
-osmo-pfcp-tool -c "$SCRIPT_DIR/osmo-pfcp-tool.cfg" "$SCRIPT_DIR/0.gtp_flood.vty"
\ No newline at end of file
+osmo-upf-load-gen -c "$SCRIPT_DIR/osmo-upf-load-gen.cfg" "$SCRIPT_DIR/0.gtp_flood.vty"
\ No newline at end of file
diff --git a/testsuites/gtplab-sysmo2017/tunmap/ran/0.gtp_flood.vty b/testsuites/gtplab-sysmo2017/tunmap/ran/0.gtp_flood.vty
index 611065c..0fe7b42 100644
--- a/testsuites/gtplab-sysmo2017/tunmap/ran/0.gtp_flood.vty
+++ b/testsuites/gtplab-sysmo2017/tunmap/ran/0.gtp_flood.vty
@@ -1,7 +1,7 @@
# Establish N PFCP sessions for tunmap, and emit massive GTP traffic to the UPF
# to each established tunnel.
#
-# osmo-pfcp-tool UPF "core"
+# osmo-upf-load-gen UPF "core"
# |GTP-ep -------GTP-----> GTP-ep|GTP-ep ----------IP------> GTP-ep
# |10.0.1.1 10.0.2.1|10.0.3.1 10.0.3.2
# |10.0.1.2
@@ -148,7 +148,7 @@
date
# All GTP is flowing.
-# osmo-pfcp-tool will keep this up for as long as there still are active GTP flows,
+# osmo-upf-load-gen will keep this up for as long as there still are active GTP flows,
# or until receiving a signal interrupt (ctrl-C).
# give some time to gather counters before the tunnel is removed
diff --git a/testsuites/gtplab-sysmo2017/tunmap/ran/osmo-pfcp-tool.cfg b/testsuites/gtplab-sysmo2017/tunmap/ran/osmo-upf-load-gen.cfg
similarity index 100%
rename from testsuites/gtplab-sysmo2017/tunmap/ran/osmo-pfcp-tool.cfg
rename to testsuites/gtplab-sysmo2017/tunmap/ran/osmo-upf-load-gen.cfg
diff --git a/testsuites/gtplab-sysmo2017/tunmap/ran/run.sh b/testsuites/gtplab-sysmo2017/tunmap/ran/run.sh
index 277bb4a..fb65c2b 100755
--- a/testsuites/gtplab-sysmo2017/tunmap/ran/run.sh
+++ b/testsuites/gtplab-sysmo2017/tunmap/ran/run.sh
@@ -2,4 +2,4 @@
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
-osmo-pfcp-tool -c "$SCRIPT_DIR/osmo-pfcp-tool.cfg" "$SCRIPT_DIR/0.gtp_flood.vty"
+osmo-upf-load-gen -c "$SCRIPT_DIR/osmo-upf-load-gen.cfg" "$SCRIPT_DIR/0.gtp_flood.vty"
--
To view, visit https://gerrit.osmocom.org/c/upf-benchmark/+/38354?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: upf-benchmark
Gerrit-Branch: master
Gerrit-Change-Id: Ie36379b5dcf4ab86276dfda9e25410fe41db1d93
Gerrit-Change-Number: 38354
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/upf-benchmark/+/38354?usp=email )
Change subject: Rename osmo-pfcp-tool to osmo-upf-load-gen
......................................................................
Patch Set 2: Verified+1
--
To view, visit https://gerrit.osmocom.org/c/upf-benchmark/+/38354?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: upf-benchmark
Gerrit-Branch: master
Gerrit-Change-Id: Ie36379b5dcf4ab86276dfda9e25410fe41db1d93
Gerrit-Change-Number: 38354
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 16 Oct 2024 15:18:56 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes