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
zzha zzha
OpenXG-RAN
Commits
789e48fc
Commit
789e48fc
authored
Nov 09, 2020
by
Remi Hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug
parent
9d330405
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
11 deletions
+15
-11
ci-scripts/ran.py
ci-scripts/ran.py
+15
-11
No files found.
ci-scripts/ran.py
View file @
789e48fc
...
@@ -568,6 +568,10 @@ class RANManagement():
...
@@ -568,6 +568,10 @@ class RANManagement():
mySSH
=
SSH
.
SSHConnection
()
mySSH
=
SSH
.
SSHConnection
()
mySSH
.
open
(
lIpAddr
,
lUserName
,
lPassWord
)
mySSH
.
open
(
lIpAddr
,
lUserName
,
lPassWord
)
mySSH
.
command
(
'cd '
+
lSourcePath
+
'/cmake_targets'
,
'\$'
,
5
)
mySSH
.
command
(
'cd '
+
lSourcePath
+
'/cmake_targets'
,
'\$'
,
5
)
#RH debug
print
(
self
.
air_interface
)
print
(
self
.
eNB_instance
)
#
if
(
self
.
air_interface
[
self
.
eNB_instance
]
==
'lte-softmodem'
)
or
(
self
.
air_interface
[
self
.
eNB_instance
]
==
'ocp-enb'
):
if
(
self
.
air_interface
[
self
.
eNB_instance
]
==
'lte-softmodem'
)
or
(
self
.
air_interface
[
self
.
eNB_instance
]
==
'ocp-enb'
):
nodeB_prefix
=
'e'
nodeB_prefix
=
'e'
else
:
else
:
...
@@ -877,7 +881,7 @@ class RANManagement():
...
@@ -877,7 +881,7 @@ class RANManagement():
enb_log_file
.
close
()
enb_log_file
.
close
()
logging
.
debug
(
' File analysis completed'
)
logging
.
debug
(
' File analysis completed'
)
#RH debug
#RH debug
print
(
self
.
air_interface
[
self
.
eNB_instance
]
+
'
\n
'
)
print
(
self
.
air_interface
[
self
.
eNB_instance
]
+
'
\n
'
)
#
#
if
(
self
.
air_interface
[
self
.
eNB_instance
]
==
'lte-softmodem'
)
or
(
self
.
air_interface
[
self
.
eNB_instance
]
==
'ocp-enb'
):
if
(
self
.
air_interface
[
self
.
eNB_instance
]
==
'lte-softmodem'
)
or
(
self
.
air_interface
[
self
.
eNB_instance
]
==
'ocp-enb'
):
nodeB_prefix
=
'e'
nodeB_prefix
=
'e'
...
@@ -899,18 +903,18 @@ class RANManagement():
...
@@ -899,18 +903,18 @@ class RANManagement():
htmleNBFailureMsg
+=
statMsg
+
'
\n
'
htmleNBFailureMsg
+=
statMsg
+
'
\n
'
#FR1 NSA test : add new markers to make sure gNB is used
#FR1 NSA test : add new markers to make sure gNB is used
if
NSA_RAPROC_PUSCH_check
:
if
NSA_RAPROC_PUSCH_check
:
statMsg
=
'[RAPROC] PUSCH with TC_RNTI message check for '
+
nodeB_prefix
+
'NB : PASS '
statMsg
=
'[RAPROC] PUSCH with TC_RNTI message check for '
+
nodeB_prefix
+
'NB : PASS '
else
:
else
:
statMsg
=
'[RAPROC] PUSCH with TC_RNTI message check for '
+
nodeB_prefix
+
'NB : FAIL '
statMsg
=
'[RAPROC] PUSCH with TC_RNTI message check for '
+
nodeB_prefix
+
'NB : FAIL '
logging
.
debug
(
'
\u001B
[1;30;43m '
+
statMsg
+
'
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1;30;43m '
+
statMsg
+
'
\u001B
[0m'
)
htmleNBFailureMsg
+=
statMsg
+
'
\n
'
htmleNBFailureMsg
+=
statMsg
+
'
\n
'
#ulsch and dlsch statistics
#ulsch and dlsch statistics
if
len
(
dlsch_ulsch_stats
)
!=
0
:
#check if dictionary is not empty
if
len
(
dlsch_ulsch_stats
)
!=
0
:
#check if dictionary is not empty
statMsg
=
''
statMsg
=
''
for
key
in
dlsch_ulsch_stats
:
#for each dictionary key
for
key
in
dlsch_ulsch_stats
:
#for each dictionary key
statMsg
+=
dlsch_ulsch_stats
[
key
]
+
'
\n
'
statMsg
+=
dlsch_ulsch_stats
[
key
]
+
'
\n
'
logging
.
debug
(
'
\u001B
[1;30;43m '
+
dlsch_ulsch_stats
[
key
]
+
'
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1;30;43m '
+
dlsch_ulsch_stats
[
key
]
+
'
\u001B
[0m'
)
htmleNBFailureMsg
+=
statMsg
+
'
\n
'
htmleNBFailureMsg
+=
statMsg
+
'
\n
'
if
uciStatMsgCount
>
0
:
if
uciStatMsgCount
>
0
:
statMsg
=
nodeB_prefix
+
'NB showed '
+
str
(
uciStatMsgCount
)
+
' "uci->stat" message(s)'
statMsg
=
nodeB_prefix
+
'NB showed '
+
str
(
uciStatMsgCount
)
+
' "uci->stat" message(s)'
...
...
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