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
266ffb6a
Commit
266ffb6a
authored
Apr 26, 2023
by
Dhanuja Elizabeth Thomas
Committed by
Robert Schmidt
May 15, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed ping-mean-median calculation
parent
1268b27c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
17 deletions
+1
-17
ci-scripts/cls_oaicitest.py
ci-scripts/cls_oaicitest.py
+1
-17
No files found.
ci-scripts/cls_oaicitest.py
View file @
266ffb6a
...
...
@@ -667,27 +667,11 @@ class OaiCiTest():
logging
.
debug
(
'
\u001B
[1;34m '
+
avg_msg
+
'
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1;34m '
+
max_msg
+
'
\u001B
[0m'
)
#adding extra ping stats from local file
#ping_log_file variable is defined above in this function, depending on device/ue
ping_stat_msg
=
''
logging
.
debug
(
'Analyzing Ping log file : '
+
os
.
getcwd
()
+
'/'
+
ping_log_file
)
ping_stat
=
GetPingTimeAnalysis
(
RAN
,
ping_log_file
,
self
.
ping_rttavg_threshold
)
if
(
ping_stat
!=-
1
)
and
(
len
(
ping_stat
)
!=
0
):
ping_stat_msg
+=
'Ping stats before removing largest value :
\n
'
ping_stat_msg
+=
'RTT(Min) : '
+
str
(
"{:.2f}"
.
format
(
ping_stat
[
'min_0'
]))
+
'ms
\n
'
ping_stat_msg
+=
'RTT(Mean) : '
+
str
(
"{:.2f}"
.
format
(
ping_stat
[
'mean_0'
]))
+
'ms
\n
'
ping_stat_msg
+=
'RTT(Median) : '
+
str
(
"{:.2f}"
.
format
(
ping_stat
[
'median_0'
]))
+
'ms
\n
'
ping_stat_msg
+=
'RTT(Max) : '
+
str
(
"{:.2f}"
.
format
(
ping_stat
[
'max_0'
]))
+
'ms
\n
'
ping_stat_msg
+=
'Max Index : '
+
str
(
ping_stat
[
'max_loc'
])
+
'
\n
'
ping_stat_msg
+=
'Ping stats after removing largest value :
\n
'
ping_stat_msg
+=
'RTT(Min) : '
+
str
(
"{:.2f}"
.
format
(
ping_stat
[
'min_1'
]))
+
'ms
\n
'
ping_stat_msg
+=
'RTT(Mean) : '
+
str
(
"{:.2f}"
.
format
(
ping_stat
[
'mean_1'
]))
+
'ms
\n
'
ping_stat_msg
+=
'RTT(Median) : '
+
str
(
"{:.2f}"
.
format
(
ping_stat
[
'median_1'
]))
+
'ms
\n
'
ping_stat_msg
+=
'RTT(Max) : '
+
str
(
"{:.2f}"
.
format
(
ping_stat
[
'max_1'
]))
+
'ms
\n
'
#building html message
qMsg
=
pal_msg
+
'
\n
'
+
min_msg
+
'
\n
'
+
avg_msg
+
'
\n
'
+
max_msg
+
'
\n
'
+
ping_stat_msg
qMsg
=
pal_msg
+
'
\n
'
+
min_msg
+
'
\n
'
+
avg_msg
+
'
\n
'
+
max_msg
#checking packet loss compliance
packetLossOK
=
True
...
...
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