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
lizhongxiao
OpenXG-RAN
Commits
31a0d28a
Commit
31a0d28a
authored
Jul 28, 2020
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: fix a few typos
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
d3b415d6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
+11
-6
ci-scripts/main.py
ci-scripts/main.py
+9
-4
ci-scripts/ran.py
ci-scripts/ran.py
+1
-1
cmake_targets/build_oai
cmake_targets/build_oai
+1
-1
No files found.
ci-scripts/main.py
View file @
31a0d28a
#/*
# * 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.
...
...
@@ -1598,7 +1598,7 @@ class OaiCiTest():
return
result
def
Iperf_analyzeV2TCPOutput
(
self
,
lock
,
UE_IPAddress
,
device_id
,
statusQueue
,
iperf_real_options
):
SSH
.
command
(
'awk -f /tmp/tcp_iperf_stats.awk
/tmp/CI-eNB
/scripts/iperf_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
5
)
SSH
.
command
(
'awk -f /tmp/tcp_iperf_stats.awk
'
+
EPC
.
SourceCodePath
+
'
/scripts/iperf_'
+
self
.
testCase_id
+
'_'
+
device_id
+
'.log'
,
'\$'
,
5
)
result
=
re
.
search
(
'Avg Bitrate : (?P<average>[0-9\.]+ Mbits\/sec) Max Bitrate : (?P<maximum>[0-9\.]+ Mbits\/sec) Min Bitrate : (?P<minimum>[0-9\.]+ Mbits\/sec)'
,
SSH
.
getBefore
())
if
result
is
not
None
:
avgbitrate
=
result
.
group
(
'average'
)
...
...
@@ -3161,7 +3161,7 @@ def GetParametersFromXML(action):
CiTestObj
.
air_interface
=
air_interface
.
lower
()
+
'-softmodem'
else
:
CiTestObj
.
air_interface
=
'ocp-enb'
RAN
.
air_interface
(
CiTestObj
.
air_interface
)
RAN
.
air_interface
=
CiTestObj
.
air_interface
if
action
==
'Terminate_eNB'
:
RAN
.
eNB_instance
=
test
.
findtext
(
'eNB_instance'
)
...
...
@@ -3304,7 +3304,12 @@ def receive_signal(signum, frame):
#loading xml action list from yaml
import
yaml
with
open
(
'xml_class_list.yml'
,
'r'
)
as
file
:
xml_class_list_file
=
''
if
(
os
.
path
.
isfile
(
'xml_class_list.yml'
)):
xml_class_list_file
=
'xml_class_list.yml'
if
(
os
.
path
.
isfile
(
'ci-scripts/xml_class_list.yml'
)):
xml_class_list_file
=
'ci-scripts/xml_class_list.yml'
with
open
(
xml_class_list_file
,
'r'
)
as
file
:
# The FullLoader parameter handles the conversion from YAML
# scalar values to Python the dictionary format
xml_class_list
=
yaml
.
load
(
file
,
Loader
=
yaml
.
FullLoader
)
...
...
ci-scripts/ran.py
View file @
31a0d28a
...
...
@@ -536,7 +536,7 @@ class RANManagement():
# Make a copy and adapt to EPC / eNB IP addresses
mySSH
.
command
(
'cp '
+
full_config_file
+
' '
+
ci_full_config_file
,
'\$'
,
5
)
if
self
.
epcObj
is
not
None
:
localMmeIpAddr
=
self
.
epcObj
.
GetMmeIPAddress
()
localMmeIpAddr
=
self
.
epcObj
.
MmeIPAddress
mySSH
.
command
(
'sed -i -e
\'
s/CI_MME_IP_ADDR/'
+
localMmeIpAddr
+
'/
\'
'
+
ci_full_config_file
,
'\$'
,
2
);
mySSH
.
command
(
'sed -i -e
\'
s/CI_ENB_IP_ADDR/'
+
lIpAddr
+
'/
\'
'
+
ci_full_config_file
,
'\$'
,
2
);
mySSH
.
command
(
'sed -i -e
\'
s/CI_RCC_IP_ADDR/'
+
self
.
eNBIPAddress
+
'/
\'
'
+
ci_full_config_file
,
'\$'
,
2
);
...
...
cmake_targets/build_oai
View file @
31a0d28a
...
...
@@ -830,7 +830,7 @@ function main() {
####################################################
# Build RF device and transport protocol libraries #
####################################################
if
[
"
$eNB
"
=
"1"
-o
"
$UE
"
=
"1"
-o
"
$gNB
"
=
"1"
-o
"
$nrUE
"
=
"1"
-o
"
$HWLAT
"
=
"1"
]
;
then
if
[
"
$eNB
"
=
"1"
-o
"
$
eNBocp
"
=
"1"
-o
"
$
UE
"
=
"1"
-o
"
$gNB
"
=
"1"
-o
"
$nrUE
"
=
"1"
-o
"
$HWLAT
"
=
"1"
]
;
then
# build RF device libraries
if
[
"
$HW
"
!=
"None"
]
;
then
...
...
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