Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
spbro
OpenXG-RAN
Commits
922e810a
Commit
922e810a
authored
Aug 27, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/ci-rfsim-optimize' into integration_2024_w34
parents
95707332
370062c0
Changes
19
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
802 additions
and
45 deletions
+802
-45
ci-scripts/cls_oaicitest.py
ci-scripts/cls_oaicitest.py
+3
-0
ci-scripts/conf_files/gnb.sa.band66.ntn.25prb.rfsim.conf
ci-scripts/conf_files/gnb.sa.band66.ntn.25prb.rfsim.conf
+283
-0
ci-scripts/conf_files/gnb.sa.band78.273prb.rfsim.2x2.conf
ci-scripts/conf_files/gnb.sa.band78.273prb.rfsim.2x2.conf
+9
-13
ci-scripts/xml_files/container_5g_f1_rfsim.xml
ci-scripts/xml_files/container_5g_f1_rfsim.xml
+2
-2
ci-scripts/xml_files/container_5g_fdd_rfsim.xml
ci-scripts/xml_files/container_5g_fdd_rfsim.xml
+2
-2
ci-scripts/xml_files/container_5g_rfsim.xml
ci-scripts/xml_files/container_5g_rfsim.xml
+9
-9
ci-scripts/xml_files/container_5g_rfsim_24prb.xml
ci-scripts/xml_files/container_5g_rfsim_24prb.xml
+2
-2
ci-scripts/xml_files/container_5g_rfsim_2x2.xml
ci-scripts/xml_files/container_5g_rfsim_2x2.xml
+6
-6
ci-scripts/xml_files/container_5g_rfsim_fdd_phytest.xml
ci-scripts/xml_files/container_5g_rfsim_fdd_phytest.xml
+2
-2
ci-scripts/xml_files/container_5g_rfsim_ntn_geo.xml
ci-scripts/xml_files/container_5g_rfsim_ntn_geo.xml
+91
-0
ci-scripts/xml_files/container_5g_rfsim_ntn_geo_down.xml
ci-scripts/xml_files/container_5g_rfsim_ntn_geo_down.xml
+45
-0
ci-scripts/xml_files/container_5g_rfsim_sidelink.xml
ci-scripts/xml_files/container_5g_rfsim_sidelink.xml
+83
-0
ci-scripts/xml_files/container_5g_rfsim_sidelink_down.xml
ci-scripts/xml_files/container_5g_rfsim_sidelink_down.xml
+45
-0
ci-scripts/xml_files/container_5g_rfsim_u0_25prb.xml
ci-scripts/xml_files/container_5g_rfsim_u0_25prb.xml
+4
-4
ci-scripts/yaml_files/5g_rfsimulator_2x2/docker-compose.yaml
ci-scripts/yaml_files/5g_rfsimulator_2x2/docker-compose.yaml
+2
-2
ci-scripts/yaml_files/5g_rfsimulator_ntn_geo/docker-compose.yaml
...pts/yaml_files/5g_rfsimulator_ntn_geo/docker-compose.yaml
+145
-0
ci-scripts/yaml_files/5g_rfsimulator_sidelink/docker-compose.yaml
...ts/yaml_files/5g_rfsimulator_sidelink/docker-compose.yaml
+66
-0
executables/nr-ue.c
executables/nr-ue.c
+2
-2
openair2/LAYER2/NR_MAC_UE/mac_defs_sl.h
openair2/LAYER2/NR_MAC_UE/mac_defs_sl.h
+1
-1
No files found.
ci-scripts/cls_oaicitest.py
View file @
922e810a
...
...
@@ -932,8 +932,11 @@ class OaiCiTest():
global_status
=
CONST
.
ALL_PROCESSES_OK
for
line
in
ue_log_file
.
readlines
():
result
=
re
.
search
(
'nr_synchro_time|Starting NR UE soft modem'
,
str
(
line
))
sidelink
=
re
.
search
(
'sl-mode'
,
str
(
line
))
if
result
is
not
None
:
nrUEFlag
=
True
if
sidelink
is
not
None
:
nrUEFlag
=
False
if
nrUEFlag
:
result
=
re
.
search
(
'decode mib'
,
str
(
line
))
if
result
is
not
None
:
...
...
ci-scripts/conf_files/gnb.sa.band66.ntn.25prb.rfsim.conf
0 → 100644
View file @
922e810a
This diff is collapsed.
Click to expand it.
ci-scripts/conf_files/gnb.sa.band78.
106
prb.rfsim.2x2.conf
→
ci-scripts/conf_files/gnb.sa.band78.
273
prb.rfsim.2x2.conf
View file @
922e810a
...
...
@@ -32,20 +32,20 @@ gNBs =
# downlinkConfigCommon
#frequencyInfoDL
# this is 3300.60 MHz + 53*12*30e-3 MHz = 3319.68
absoluteFrequencySSB
=
6
21312
;
absoluteFrequencySSB
=
6
30048
;
dl_frequencyBand
=
78
;
# this is 3300.60 MHz
dl_absoluteFrequencyPointA
=
62
0040
;
dl_absoluteFrequencyPointA
=
62
6772
;
#scs-SpecificCarrierList
dl_offstToCarrier
=
0
;
# subcarrierSpacing
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
dl_subcarrierSpacing
=
1
;
dl_carrierBandwidth
=
106
;
dl_carrierBandwidth
=
273
;
#initialDownlinkBWP
#genericParameters
# this is RBstart=27,L=48 (275*(L-1))+RBstart
initialDLBWPlocationAndBandwidth
=
28875
;
# 6366 12925 12956 28875 12952
initialDLBWPlocationAndBandwidth
=
1099
;
# 6366 12925 12956 28875 12952
# subcarrierSpacing
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
initialDLBWPsubcarrierSpacing
=
1
;
...
...
@@ -61,11 +61,11 @@ gNBs =
# subcarrierSpacing
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
ul_subcarrierSpacing
=
1
;
ul_carrierBandwidth
=
106
;
ul_carrierBandwidth
=
273
;
pMax
=
20
;
#initialUplinkBWP
#genericParameters
initialULBWPlocationAndBandwidth
=
28875
;
initialULBWPlocationAndBandwidth
=
1099
;
# subcarrierSpacing
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
initialULBWPsubcarrierSpacing
=
1
;
...
...
@@ -140,10 +140,10 @@ gNBs =
# pattern1
# dl_UL_TransmissionPeriodicity
# 0=ms0p5, 1=ms0p625, 2=ms1, 3=ms1p25, 4=ms2, 5=ms2p5, 6=ms5, 7=ms10
dl_UL_TransmissionPeriodicity
=
6
;
nrofDownlinkSlots
=
7
;
dl_UL_TransmissionPeriodicity
=
5
;
nrofDownlinkSlots
=
3
;
nrofDownlinkSymbols
=
6
;
nrofUplinkSlots
=
2
;
nrofUplinkSlots
=
1
;
nrofUplinkSymbols
=
4
;
ssPBCH_BlockPower
= -
25
;
...
...
@@ -179,9 +179,6 @@ MACRLCs = (
num_cc
=
1
;
tr_s_preference
=
"local_L1"
;
tr_n_preference
=
"local_RRC"
;
#pusch_TargetSNRx10 = 150;
#pucch_TargetSNRx10 = 200;
dl_max_mcs
=
16
;
# there are retransmissions if more
}
);
...
...
@@ -190,7 +187,6 @@ L1s = (
num_cc
=
1
;
tr_n_preference
=
"local_mac"
;
prach_dtx_threshold
=
120
;
#pucch0_dtx_threshold = 120;
}
);
...
...
ci-scripts/xml_files/container_5g_f1_rfsim.xml
View file @
922e810a
...
...
@@ -86,7 +86,7 @@
<testCase
id=
"030021"
>
<class>
Iperf
</class>
<desc>
Iperf (DL/5Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b 5M -t
3
0 -R
</iperf_args>
<iperf_args>
-u -b 5M -t
2
0 -R
</iperf_args>
<id>
rfsim5g_ue
</id>
<svr_id>
rfsim5g_ext_dn
</svr_id>
<iperf_packetloss_threshold>
5
</iperf_packetloss_threshold>
...
...
@@ -96,7 +96,7 @@
<testCase
id=
"030022"
>
<class>
Iperf
</class>
<desc>
Iperf (UL/3Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b 3M -t
3
0
</iperf_args>
<iperf_args>
-u -b 3M -t
2
0
</iperf_args>
<id>
rfsim5g_ue
</id>
<svr_id>
rfsim5g_ext_dn
</svr_id>
<iperf_packetloss_threshold>
5
</iperf_packetloss_threshold>
...
...
ci-scripts/xml_files/container_5g_fdd_rfsim.xml
View file @
922e810a
...
...
@@ -72,7 +72,7 @@
<class>
Ping
</class>
<desc>
Ping ext-dn from NR-UE
</desc>
<id>
rfsim5g_ue
</id>
<ping_args>
-c 20
192.168.72.135
</ping_args>
<ping_args>
-c 20 -i 0.25
192.168.72.135
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
...
...
@@ -80,7 +80,7 @@
<class>
Ping
</class>
<desc>
Ping NR-UE from ext-dn
</desc>
<id>
rfsim5g_ext_dn
</id>
<ping_args>
-c 20 12.1.1.2
</ping_args>
<ping_args>
-c 20
-i 0.25
12.1.1.2
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
...
...
ci-scripts/xml_files/container_5g_rfsim.xml
View file @
922e810a
...
...
@@ -127,7 +127,7 @@
<class>
Ping
</class>
<desc>
Ping ext-dn from NR-UE
</desc>
<id>
rfsim5g_ue
</id>
<ping_args>
-c 20 192.168.72.135
</ping_args>
<ping_args>
-c 20
-i 0.25
192.168.72.135
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
...
...
@@ -135,7 +135,7 @@
<class>
Ping
</class>
<desc>
Ping NR-UE from ext-dn
</desc>
<id>
rfsim5g_ext_dn
</id>
<ping_args>
-c 20 12.1.1.2
</ping_args>
<ping_args>
-c 20
-i 0.25
12.1.1.2
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
...
...
@@ -143,7 +143,7 @@
<class>
Ping
</class>
<desc>
Ping ext-dn from Second NR-UE
</desc>
<id>
rfsim5g_ue
</id>
<ping_args>
-c 20 192.168.72.135
</ping_args>
<ping_args>
-c 20
-i 0.25
192.168.72.135
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
...
...
@@ -151,7 +151,7 @@
<class>
Ping
</class>
<desc>
Ping Second NR-UE from ext-dn
</desc>
<id>
rfsim5g_ext_dn
</id>
<ping_args>
-c 20 12.1.1.3
</ping_args>
<ping_args>
-c 20
-i 0.25
12.1.1.3
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
...
...
@@ -159,7 +159,7 @@
<class>
Ping
</class>
<desc>
Ping ext-dn from both UEs
</desc>
<id>
rfsim5g_ue rfsim5g_ue2
</id>
<ping_args>
-c 20 192.168.72.135
</ping_args>
<ping_args>
-c 20
-i 0.25
192.168.72.135
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
...
...
@@ -167,7 +167,7 @@
<class>
Ping
</class>
<desc>
Ping ext-dn from both UEs
</desc>
<id>
rfsim5g_ue rfsim5g_ue2
</id>
<ping_args>
-c 20 192.168.72.135
</ping_args>
<ping_args>
-c 20
-i 0.25
192.168.72.135
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
...
...
@@ -175,14 +175,14 @@
<class>
Ping
</class>
<desc>
Ping ext-dn from all UEs
</desc>
<id>
rfsim5g_ue rfsim5g_ue2 rfsim5g_ue3 rfsim5g_ue4 rfsim5g_ue5 rfsim5g_ue6 rfsim5g_ue7 rfsim5g_ue8 rfsim5g_ue9 rfsim5g_ue10
</id>
<ping_args>
-c
100 192.168.72.135 -i 0.2
-s 1016
</ping_args>
<ping_args>
-c
20 192.168.72.135 -i 0.25
-s 1016
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
<testCase
id=
"030001"
>
<class>
Iperf
</class>
<desc>
Iperf (DL/3Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b 3M -t
3
0 -R
</iperf_args>
<iperf_args>
-u -b 3M -t
2
0 -R
</iperf_args>
<id>
rfsim5g_ue
</id>
<svr_id>
rfsim5g_ext_dn
</svr_id>
<iperf_packetloss_threshold>
5
</iperf_packetloss_threshold>
...
...
@@ -192,7 +192,7 @@
<testCase
id=
"030002"
>
<class>
Iperf
</class>
<desc>
Iperf (UL/1Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b 1M -t
3
0
</iperf_args>
<iperf_args>
-u -b 1M -t
2
0
</iperf_args>
<id>
rfsim5g_ue
</id>
<svr_id>
rfsim5g_ext_dn
</svr_id>
<iperf_packetloss_threshold>
5
</iperf_packetloss_threshold>
...
...
ci-scripts/xml_files/container_5g_rfsim_24prb.xml
View file @
922e810a
...
...
@@ -87,7 +87,7 @@
<testCase
id=
"030001"
>
<class>
Iperf
</class>
<desc>
Iperf (DL/3Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b 3M -t
3
0 -R
</iperf_args>
<iperf_args>
-u -b 3M -t
2
0 -R
</iperf_args>
<id>
rfsim5g_ue
</id>
<svr_id>
rfsim5g_ext_dn
</svr_id>
<iperf_packetloss_threshold>
5
</iperf_packetloss_threshold>
...
...
@@ -97,7 +97,7 @@
<testCase
id=
"030002"
>
<class>
Iperf
</class>
<desc>
Iperf (UL/1Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b 1M -t
3
0
</iperf_args>
<iperf_args>
-u -b 1M -t
2
0
</iperf_args>
<id>
rfsim5g_ue
</id>
<svr_id>
rfsim5g_ext_dn
</svr_id>
<iperf_packetloss_threshold>
5
</iperf_packetloss_threshold>
...
...
ci-scripts/xml_files/container_5g_rfsim_2x2.xml
View file @
922e810a
...
...
@@ -72,7 +72,7 @@
<class>
Ping
</class>
<desc>
Ping ext-dn from NR-UE
</desc>
<id>
rfsim5g_ue
</id>
<ping_args>
-c 20
192.168.72.135
</ping_args>
<ping_args>
-c 20 -i 0.25
192.168.72.135
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
...
...
@@ -80,14 +80,14 @@
<class>
Ping
</class>
<desc>
Ping NR-UE from ext-dn
</desc>
<id>
rfsim5g_ext_dn
</id>
<ping_args>
-c 20 12.1.1.2
</ping_args>
<ping_args>
-c 20
-i 0.25
12.1.1.2
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
<testCase
id=
"030001"
>
<class>
Iperf
</class>
<desc>
Iperf (DL/
3
Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b
3M -t 3
0 -R
</iperf_args>
<desc>
Iperf (DL/
10
Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b
10M -t 2
0 -R
</iperf_args>
<id>
rfsim5g_ue
</id>
<svr_id>
rfsim5g_ext_dn
</svr_id>
<iperf_packetloss_threshold>
5
</iperf_packetloss_threshold>
...
...
@@ -96,8 +96,8 @@
<testCase
id=
"030002"
>
<class>
Iperf
</class>
<desc>
Iperf (UL/
1
Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b
1M -t 3
0
</iperf_args>
<desc>
Iperf (UL/
4
Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b
4M -t 2
0
</iperf_args>
<id>
rfsim5g_ue
</id>
<svr_id>
rfsim5g_ext_dn
</svr_id>
<iperf_packetloss_threshold>
5
</iperf_packetloss_threshold>
...
...
ci-scripts/xml_files/container_5g_rfsim_fdd_phytest.xml
View file @
922e810a
...
...
@@ -88,7 +88,7 @@
<testCase
id=
"030011"
>
<class>
Iperf
</class>
<desc>
Iperf (DL/30kbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b 0.03M -t
3
0 -R -c 10.0.1.1
</iperf_args>
<iperf_args>
-u -b 0.03M -t
2
0 -R -c 10.0.1.1
</iperf_args>
<id>
rfsim5g_ue
</id>
<svr_id>
rfsim5g_gnb_nos1
</svr_id>
<iperf_packetloss_threshold>
5
</iperf_packetloss_threshold>
...
...
@@ -98,7 +98,7 @@
<testCase
id=
"030012"
>
<class>
Iperf
</class>
<desc>
Iperf (UL/30kbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b 0.03M -t
3
0 -c 10.0.1.1
</iperf_args>
<iperf_args>
-u -b 0.03M -t
2
0 -c 10.0.1.1
</iperf_args>
<id>
rfsim5g_ue
</id>
<svr_id>
rfsim5g_gnb_nos1
</svr_id>
<iperf_packetloss_threshold>
5
</iperf_packetloss_threshold>
...
...
ci-scripts/xml_files/container_5g_rfsim_ntn_geo.xml
0 → 100644
View file @
922e810a
<!--
Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The OpenAirInterface Software Alliance licenses this file to You under
the OAI Public License, Version 1.1 (the "License"); you may not use this file
except in compliance with the License.
You may obtain a copy of the License at
http://www.openairinterface.org/?page_id=698
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
For more information about the OpenAirInterface (OAI) Software Alliance:
contact@openairinterface.org
-->
<testCaseList>
<htmlTabRef>
rfsim-5gnr-ntn-geo
</htmlTabRef>
<htmlTabName>
Monolithic SA NTN GEO gNB
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<repeatCount>
1
</repeatCount>
<TestCaseRequestedList>
111111
100001
000001
000002
000003
020001
020002
100001
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"111111"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
0
</test_svr_id>
<images_to_pull>
oai-gnb-asan oai-nr-ue-asan
</images_to_pull>
</testCase>
<testCase
id=
"000001"
>
<class>
DeployGenObject
</class>
<desc>
Deploy OAI 5G CoreNetwork
</desc>
<yaml_path>
yaml_files/5g_rfsimulator_ntn_geo
</yaml_path>
<services>
mysql oai-amf oai-smf oai-upf oai-ext-dn
</services>
<nb_healthy>
5
</nb_healthy>
</testCase>
<testCase
id=
"000002"
>
<class>
DeployGenObject
</class>
<desc>
Deploy OAI 5G gNB+nrUE RF sim SA
</desc>
<yaml_path>
yaml_files/5g_rfsimulator_ntn_geo
</yaml_path>
<services>
oai-gnb oai-nr-ue
</services>
<nb_healthy>
7
</nb_healthy>
</testCase>
<testCase
id=
"000003"
>
<class>
Attach_UE
</class>
<desc>
Attach OAI UE (Wait for IP)
</desc>
<id>
rfsim5g_ue
</id>
</testCase>
<testCase
id=
"020001"
>
<class>
Ping
</class>
<desc>
Ping ext-dn from NR-UE
</desc>
<id>
rfsim5g_ue
</id>
<ping_args>
-c 20 -i 0.25 192.168.72.135
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
<testCase
id=
"020002"
>
<class>
Ping
</class>
<desc>
Ping NR-UE from ext-dn
</desc>
<id>
rfsim5g_ext_dn
</id>
<ping_args>
-c 20 -i 0.25 12.1.1.2
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
<testCase
id=
"100001"
>
<class>
UndeployGenObject
</class>
<desc>
Undeploy all OAI 5G stack
</desc>
<yaml_path>
yaml_files/5g_rfsimulator_ntn_geo
</yaml_path>
</testCase>
</testCaseList>
ci-scripts/xml_files/container_5g_rfsim_ntn_geo_down.xml
0 → 100644
View file @
922e810a
<!--
Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The OpenAirInterface Software Alliance licenses this file to You under
the OAI Public License, Version 1.1 (the "License"); you may not use this file
except in compliance with the License.
You may obtain a copy of the License at
http://www.openairinterface.org/?page_id=698
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
For more information about the OpenAirInterface (OAI) Software Alliance:
contact@openairinterface.org
-->
<testCaseList>
<htmlTabRef>
rfsim-5gnr-ntn-geo-down
</htmlTabRef>
<htmlTabName>
CleanUp SA Monolithic NTN GEO gNB
</htmlTabName>
<htmlTabIcon>
trash
</htmlTabIcon>
<TestCaseRequestedList>
100002
222222
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"100002"
>
<class>
UndeployGenObject
</class>
<desc>
Undeploy all OAI 5G stack
</desc>
<yaml_path>
yaml_files/5g_rfsimulator_ntn_geo
</yaml_path>
</testCase>
<testCase
id=
"222222"
>
<class>
Clean_Test_Server_Images
</class>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
0
</test_svr_id>
</testCase>
</testCaseList>
ci-scripts/xml_files/container_5g_rfsim_sidelink.xml
0 → 100644
View file @
922e810a
<!--
Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The OpenAirInterface Software Alliance licenses this file to You under
the OAI Public License, Version 1.1 (the "License"); you may not use this file
except in compliance with the License.
You may obtain a copy of the License at
http://www.openairinterface.org/?page_id=698
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
For more information about the OpenAirInterface (OAI) Software Alliance:
contact@openairinterface.org
-->
<testCaseList>
<htmlTabRef>
rfsim-5gnr-sidelink
</htmlTabRef>
<htmlTabName>
Sidelink test
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<repeatCount>
1
</repeatCount>
<TestCaseRequestedList>
111111
000002
000003
000004
000005
100001
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"111111"
>
<class>
Pull_Local_Registry
</class>
<desc>
Pull Images from Local Registry
</desc>
<test_svr_id>
0
</test_svr_id>
<images_to_pull>
oai-nr-ue-asan
</images_to_pull>
</testCase>
<testCase
id=
"000002"
>
<class>
DeployGenObject
</class>
<desc>
Deploy OAI 5G UE 1
</desc>
<yaml_path>
yaml_files/5g_rfsimulator_sidelink
</yaml_path>
<services>
oai-nr-ue-1
</services>
<nb_healthy>
1
</nb_healthy>
</testCase>
<testCase
id=
"000003"
>
<class>
DeployGenObject
</class>
<desc>
Deploy OAI 5G UE 2
</desc>
<yaml_path>
yaml_files/5g_rfsimulator_sidelink
</yaml_path>
<services>
oai-nr-ue-2
</services>
<nb_healthy>
1
</nb_healthy>
</testCase>
<testCase
id=
"000004"
>
<class>
IdleSleep
</class>
<desc>
Sleep
</desc>
<idle_sleep_time_in_sec>
20
</idle_sleep_time_in_sec>
</testCase>
<testCase
id=
"000005"
>
<class>
Custom_Command
</class>
<desc>
Check that UE synched
</desc>
<node>
localhost
</node>
<command>
docker logs rfsim5g-oai-nr-ue-2 | grep -m 1 "PSBCH RX:OK"
</command>
<command_fail>
yes
</command_fail>
</testCase>
<testCase
id=
"100001"
>
<class>
UndeployGenObject
</class>
<desc>
Undeploy all OAI 5G stack
</desc>
<yaml_path>
yaml_files/5g_rfsimulator_sidelink
</yaml_path>
<d_retx_th>
1,0,0,0
</d_retx_th>
<u_retx_th>
1,0,0,0
</u_retx_th>
</testCase>
</testCaseList>
ci-scripts/xml_files/container_5g_rfsim_sidelink_down.xml
0 → 100644
View file @
922e810a
<!--
Licensed to the OpenAirInterface (OAI) Software Alliance under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The OpenAirInterface Software Alliance licenses this file to You under
the OAI Public License, Version 1.1 (the "License"); you may not use this file
except in compliance with the License.
You may obtain a copy of the License at
http://www.openairinterface.org/?page_id=698
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
For more information about the OpenAirInterface (OAI) Software Alliance:
contact@openairinterface.org
-->
<testCaseList>
<htmlTabRef>
rfsim-5gnr-sidelink-down
</htmlTabRef>
<htmlTabName>
CleanUp sidelink test
</htmlTabName>
<htmlTabIcon>
trash
</htmlTabIcon>
<TestCaseRequestedList>
100002
222222
</TestCaseRequestedList>
<TestCaseExclusionList></TestCaseExclusionList>
<testCase
id=
"100002"
>
<class>
UndeployGenObject
</class>
<desc>
Undeploy all OAI 5G stack
</desc>
<yaml_path>
yaml_files/5g_rfsimulator_sidelink
</yaml_path>
</testCase>
<testCase
id=
"222222"
>
<class>
Clean_Test_Server_Images
</class>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
0
</test_svr_id>
</testCase>
</testCaseList>
ci-scripts/xml_files/container_5g_rfsim_u0_25prb.xml
View file @
922e810a
...
...
@@ -72,7 +72,7 @@
<class>
Ping
</class>
<desc>
Ping ext-dn from NR-UE
</desc>
<id>
rfsim5g_ue
</id>
<ping_args>
-c 20
192.168.72.135
</ping_args>
<ping_args>
-c 20 -i 0.25
192.168.72.135
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
...
...
@@ -80,14 +80,14 @@
<class>
Ping
</class>
<desc>
Ping NR-UE from ext-dn
</desc>
<id>
rfsim5g_ext_dn
</id>
<ping_args>
-c 20 12.1.1.2
</ping_args>
<ping_args>
-c 20
-i 0.25
12.1.1.2
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
<testCase
id=
"030001"
>
<class>
Iperf
</class>
<desc>
Iperf (DL/3Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b 3M -t
3
0 -R
</iperf_args>
<iperf_args>
-u -b 3M -t
2
0 -R
</iperf_args>
<id>
rfsim5g_ue
</id>
<svr_id>
rfsim5g_ext_dn
</svr_id>
<iperf_packetloss_threshold>
5
</iperf_packetloss_threshold>
...
...
@@ -97,7 +97,7 @@
<testCase
id=
"030002"
>
<class>
Iperf
</class>
<desc>
Iperf (UL/1Mbps/UDP)(30 sec)
</desc>
<iperf_args>
-u -b 1M -t
3
0
</iperf_args>
<iperf_args>
-u -b 1M -t
2
0
</iperf_args>
<id>
rfsim5g_ue
</id>
<svr_id>
rfsim5g_ext_dn
</svr_id>
<iperf_packetloss_threshold>
5
</iperf_packetloss_threshold>
...
...
ci-scripts/yaml_files/5g_rfsimulator_2x2/docker-compose.yaml
View file @
922e810a
...
...
@@ -94,7 +94,7 @@ services:
public_net
:
ipv4_address
:
192.168.71.140
volumes
:
-
../../conf_files/gnb.sa.band78.
106
prb.rfsim.2x2.conf:/opt/oai-gnb/etc/gnb.conf
-
../../conf_files/gnb.sa.band78.
273
prb.rfsim.2x2.conf:/opt/oai-gnb/etc/gnb.conf
healthcheck
:
test
:
/bin/bash -c "pgrep nr-softmodem"
interval
:
10s
...
...
@@ -110,7 +110,7 @@ services:
-
NET_ADMIN
# for interface bringup
-
NET_RAW
# for ping
environment
:
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim -r
106 --numerology 1 --band 78 -C 3319680000
--ue-nb-ant-tx 2 --uicc0.imsi 208990100001100 --ue-nb-ant-rx 2 --uecap_file /opt/oai-nr-ue/etc/uecap.xml --rfsimulator.serveraddr 192.168.71.140 --log_config.global_log_options level,nocolor,time
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim -r
273 --numerology 1 --band 78 -C 3450720000 --ssb 1518
--ue-nb-ant-tx 2 --uicc0.imsi 208990100001100 --ue-nb-ant-rx 2 --uecap_file /opt/oai-nr-ue/etc/uecap.xml --rfsimulator.serveraddr 192.168.71.140 --log_config.global_log_options level,nocolor,time
depends_on
:
-
oai-gnb
networks
:
...
...
ci-scripts/yaml_files/5g_rfsimulator_ntn_geo/docker-compose.yaml
0 → 100644
View file @
922e810a
services
:
mysql
:
container_name
:
"
rfsim5g-mysql"
image
:
mysql:8.0
volumes
:
-
../5g_rfsimulator/oai_db.sql:/docker-entrypoint-initdb.d/oai_db.sql
-
../5g_rfsimulator/mysql-healthcheck.sh:/tmp/mysql-healthcheck.sh
environment
:
-
TZ=Europe/Paris
-
MYSQL_DATABASE=oai_db
-
MYSQL_USER=test
-
MYSQL_PASSWORD=test
-
MYSQL_ROOT_PASSWORD=linux
healthcheck
:
test
:
/bin/bash -c "/tmp/mysql-healthcheck.sh"
interval
:
10s
timeout
:
5s
retries
:
30
networks
:
public_net
:
ipv4_address
:
192.168.71.131
oai-amf
:
container_name
:
"
rfsim5g-oai-amf"
image
:
oaisoftwarealliance/oai-amf:v2.0.0
environment
:
-
TZ=Europe/paris
volumes
:
-
../5g_rfsimulator/mini_nonrf_config.yaml:/openair-amf/etc/config.yaml
depends_on
:
-
mysql
networks
:
public_net
:
ipv4_address
:
192.168.71.132
oai-smf
:
container_name
:
"
rfsim5g-oai-smf"
image
:
oaisoftwarealliance/oai-smf:v2.0.0
environment
:
-
TZ=Europe/Paris
volumes
:
-
../5g_rfsimulator/mini_nonrf_config.yaml:/openair-smf/etc/config.yaml
depends_on
:
-
oai-amf
networks
:
public_net
:
ipv4_address
:
192.168.71.133
oai-upf
:
container_name
:
"
rfsim5g-oai-upf"
image
:
oaisoftwarealliance/oai-upf:v2.0.0
environment
:
-
TZ=Europe/Paris
volumes
:
-
../5g_rfsimulator/mini_nonrf_config.yaml:/openair-upf/etc/config.yaml
depends_on
:
-
oai-smf
cap_add
:
-
NET_ADMIN
-
SYS_ADMIN
cap_drop
:
-
ALL
privileged
:
true
networks
:
public_net
:
ipv4_address
:
192.168.71.134
traffic_net
:
ipv4_address
:
192.168.72.134
oai-ext-dn
:
privileged
:
true
container_name
:
rfsim5g-oai-ext-dn
image
:
oaisoftwarealliance/trf-gen-cn5g:focal
entrypoint
:
/bin/bash -c \
"iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE;"\
"ip route add 12.1.1.0/24 via 192.168.72.134 dev eth0; sleep infinity"
depends_on
:
-
oai-upf
networks
:
traffic_net
:
ipv4_address
:
192.168.72.135
healthcheck
:
test
:
/bin/bash -c "ping -c 2 192.168.72.134"
interval
:
10s
timeout
:
5s
retries
:
5
oai-gnb
:
image
:
oaisoftwarealliance/oai-gnb:develop
container_name
:
rfsim5g-oai-gnb
cap_drop
:
-
ALL
environment
:
USE_ADDITIONAL_OPTIONS
:
--sa --rfsim --rfsimulator.prop_delay 238.74 --log_config.global_log_options level,nocolor,time
ASAN_OPTIONS
:
detect_leaks=0
depends_on
:
-
oai-ext-dn
networks
:
public_net
:
ipv4_address
:
192.168.71.140
volumes
:
-
../../conf_files/gnb.sa.band66.ntn.25prb.rfsim.conf:/opt/oai-gnb/etc/gnb.conf
healthcheck
:
test
:
/bin/bash -c "pgrep nr-softmodem"
interval
:
10s
timeout
:
5s
retries
:
5
oai-nr-ue
:
image
:
oaisoftwarealliance/oai-nr-ue:develop
container_name
:
rfsim5g-oai-nr-ue
cap_drop
:
-
ALL
cap_add
:
-
NET_ADMIN
# for interface bringup
-
NET_RAW
# for ping
environment
:
USE_ADDITIONAL_OPTIONS
:
--band 66 -C 2152680000 --CO -400000000 -r 25 --numerology 0 --ssb 48 --sa --rfsim --rfsimulator.prop_delay 238.74 --ntn-koffset 478 --ntn-ta-common 477.48 --rfsimulator.serveraddr 192.168.71.140 --log_config.global_log_options level,nocolor,time
depends_on
:
-
oai-gnb
networks
:
public_net
:
ipv4_address
:
192.168.71.150
devices
:
-
/dev/net/tun:/dev/net/tun
volumes
:
-
../../conf_files/nrue.uicc.conf:/opt/oai-nr-ue/etc/nr-ue.conf
healthcheck
:
test
:
/bin/bash -c "pgrep nr-uesoftmodem"
interval
:
10s
timeout
:
5s
retries
:
5
networks
:
public_net
:
driver
:
bridge
name
:
rfsim5g-oai-public-net
ipam
:
config
:
-
subnet
:
192.168.71.128/26
driver_opts
:
com.docker.network.bridge.name
:
"
rfsim5g-public"
traffic_net
:
driver
:
bridge
name
:
rfsim5g-oai-traffic-net
ipam
:
config
:
-
subnet
:
192.168.72.128/26
driver_opts
:
com.docker.network.bridge.name
:
"
rfsim5g-traffic"
ci-scripts/yaml_files/5g_rfsimulator_sidelink/docker-compose.yaml
0 → 100644
View file @
922e810a
services
:
oai-nr-ue-1
:
image
:
oaisoftwarealliance/oai-nr-ue:develop
container_name
:
rfsim5g-oai-nr-ue-1
cap_drop
:
-
ALL
cap_add
:
-
NET_ADMIN
-
NET_RAW
environment
:
USE_ADDITIONAL_OPTIONS
:
--sl-mode 2 --sync-ref 4 --rfsim --rfsimulator.serveraddr server --log_config.global_log_options level,nocolor,time
networks
:
public_net
:
ipv4_address
:
192.168.71.140
devices
:
-
/dev/net/tun:/dev/net/tun
volumes
:
-
../../conf_files/nrue.uicc.conf:/opt/oai-nr-ue/etc/nr-ue.conf
healthcheck
:
test
:
/bin/bash -c "pgrep nr-uesoftmodem"
interval
:
10s
timeout
:
5s
retries
:
5
oai-nr-ue-2
:
image
:
oaisoftwarealliance/oai-nr-ue:develop
container_name
:
rfsim5g-oai-nr-ue-2
cap_drop
:
-
ALL
cap_add
:
-
NET_ADMIN
# for interface bringup
-
NET_RAW
# for ping
environment
:
USE_ADDITIONAL_OPTIONS
:
--sl-mode 2 --rfsim --rfsimulator.serveraddr 192.168.71.140 --log_config.global_log_options level,nocolor,time
depends_on
:
-
oai-nr-ue-1
networks
:
public_net
:
ipv4_address
:
192.168.71.150
devices
:
-
/dev/net/tun:/dev/net/tun
volumes
:
-
../../conf_files/nrue.uicc.conf:/opt/oai-nr-ue/etc/nr-ue.conf
healthcheck
:
test
:
/bin/bash -c "pgrep nr-uesoftmodem"
interval
:
10s
timeout
:
5s
retries
:
5
networks
:
public_net
:
driver
:
bridge
name
:
rfsim5g-oai-public-net
ipam
:
config
:
-
subnet
:
192.168.71.128/26
driver_opts
:
com.docker.network.bridge.name
:
"
rfsim5g-public"
traffic_net
:
driver
:
bridge
name
:
rfsim5g-oai-traffic-net
ipam
:
config
:
-
subnet
:
192.168.72.128/26
driver_opts
:
com.docker.network.bridge.name
:
"
rfsim5g-traffic"
executables/nr-ue.c
View file @
922e810a
...
...
@@ -802,7 +802,7 @@ void *UE_thread(void *arg)
bool
syncRunning
=
false
;
const
int
nb_slot_frame
=
fp
->
slots_per_frame
;
int
absolute_slot
=
0
,
decoded_frame_rx
=
INT_MAX
,
trashed_frames
=
0
;
int
absolute_slot
=
0
,
decoded_frame_rx
=
MAX_FRAME_NUMBER
-
1
,
trashed_frames
=
0
;
int
tx_wait_for_dlsch
[
NR_MAX_SLOTS_PER_FRAME
];
int
num_ind_fifo
=
nb_slot_frame
;
...
...
@@ -897,7 +897,7 @@ void *UE_thread(void *arg)
""
);
// we have the decoded frame index in the return of the synch process
// and we shifted above to the first slot of next frame
decoded_frame_rx
++
;
decoded_frame_rx
=
(
decoded_frame_rx
+
1
)
%
MAX_FRAME_NUMBER
;
// we do ++ first in the regular processing, so it will be begin of frame;
absolute_slot
=
decoded_frame_rx
*
nb_slot_frame
-
1
;
if
(
UE
->
sl_mode
==
2
)
{
...
...
openair2/LAYER2/NR_MAC_UE/mac_defs_sl.h
View file @
922e810a
...
...
@@ -120,9 +120,9 @@ typedef struct sl_bch_params {
//configured from RRC
//Parameters used to determine PSBCH slot
sl_ssb_timealloc_t
ssb_time_alloc
;
uint8_t
sl_mib
[
4
]
__attribute__
((
aligned
(
4
)));
uint16_t
slss_id
;
bool
status
;
uint8_t
sl_mib
[
4
];
//Parameters incremented by MAC PSBCH scheduler
//after every SSB txn/reception
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment