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
常顺宇
OpenXG-RAN
Commits
a452f74f
Commit
a452f74f
authored
Nov 10, 2020
by
Remi Hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix
parent
4353880d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
ci-scripts/ran.py
ci-scripts/ran.py
+4
-3
No files found.
ci-scripts/ran.py
View file @
a452f74f
...
...
@@ -872,8 +872,9 @@ class RANManagement():
for
k
in
keys
:
result
=
re
.
search
(
k
,
line
)
if
result
is
not
None
:
#remove all char before u(lsch) or d(lsch)
dlsch_ulsch_stats
[
k
]
=
re
.
sub
(
r'^.*([du])'
,
r'\g<1>'
,
line
.
rstrip
())
#remove all char before u(lsch) or d(lsch) -> not working for the moment
#dlsch_ulsch_stats[k]=re.sub(r'^.*([du])', r'\g<1>' , line.rstrip())
dlsch_ulsch_stats
[
k
]
=
line
.
rstrip
()
enb_log_file
.
close
()
logging
.
debug
(
' File analysis completed'
)
if
(
self
.
air_interface
[
self
.
eNB_instance
]
==
'lte-softmodem'
)
or
(
self
.
air_interface
[
self
.
eNB_instance
]
==
'ocp-enb'
):
...
...
@@ -907,7 +908,7 @@ class RANManagement():
if
len
(
dlsch_ulsch_stats
)
!=
0
:
#check if dictionary is not empty
statMsg
=
''
for
key
in
dlsch_ulsch_stats
:
#for each dictionary key
statMsg
+=
dlsch_ulsch_stats
[
key
]
statMsg
+=
dlsch_ulsch_stats
[
key
]
+
'
\n
'
logging
.
debug
(
dlsch_ulsch_stats
[
key
])
htmleNBFailureMsg
+=
statMsg
...
...
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