Skip to content

Commit 8c30b18

Browse files
author
codebot
committed
Update main
2 parents cc2869f + e42c3eb commit 8c30b18

File tree

283 files changed

+10067
-6306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

283 files changed

+10067
-6306
lines changed

.gitlab/ci/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,7 @@ smoke valgrind update cache:
727727
artifacts:
728728
<<: *build_artifacts
729729
when: on_failure
730+
expire_in: 1 day
730731
cache:
731732
- *cache_build_set
732733

@@ -1710,6 +1711,7 @@ basic avx512 dpdk:
17101711
FORCE_DEBUG_INFO: "True"
17111712
ASSERT_LEVEL: AUTO
17121713
INFRASTRUCTURE_TAG: amd64-avx2-avx512
1714+
BUILD_ARGS: -DEXIT_TIMEOUT=15
17131715
after_script:
17141716
- *build_after_script
17151717
artifacts:

.gitlab/ci/e2e/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SRSGNB_REGISTRY_URI=registry.gitlab.com/softwareradiosystems/srsgnb
22
RETINA_REGISTRY_PREFIX=registry.gitlab.com/softwareradiosystems/ci/retina
3-
RETINA_VERSION=0.59.5
3+
RETINA_VERSION=0.60.5
44
UBUNTU_VERSION=24.04
55
AMARISOFT_VERSION=2023-09-08
66
SRSUE_VERSION=23.11

.gitlab/ci/e2e/retina_request_test_mode.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,14 @@
3636
arch: amd64
3737
cpu:
3838
requests: 1
39+
limits: 1
3940
memory:
40-
requests: "4G"
41+
requests: "8G"
42+
limits: "8G"
4143
ephemeral-storage:
4244
requests: "6G"
4345
limits: "6G"
4446
image: ${RETINA_REGISTRY_PREFIX}/open5gs:${OPEN5GS_VERSION}_${RETINA_VERSION}
4547
labels:
4648
- ${ZMQ_HOSTLABEL_0}
49+

.gitlab/ci/e2e/retina_request_test_mode_acc100.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
requests: "60G"
1919
limits: "60G"
2020
ephemeral-storage:
21-
requests: "6G"
22-
limits: "6G"
21+
requests: "50G"
22+
limits: "50G"
2323
hugepages-1Gi:
2424
requests: 8Gi
2525
limits: 8Gi
@@ -39,11 +39,12 @@
3939
arch: amd64
4040
cpu:
4141
requests: 1
42+
limits: 1
4243
memory:
43-
requests: "4G"
44+
requests: "8G"
45+
limits: "8G"
4446
ephemeral-storage:
4547
requests: "6G"
4648
limits: "6G"
4749
image: ${RETINA_REGISTRY_PREFIX}/open5gs:${OPEN5GS_VERSION}_${RETINA_VERSION}
48-
labels:
49-
- ${ZMQ_HOSTLABEL_0}
50+
labels: ["kubernetes.io/hostname=k8s-worker-uhd1"]

.gitlab/ci/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,9 @@ publish matlab:
303303
- job: publish main
304304
- job: builder version
305305
inherit:
306-
variables: false
306+
variables:
307+
- PUBLIC_PUSH_TOKEN
308+
- PUBLIC_REPO
307309
trigger:
308310
project: softwareradiosystems/srsgnb_matlab
309311
branch: master

.gitlab/ci/schedules.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Nightly Build Unit Tests Plugin:
4343
raw: false
4444

4545
Nightly E2E Tests Plugin:
46-
cron: "30 22 * * 1-5"
46+
cron: "00 22 * * 1-5"
4747
cron_timezone: "Europe/Madrid"
4848
ref: refs/heads/dev
4949
variables:
@@ -127,7 +127,7 @@ Nightly Build Unit Tests OpenSource:
127127
raw: false
128128

129129
Nightly E2E Tests OpenSource:
130-
cron: "30 22 * * 0"
130+
cron: "00 22 * * 0"
131131
cron_timezone: "Europe/Madrid"
132132
ref: refs/heads/dev
133133
variables:

apps/cu/cu.cpp

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include "cu_appconfig.h"
3939
#include "cu_appconfig_validator.h"
4040
#include "cu_appconfig_yaml_writer.h"
41+
#include "srsran/cu_cp/cu_cp_operation_controller.h"
4142
#include "srsran/e1ap/gateways/e1_local_connector_factory.h"
4243
#include "srsran/e2/e2ap_config_translators.h"
4344
#include "srsran/f1ap/gateways/f1c_network_server_factory.h"
@@ -312,7 +313,7 @@ int main(int argc, char** argv)
312313
cu_f1u_gtpu_msg.gtpu_pcap = cu_up_dlt_pcaps.f1u.get();
313314
std::unique_ptr<gtpu_demux> cu_f1u_gtpu_demux = create_gtpu_demux(cu_f1u_gtpu_msg);
314315
// > Create UDP gateway(s).
315-
std::vector<std::unique_ptr<gtpu_gateway>> cu_f1u_gws;
316+
srs_cu_up::gtpu_gateway_maps f1u_gw_maps;
316317
for (const srs_cu::cu_f1u_socket_appconfig& sock_cfg : cu_cfg.f1u_cfg.f1u_socket_cfg) {
317318
udp_network_gateway_config cu_f1u_gw_config = {};
318319
cu_f1u_gw_config.bind_address = sock_cfg.bind_addr;
@@ -321,12 +322,17 @@ int main(int argc, char** argv)
321322
cu_f1u_gw_config.reuse_addr = false;
322323
cu_f1u_gw_config.pool_occupancy_threshold = sock_cfg.udp_config.pool_threshold;
323324
cu_f1u_gw_config.rx_max_mmsg = sock_cfg.udp_config.rx_max_msgs;
325+
cu_f1u_gw_config.dscp = sock_cfg.udp_config.dscp;
324326
std::unique_ptr<gtpu_gateway> cu_f1u_gw = create_udp_gtpu_gateway(
325327
cu_f1u_gw_config, *epoll_broker, workers.cu_up_exec_mapper->io_ul_executor(), *workers.non_rt_low_prio_exec);
326-
cu_f1u_gws.push_back(std::move(cu_f1u_gw));
328+
if (not sock_cfg.five_qi.has_value()) {
329+
f1u_gw_maps.default_gws.push_back(std::move(cu_f1u_gw));
330+
} else {
331+
f1u_gw_maps.five_qi_gws[sock_cfg.five_qi.value()].push_back(std::move(cu_f1u_gw));
332+
}
327333
}
328334
std::unique_ptr<f1u_cu_up_udp_gateway> cu_f1u_conn =
329-
srs_cu_up::create_split_f1u_gw({cu_f1u_gws, *cu_f1u_gtpu_demux, *cu_up_dlt_pcaps.f1u, GTPU_PORT});
335+
srs_cu_up::create_split_f1u_gw({f1u_gw_maps, *cu_f1u_gtpu_demux, *cu_up_dlt_pcaps.f1u, GTPU_PORT});
330336

331337
// Create E1AP local connector
332338
std::unique_ptr<e1_local_connector> e1_gw =
@@ -377,7 +383,7 @@ int main(int argc, char** argv)
377383

378384
// start O-CU-CP
379385
cu_logger.info("Starting CU-CP...");
380-
o_cucp_obj.get_cu_cp().start();
386+
o_cucp_obj.get_operation_controller().start();
381387
cu_logger.info("CU-CP started successfully");
382388

383389
// Check connection to AMF
@@ -409,7 +415,7 @@ int main(int argc, char** argv)
409415
// Connect the forwarder to the metrics manager.
410416
metrics_notifier_forwarder.connect(metrics_mngr);
411417

412-
o_cuup_unit.unit->get_power_controller().start();
418+
o_cuup_unit.unit->get_operation_controller().start();
413419
{
414420
app_services::application_message_banners app_banner(app_name);
415421

@@ -419,10 +425,10 @@ int main(int argc, char** argv)
419425
}
420426

421427
// Stop O-CU-UP activity.
422-
o_cuup_unit.unit->get_power_controller().stop();
428+
o_cuup_unit.unit->get_operation_controller().stop();
423429

424430
// Stop O-CU-CP activity.
425-
o_cucp_obj.get_cu_cp().stop();
431+
o_cucp_obj.get_operation_controller().stop();
426432

427433
// Stop the timer source before stopping the workers.
428434
time_source.reset();

apps/cu/cu_appconfig.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,17 @@
2626
#include "apps/services/logger/logger_appconfig.h"
2727
#include "apps/services/network/udp_cli11_schema.h"
2828
#include "apps/services/worker_manager/worker_manager_appconfig.h"
29+
#include "srsran/ran/qos/five_qi.h"
2930
#include <string>
3031

3132
namespace srsran {
3233
namespace srs_cu {
3334

3435
/// F1-U sockets configuration
3536
struct cu_f1u_socket_appconfig {
36-
std::string bind_addr = "127.0.10.1"; // Bind address used by the F1-U interface
37-
udp_appconfig udp_config;
37+
std::string bind_addr = "127.0.10.1"; // Bind address used by the F1-U interface
38+
std::optional<five_qi_t> five_qi;
39+
udp_appconfig udp_config;
3840
};
3941

4042
/// F1-U configuration

apps/cu/cu_appconfig_cli11_schema.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ static void configure_cli11_f1u_socket_args(CLI::App& app, srs_cu::cu_f1u_socket
4242
f1u_cfg.bind_addr,
4343
"Default local IP address interfaces bind to, unless a specific bind address is specified")
4444
->check(CLI::ValidIPV4);
45+
add_option(app, "--five_qi", f1u_cfg.five_qi, "Assign this socket to a specific 5QI")->check(CLI::Range(0, 255));
4546

4647
configure_cli11_with_udp_config_schema(app, f1u_cfg.udp_config);
4748
}

apps/du/du.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
#include "du_appconfig_translators.h"
3838
#include "du_appconfig_validators.h"
3939
#include "du_appconfig_yaml_writer.h"
40-
#include "srsran/du/du_power_controller.h"
40+
#include "srsran/du/du_operation_controller.h"
4141
#include "srsran/e2/e2ap_config_translators.h"
4242
#include "srsran/e2/gateways/e2_connection_client.h"
4343
#include "srsran/e2/gateways/e2_network_client_factory.h"
@@ -333,7 +333,7 @@ int main(int argc, char** argv)
333333
*epoll_broker, *workers.non_rt_low_prio_exec, du_inst_and_cmds.commands);
334334

335335
// Start processing.
336-
du_inst.get_power_controller().start();
336+
du_inst.get_operation_controller().start();
337337
{
338338
app_services::application_message_banners app_banner(app_name);
339339

@@ -343,7 +343,7 @@ int main(int argc, char** argv)
343343
}
344344

345345
// Stop DU activity.
346-
du_inst.get_power_controller().stop();
346+
du_inst.get_operation_controller().stop();
347347

348348
du_logger.info("Closing PCAP files...");
349349
du_pcaps.reset();

0 commit comments

Comments
 (0)