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
7fe29041
Commit
7fe29041
authored
May 30, 2024
by
Robert Schmidt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SA E1 B200 gNB CI test: use host-mode
parent
7bfa8e78
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
36 deletions
+36
-36
ci-scripts/conf_files/gnb-cucp.sa.f1.quectel.conf
ci-scripts/conf_files/gnb-cucp.sa.f1.quectel.conf
+5
-5
ci-scripts/conf_files/gnb-cuup.sa.f1.quectel.conf
ci-scripts/conf_files/gnb-cuup.sa.f1.quectel.conf
+6
-6
ci-scripts/conf_files/gnb-du.sa.band78.106prb.usrpb200.conf
ci-scripts/conf_files/gnb-du.sa.band78.106prb.usrpb200.conf
+2
-2
ci-scripts/xml_files/container_sa_e1_b200_quectel.xml
ci-scripts/xml_files/container_sa_e1_b200_quectel.xml
+2
-2
ci-scripts/yaml_files/sa_e1_b200_gnb/docker-compose.yml
ci-scripts/yaml_files/sa_e1_b200_gnb/docker-compose.yml
+21
-21
No files found.
ci-scripts/conf_files/gnb-cucp.sa.f1.quectel.conf
View file @
7fe29041
...
@@ -23,8 +23,8 @@ gNBs =
...
@@ -23,8 +23,8 @@ gNBs =
tr_s_preference
=
"f1"
;
tr_s_preference
=
"f1"
;
local_s_address
=
"1
92.168.68.19
4"
;
local_s_address
=
"1
27.0.0.
4"
;
remote_s_address
=
"1
92.168.68.19
5"
;
remote_s_address
=
"1
27.0.0.
5"
;
local_s_portc
=
501
;
local_s_portc
=
501
;
local_s_portd
=
2153
;
local_s_portd
=
2153
;
remote_s_portc
=
500
;
remote_s_portc
=
500
;
...
@@ -46,16 +46,16 @@ gNBs =
...
@@ -46,16 +46,16 @@ gNBs =
(
(
{
{
type
=
"cp"
;
type
=
"cp"
;
ipv4_cucp
=
"1
92.168.68.19
4"
;
ipv4_cucp
=
"1
27.0.0.
4"
;
port_cucp
=
38462
;
port_cucp
=
38462
;
ipv4_cuup
=
"1
92.168.68.19
6"
;
ipv4_cuup
=
"1
27.0.0.
6"
;
port_cuup
=
38462
;
port_cuup
=
38462
;
}
}
)
)
NETWORK_INTERFACES
:
NETWORK_INTERFACES
:
{
{
GNB_IPV4_ADDRESS_FOR_NG_AMF
=
"1
92.168.68.194
"
;
GNB_IPV4_ADDRESS_FOR_NG_AMF
=
"1
72.21.16.109
"
;
};
};
}
}
);
);
...
...
ci-scripts/conf_files/gnb-cuup.sa.f1.quectel.conf
View file @
7fe29041
...
@@ -21,8 +21,8 @@ gNBs =
...
@@ -21,8 +21,8 @@ gNBs =
tr_s_preference
=
"f1"
;
tr_s_preference
=
"f1"
;
local_s_address
=
"1
92.168.68.19
6"
;
local_s_address
=
"1
27.0.0.
6"
;
remote_s_address
=
"1
92.168.68.19
5"
;
remote_s_address
=
"1
27.0.0.
5"
;
local_s_portc
=
501
;
local_s_portc
=
501
;
local_s_portd
=
2153
;
local_s_portd
=
2153
;
remote_s_portc
=
500
;
remote_s_portc
=
500
;
...
@@ -40,15 +40,15 @@ gNBs =
...
@@ -40,15 +40,15 @@ gNBs =
(
(
{
{
type
=
"up"
;
type
=
"up"
;
ipv4_cucp
=
"1
92.168.68.19
4"
;
ipv4_cucp
=
"1
27.0.0.
4"
;
ipv4_cuup
=
"1
92.168.68.19
6"
;
ipv4_cuup
=
"1
27.0.0.
6"
;
}
}
)
)
NETWORK_INTERFACES
:
NETWORK_INTERFACES
:
{
{
GNB_IPV4_ADDRESS_FOR_NG_AMF
=
"1
92.168.68.196
"
;
GNB_IPV4_ADDRESS_FOR_NG_AMF
=
"1
72.21.16.109
"
;
GNB_IPV4_ADDRESS_FOR_NGU
=
"1
92.168.68.196
"
;
GNB_IPV4_ADDRESS_FOR_NGU
=
"1
72.21.16.109
"
;
GNB_PORT_FOR_S1U
=
2152
;
# Spec 2152
GNB_PORT_FOR_S1U
=
2152
;
# Spec 2152
};
};
}
}
...
...
ci-scripts/conf_files/gnb-du.sa.band78.106prb.usrpb200.conf
View file @
7fe29041
...
@@ -169,8 +169,8 @@ MACRLCs = (
...
@@ -169,8 +169,8 @@ MACRLCs = (
num_cc
=
1
;
num_cc
=
1
;
tr_s_preference
=
"local_L1"
;
tr_s_preference
=
"local_L1"
;
tr_n_preference
=
"f1"
;
tr_n_preference
=
"f1"
;
local_n_address
=
"1
92.168.68.19
5"
;
local_n_address
=
"1
27.0.0.
5"
;
remote_n_address
=
"1
92.168.68.19
4"
;
remote_n_address
=
"1
27.0.0.
4"
;
local_n_portc
=
500
;
local_n_portc
=
500
;
local_n_portd
=
2153
;
local_n_portd
=
2153
;
remote_n_portc
=
501
;
remote_n_portc
=
501
;
...
...
ci-scripts/xml_files/container_sa_e1_b200_quectel.xml
View file @
7fe29041
...
@@ -177,14 +177,14 @@
...
@@ -177,14 +177,14 @@
<class>
Custom_Command
</class>
<class>
Custom_Command
</class>
<desc>
Trigger Reestablishment (on DU)
</desc>
<desc>
Trigger Reestablishment (on DU)
</desc>
<node>
ofqot
</node>
<node>
ofqot
</node>
<command>
echo ci force_reestab | nc -N 1
92.168.68.195 9090
| grep -E 'Reset RLC counters of UE RNTI [0-9a-f]{4} to trigger reestablishment'
</command>
<command>
echo ci force_reestab | nc -N 1
27.0.0.1 9091
| grep -E 'Reset RLC counters of UE RNTI [0-9a-f]{4} to trigger reestablishment'
</command>
<command_fail>
yes
</command_fail>
<command_fail>
yes
</command_fail>
</testCase>
</testCase>
<testCase
id=
"360002"
>
<testCase
id=
"360002"
>
<class>
Custom_Command
</class>
<class>
Custom_Command
</class>
<desc>
Verify Reestablishment (on CU)
</desc>
<desc>
Verify Reestablishment (on CU)
</desc>
<node>
ofqot
</node>
<node>
ofqot
</node>
<command>
echo ci get_reestab_count | nc -N 1
92.168.68.194
9090 | grep -E 'UE RNTI [0-9a-f]{4} reestab 1'
</command>
<command>
echo ci get_reestab_count | nc -N 1
27.0.0.1
9090 | grep -E 'UE RNTI [0-9a-f]{4} reestab 1'
</command>
<command_fail>
yes
</command_fail>
<command_fail>
yes
</command_fail>
</testCase>
</testCase>
...
...
ci-scripts/yaml_files/sa_e1_b200_gnb/docker-compose.yml
View file @
7fe29041
...
@@ -6,12 +6,16 @@ services:
...
@@ -6,12 +6,16 @@ services:
ulimits
:
ulimits
:
core
:
-1
# for core dumps
core
:
-1
# for core dumps
environment
:
environment
:
USE_ADDITIONAL_OPTIONS
:
--sa --telnetsrv --telnetsrv.shrmod ci --log_config.global_log_options level,nocolor,time,line_num,function
USE_ADDITIONAL_OPTIONS
:
--sa
--telnetsrv --telnetsrv.listenport 9090 --telnetsrv.shrmod ci
--log_config.global_log_options level,nocolor,time,line_num,function
volumes
:
volumes
:
-
../../conf_files/gnb-cucp.sa.f1.quectel.conf:/opt/oai-gnb/etc/gnb.conf
-
../../conf_files/gnb-cucp.sa.f1.quectel.conf:/opt/oai-gnb/etc/gnb.conf
networks
:
# for performance reasons, we use host mode: in bridge mode, we have
public_net
:
# unacceptable DL TCP performance. However, the whole point of
ipv4_address
:
192.168.68.194
# containerization is to not be in host mode, so update this to macvlan
# later.
network_mode
:
"
host"
healthcheck
:
healthcheck
:
# pgrep does NOT work
# pgrep does NOT work
test
:
/bin/bash -c "ps aux | grep -v grep | grep -c softmodem"
test
:
/bin/bash -c "ps aux | grep -v grep | grep -c softmodem"
...
@@ -26,12 +30,15 @@ services:
...
@@ -26,12 +30,15 @@ services:
ulimits
:
ulimits
:
core
:
-1
# for core dumps
core
:
-1
# for core dumps
environment
:
environment
:
USE_ADDITIONAL_OPTIONS
:
--sa --log_config.global_log_options level,nocolor,time,line_num,function
USE_ADDITIONAL_OPTIONS
:
--sa
--log_config.global_log_options level,nocolor,time,line_num,function
volumes
:
volumes
:
-
../../conf_files/gnb-cuup.sa.f1.quectel.conf:/opt/oai-gnb/etc/gnb.conf
-
../../conf_files/gnb-cuup.sa.f1.quectel.conf:/opt/oai-gnb/etc/gnb.conf
networks
:
# for performance reasons, we use host mode: in bridge mode, we have
public_net
:
# unacceptable DL TCP performance. However, the whole point of
ipv4_address
:
192.168.68.196
# containerization is to not be in host mode, so update this to macvlan
# later.
network_mode
:
"
host"
healthcheck
:
healthcheck
:
# pgrep does NOT work
# pgrep does NOT work
test
:
/bin/bash -c "ps aux | grep -v grep | grep -c nr-cuup"
test
:
/bin/bash -c "ps aux | grep -v grep | grep -c nr-cuup"
...
@@ -50,16 +57,18 @@ services:
...
@@ -50,16 +57,18 @@ services:
USE_ADDITIONAL_OPTIONS
:
--sa
USE_ADDITIONAL_OPTIONS
:
--sa
--RUs.[0].sdr_addrs serial=30C51D4
--RUs.[0].sdr_addrs serial=30C51D4
--continuous-tx -E
--continuous-tx -E
--telnetsrv --telnetsrv.shrmod ci
--telnetsrv --telnetsrv.
listenport 9091 --telnetsrv.
shrmod ci
--gNBs.[0].min_rxtxtime 2 --gNBs.[0].do_CSIRS 1 --gNBs.[0].do_SRS
1
--gNBs.[0].min_rxtxtime 2 --gNBs.[0].do_CSIRS 1 --gNBs.[0].do_SRS
1
--RUs.[0].att_rx 14 --RUs.[0].att_tx
14
--RUs.[0].att_rx 14 --RUs.[0].att_tx
14
--log_config.global_log_options level,nocolor,time,line_num,function
--log_config.global_log_options level,nocolor,time,line_num,function
volumes
:
volumes
:
-
../../conf_files/gnb-du.sa.band78.106prb.usrpb200.conf:/opt/oai-gnb/etc/gnb.conf
-
../../conf_files/gnb-du.sa.band78.106prb.usrpb200.conf:/opt/oai-gnb/etc/gnb.conf
-
/dev:/dev
-
/dev:/dev
networks
:
# for performance reasons, we use host mode: in bridge mode, we have
public_net
:
# unacceptable DL TCP performance. However, the whole point of
ipv4_address
:
192.168.68.195
# containerization is to not be in host mode, so update this to macvlan
# later.
network_mode
:
"
host"
#entrypoint: /bin/bash -c "sleep infinity"
#entrypoint: /bin/bash -c "sleep infinity"
healthcheck
:
healthcheck
:
# pgrep does NOT work
# pgrep does NOT work
...
@@ -67,12 +76,3 @@ services:
...
@@ -67,12 +76,3 @@ services:
interval
:
10s
interval
:
10s
timeout
:
5s
timeout
:
5s
retries
:
5
retries
:
5
networks
:
public_net
:
name
:
sa-b200-gnb-net
ipam
:
config
:
-
subnet
:
192.168.68.192/26
driver_opts
:
com.docker.network.bridge.name
:
"
sa-gnb-net"
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