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
5b0b2ab3
Commit
5b0b2ab3
authored
Nov 08, 2024
by
Reem Bahsoun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete 5g_l2sim related files
parent
220d851d
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
908 deletions
+0
-908
ci-scripts/conf_files/gnb.sa.band78.106prb.l2sim.conf
ci-scripts/conf_files/gnb.sa.band78.106prb.l2sim.conf
+0
-213
ci-scripts/xml_files/container_5g_l2sim_tdd.xml
ci-scripts/xml_files/container_5g_l2sim_tdd.xml
+0
-133
ci-scripts/yaml_files/5g_l2sim_tdd/README.md
ci-scripts/yaml_files/5g_l2sim_tdd/README.md
+0
-396
ci-scripts/yaml_files/5g_l2sim_tdd/docker-compose.yaml
ci-scripts/yaml_files/5g_l2sim_tdd/docker-compose.yaml
+0
-165
doc/README.md
doc/README.md
+0
-1
No files found.
ci-scripts/conf_files/gnb.sa.band78.106prb.l2sim.conf
deleted
100644 → 0
View file @
220d851d
Active_gNBs
= (
"gnb-l2sim-vnf"
);
# Asn1_verbosity, choice in: none, info, annoying
Asn1_verbosity
=
"none"
;
gNBs
=
(
{
//////////
Identification
parameters
:
gNB_ID
=
0
xe00
;
gNB_name
=
"gnb-l2sim-vnf"
;
//
Tracking
area
code
,
0
x0000
and
0
xfffe
are
reserved
values
tracking_area_code
=
1
;
plmn_list
= ({
mcc
=
208
;
mnc
=
99
;
mnc_length
=
2
;
snssaiList
= ({
sst
=
1
,
sd
=
0
xffffff
}) });
nr_cellid
=
12345678
L
;
//////////
Physical
parameters
:
min_rxtxtime
=
6
;
servingCellConfigCommon
= (
{
#spCellConfigCommon
physCellId
=
0
;
# downlinkConfigCommon
#frequencyInfoDL
# this is 3600 MHz + 43 PRBs@30kHz SCS (same as initial BWP)
absoluteFrequencySSB
=
641280
;
dl_frequencyBand
=
78
;
# this is 3600 MHz
dl_absoluteFrequencyPointA
=
640008
;
#scs-SpecificCarrierList
dl_offstToCarrier
=
0
;
# subcarrierSpacing
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
dl_subcarrierSpacing
=
1
;
dl_carrierBandwidth
=
106
;
#initialDownlinkBWP
#genericParameters
# this is RBstart=27,L=48 (275*(L-1))+RBstart
initialDLBWPlocationAndBandwidth
=
12952
;
# 6366 12925 12956 28875 12952
# subcarrierSpacing
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
initialDLBWPsubcarrierSpacing
=
1
;
#pdcch-ConfigCommon
initialDLBWPcontrolResourceSetZero
=
12
;
initialDLBWPsearchSpaceZero
=
0
;
#uplinkConfigCommon
#frequencyInfoUL
ul_frequencyBand
=
78
;
#scs-SpecificCarrierList
ul_offstToCarrier
=
0
;
# subcarrierSpacing
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
ul_subcarrierSpacing
=
1
;
ul_carrierBandwidth
=
106
;
pMax
=
20
;
#initialUplinkBWP
#genericParameters
initialULBWPlocationAndBandwidth
=
12952
;
# subcarrierSpacing
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
initialULBWPsubcarrierSpacing
=
1
;
#rach-ConfigCommon
#rach-ConfigGeneric
prach_ConfigurationIndex
=
98
;
#prach_msg1_FDM
#0 = one, 1=two, 2=four, 3=eight
prach_msg1_FDM
=
0
;
prach_msg1_FrequencyStart
=
0
;
zeroCorrelationZoneConfig
=
13
;
preambleReceivedTargetPower
= -
96
;
#preamblTransMax (0...10) = (3,4,5,6,7,8,10,20,50,100,200)
preambleTransMax
=
6
;
#powerRampingStep
# 0=dB0,1=dB2,2=dB4,3=dB6
powerRampingStep
=
1
;
#ra_ReponseWindow
#1,2,4,8,10,20,40,80
ra_ResponseWindow
=
4
;
#ssb_perRACH_OccasionAndCB_PreamblesPerSSB_PR
#1=oneeighth,2=onefourth,3=half,4=one,5=two,6=four,7=eight,8=sixteen
ssb_perRACH_OccasionAndCB_PreamblesPerSSB_PR
=
4
;
#oneHalf (0..15) 4,8,12,16,...60,64
ssb_perRACH_OccasionAndCB_PreamblesPerSSB
=
14
;
#ra_ContentionResolutionTimer
#(0..7) 8,16,24,32,40,48,56,64
ra_ContentionResolutionTimer
=
7
;
rsrp_ThresholdSSB
=
19
;
#prach-RootSequenceIndex_PR
#1 = 839, 2 = 139
prach_RootSequenceIndex_PR
=
2
;
prach_RootSequenceIndex
=
1
;
# SCS for msg1, can only be 15 for 30 kHz < 6 GHz, takes precendence over the one derived from prach-ConfigIndex
#
msg1_SubcarrierSpacing
=
1
,
# restrictedSetConfig
# 0=unrestricted, 1=restricted type A, 2=restricted type B
restrictedSetConfig
=
0
,
msg3_DeltaPreamble
=
1
;
p0_NominalWithGrant
=-
90
;
# pucch-ConfigCommon setup :
# pucchGroupHopping
# 0 = neither, 1= group hopping, 2=sequence hopping
pucchGroupHopping
=
0
;
hoppingId
=
40
;
p0_nominal
= -
90
;
ssb_PositionsInBurst_Bitmap
=
1
;
# ssb_periodicityServingCell
# 0 = ms5, 1=ms10, 2=ms20, 3=ms40, 4=ms80, 5=ms160, 6=spare2, 7=spare1
ssb_periodicityServingCell
=
2
;
# dmrs_TypeA_position
# 0 = pos2, 1 = pos3
dmrs_TypeA_Position
=
0
;
# subcarrierSpacing
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
subcarrierSpacing
=
1
;
#tdd-UL-DL-ConfigurationCommon
# subcarrierSpacing
# 0=kHz15, 1=kHz30, 2=kHz60, 3=kHz120
referenceSubcarrierSpacing
=
1
;
# 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
;
nrofDownlinkSymbols
=
6
;
nrofUplinkSlots
=
2
;
nrofUplinkSymbols
=
4
;
ssPBCH_BlockPower
= -
25
;
}
);
# ------- SCTP definitions
SCTP
:
{
# Number of streams to use in input/output
SCTP_INSTREAMS
=
2
;
SCTP_OUTSTREAMS
=
2
;
};
//////////
AMF
parameters
:
amf_ip_address
= ({
ipv4
=
"192.168.71.132"
; });
NETWORK_INTERFACES
:
{
GNB_IPV4_ADDRESS_FOR_NG_AMF
=
"172.21.16.128"
;
GNB_IPV4_ADDRESS_FOR_NGU
=
"172.21.16.128"
;
GNB_PORT_FOR_NGU
=
2152
;
# Spec 2152
};
}
);
MACRLCs
= (
{
num_cc
=
1
;
remote_s_address
=
"127.0.0.1"
; //
pnf
addr
[!]
local_s_address
=
"127.0.0.2"
; //
vnf
addr
local_s_portc
=
50601
; //
vnf
p5
port
remote_s_portc
=
50600
; //
pnf
p5
port
[!]
local_s_portd
=
50611
; //
vnf
p7
port
[!]
remote_s_portd
=
50610
; //
pnf
p7
port
[!]
tr_s_preference
=
"nfapi"
;
tr_n_preference
=
"local_RRC"
;
}
);
security
= {
# preferred ciphering algorithms
# the first one of the list that an UE supports in chosen
# valid values: nea0, nea1, nea2, nea3
ciphering_algorithms
= (
"nea0"
);
# preferred integrity algorithms
# the first one of the list that an UE supports in chosen
# valid values: nia0, nia1, nia2, nia3
integrity_algorithms
= (
"nia2"
,
"nia0"
);
# setting 'drb_ciphering' to "no" disables ciphering for DRBs, no matter
# what 'ciphering_algorithms' configures; same thing for 'drb_integrity'
drb_ciphering
=
"yes"
;
drb_integrity
=
"no"
;
};
log_config
:
{
global_log_level
=
"info"
;
hw_log_level
=
"info"
;
phy_log_level
=
"info"
;
mac_log_level
=
"info"
;
rlc_log_level
=
"info"
;
pdcp_log_level
=
"info"
;
rrc_log_level
=
"info"
;
ngap_log_level
=
"debug"
;
};
ci-scripts/xml_files/container_5g_l2sim_tdd.xml
deleted
100644 → 0
View file @
220d851d
<!--
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>
l2sim-5gnr-tdd
</htmlTabRef>
<htmlTabName>
Testing 5G NR L2 sim - TDD gNB
</htmlTabName>
<htmlTabIcon>
wrench
</htmlTabIcon>
<TestCaseRequestedList>
111111
800813
000000
000001
000002
000003
000004
020001
020002
100001
222222
</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=
"800813"
>
<class>
Create_Workspace
</class>
<desc>
Create new Workspace
</desc>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
</testCase>
<testCase
id=
"000000"
>
<class>
Deploy_Object
</class>
<desc>
Deploy MySql Database
</desc>
<yaml_path>
ci-scripts/yaml_files/5g_l2sim_tdd
</yaml_path>
<services>
mysql
</services>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
</testCase>
<testCase
id=
"000001"
>
<class>
Deploy_Object
</class>
<desc>
Deploy OAI 5G CoreNetwork
</desc>
<yaml_path>
ci-scripts/yaml_files/5g_l2sim_tdd
</yaml_path>
<services>
oai-amf oai-smf oai-upf oai-ext-dn
</services>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
</testCase>
<testCase
id=
"000002"
>
<class>
Deploy_Object
</class>
<desc>
Deploy OAI 5G gNB L2 sim SA
</desc>
<yaml_path>
ci-scripts/yaml_files/5g_l2sim_tdd
</yaml_path>
<services>
oai-gnb
</services>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
</testCase>
<testCase
id=
"000003"
>
<class>
Deploy_Object
</class>
<desc>
Deploy OAI 5G NR-UE L2 sim SA and Proxy
</desc>
<yaml_path>
ci-scripts/yaml_files/5g_l2sim_tdd
</yaml_path>
<services>
proxy oai-nr-ue0
</services>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
</testCase>
<testCase
id=
"000004"
>
<class>
Attach_UE
</class>
<desc>
Attach OAI UE
</desc>
<id>
l2sim5g_ue
</id>
<nodes>
localhost
</nodes>
</testCase>
<testCase
id=
"020001"
>
<class>
Ping
</class>
<desc>
Ping ext-dn from NR-UE
</desc>
<id>
l2sim5g_ue
</id>
<nodes>
localhost
</nodes>
<ping_args>
-c 20 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>
l2sim5g_ext_dn
</id>
<nodes>
localhost
</nodes>
<ping_args>
-c 20 12.1.1.2
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
<testCase
id=
"100001"
>
<class>
Undeploy_Object
</class>
<always_exec>
true
</always_exec>
<desc>
Undeploy all OAI 5G stack
</desc>
<yaml_path>
ci-scripts/yaml_files/5g_l2sim_tdd
</yaml_path>
<d_retx_th>
20,50,100,100
</d_retx_th>
<u_retx_th>
0,0,0,0
</u_retx_th>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
</testCase>
<testCase
id=
"222222"
>
<class>
Clean_Test_Server_Images
</class>
<always_exec>
true
</always_exec>
<desc>
Clean Test Images on Test Server
</desc>
<test_svr_id>
0
</test_svr_id>
</testCase>
</testCaseList>
ci-scripts/yaml_files/5g_l2sim_tdd/README.md
deleted
100644 → 0
View file @
220d851d
This diff is collapsed.
Click to expand it.
ci-scripts/yaml_files/5g_l2sim_tdd/docker-compose.yaml
deleted
100644 → 0
View file @
220d851d
services
:
mysql
:
container_name
:
"
l2sim-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
:
"
l2sim-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
:
"
l2sim-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
:
"
l2sim-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
:
"
l2sim-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
:
${REGISTRY:-oaisoftwarealliance}/${GNB_IMG:-oai-gnb}:${TAG:-develop}
container_name
:
"
l2sim-oai-gnb"
cap_drop
:
-
ALL
network_mode
:
"
host"
environment
:
TZ
:
Europe/Paris
USE_ADDITIONAL_OPTIONS
:
--sa --nfapi VNF --emulate-l1 --log_config.global_log_options level,time,thread_id,nocolor
ASAN_OPTIONS
:
detect_leaks=0
depends_on
:
-
oai-upf
-
oai-amf
volumes
:
-
../../conf_files/gnb.sa.band78.106prb.l2sim.conf:/opt/oai-gnb/etc/gnb.conf
healthcheck
:
test
:
/bin/bash -c "pgrep nr-softmodem"
interval
:
10s
timeout
:
5s
retries
:
5
proxy
:
image
:
oai-lte-multi-ue-proxy:latest
container_name
:
"
l2sim-proxy"
cap_drop
:
-
ALL
network_mode
:
"
host"
environment
:
TZ
:
Europe/Paris
command
:
"
/oai-lte-multi-ue-proxy/bin/proxy
1
--nr"
depends_on
:
-
oai-gnb
healthcheck
:
test
:
/bin/bash -c "pgrep proxy"
interval
:
10s
timeout
:
5s
retries
:
5
oai-nr-ue0
:
image
:
${REGISTRY:-oaisoftwarealliance}/${NRUE_IMG:-oai-nr-ue}:${TAG:-develop}
container_name
:
"
l2sim-oai-nr-ue0"
cap_drop
:
-
ALL
cap_add
:
-
NET_ADMIN
# for interface bringup
-
NET_RAW
# for ping
network_mode
:
"
host"
environment
:
TZ
:
Europe/Paris
OPENAIR_DIR
:
/opt/oai-nr-ue
USE_ADDITIONAL_OPTIONS
:
--nfapi STANDALONE_PNF --node-number 2 --sa --emulate-l1 --log_config.global_log_options level,time,thread_id,nocolor
ASAN_OPTIONS
:
detect_leaks=0
devices
:
-
/dev/net/tun:/dev/net/tun
volumes
:
-
../../conf_files/nrue.band78.106prb.l2sim.conf:/opt/oai-nr-ue/etc/nr-ue.conf
-
../../../openair1/SIMULATION/LTE_PHY/BLER_SIMULATIONS/AWGN/AWGN_results:/opt/oai-nr-ue/openair1/SIMULATION/LTE_PHY/BLER_SIMULATIONS/AWGN/AWGN_results
depends_on
:
-
oai-gnb
-
proxy
healthcheck
:
test
:
/bin/bash -c "pgrep nr-uesoftmodem"
interval
:
10s
timeout
:
5s
retries
:
5
networks
:
public_net
:
driver
:
bridge
name
:
l2sim-oai-public-net
ipam
:
config
:
-
subnet
:
192.168.71.128/26
driver_opts
:
com.docker.network.bridge.name
:
"
l2sim-public"
traffic_net
:
driver
:
bridge
name
:
l2sim-oai-traffic-net
ipam
:
config
:
-
subnet
:
192.168.72.128/26
driver_opts
:
com.docker.network.bridge.name
:
"
l2sim-traffic"
doc/README.md
View file @
5b0b2ab3
...
...
@@ -80,7 +80,6 @@ Legacy unmaintained files:
-
[
How to build images
](
../docker/README.md
)
-
[
How to run 5G with the RFsimulator from images
](
../ci-scripts/yaml_files/5g_rfsimulator/README.md
)
-
[
How to run 4G with the RFsimulator from images
](
../ci-scripts/yaml_files/4g_rfsimulator_fdd_05MHz/README.md
)
-
[
How to run 5G with the L2simulator from images
](
../ci-scripts/yaml_files/5g_l2sim_tdd/README.md
)
-
[
How to run physical simulators in OpenShift
](
../openshift/README.md
)
# Libraries
...
...
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