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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
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
OpenXG
OpenXG-RAN
Commits
370062c0
Commit
370062c0
authored
Aug 09, 2024
by
Jaroslava Fiedlerova
Committed by
Robert Schmidt
Aug 26, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: Add sidelink test to RF-Sim 5G
parent
fad450cb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
194 additions
and
0 deletions
+194
-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/yaml_files/5g_rfsimulator_sidelink/docker-compose.yaml
...ts/yaml_files/5g_rfsimulator_sidelink/docker-compose.yaml
+66
-0
No files found.
ci-scripts/xml_files/container_5g_rfsim_sidelink.xml
0 → 100644
View file @
370062c0
<!--
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 @
370062c0
<!--
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/yaml_files/5g_rfsimulator_sidelink/docker-compose.yaml
0 → 100644
View file @
370062c0
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"
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