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
spbro
OpenXG-RAN
Commits
f462417b
Commit
f462417b
authored
Oct 14, 2021
by
hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update runtime stats graphs
parent
010e0cca
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
ci-scripts/ran.py
ci-scripts/ran.py
+4
-3
ci-scripts/stats_monitor.py
ci-scripts/stats_monitor.py
+5
-4
ci-scripts/xml_files/fr1_nsa_2x2_quectel.xml
ci-scripts/xml_files/fr1_nsa_2x2_quectel.xml
+2
-2
No files found.
ci-scripts/ran.py
View file @
f462417b
...
...
@@ -483,12 +483,13 @@ class RANManagement():
#stats monitoring during runtime
time
.
sleep
(
20
)
monitor_file
=
'stats_monitor.py'
monitor_file
=
'../ci-scripts/stats_monitor.py'
conf_file
=
'../ci-scripts/stats_monitor_conf.yaml'
if
self
.
eNB_Stats
==
'yes'
:
if
(
self
.
air_interface
[
self
.
eNB_instance
]
==
'lte-softmodem'
)
or
(
self
.
air_interface
[
self
.
eNB_instance
]
==
'ocp-enb'
):
mySSH
.
command
(
'echo $USER; nohup python3
../ci-scripts/'
+
monitor
_file
+
' enb 2>&1 > enb_stats_monitor_execution.log &'
,
'\$'
,
5
)
mySSH
.
command
(
'echo $USER; nohup python3
'
+
monitor_file
+
' '
+
conf
_file
+
' enb 2>&1 > enb_stats_monitor_execution.log &'
,
'\$'
,
5
)
else
:
mySSH
.
command
(
'echo $USER; nohup python3
../ci-scripts/'
+
monitor
_file
+
' gnb 2>&1 > gnb_stats_monitor_execution.log &'
,
'\$'
,
5
)
mySSH
.
command
(
'echo $USER; nohup python3
'
+
monitor_file
+
' '
+
conf
_file
+
' gnb 2>&1 > gnb_stats_monitor_execution.log &'
,
'\$'
,
5
)
...
...
ci-scripts/stats_monitor.py
View file @
f462417b
...
...
@@ -14,8 +14,8 @@ import yaml
class
StatMonitor
():
def
__init__
(
self
,):
with
open
(
'stats_monitor_conf.yaml'
,
'r'
)
as
file
:
def
__init__
(
self
,
cfg_file
):
with
open
(
cfg_file
,
'r'
)
as
file
:
self
.
d
=
yaml
.
load
(
file
)
for
node
in
self
.
d
:
for
metric
in
self
.
d
[
node
]:
...
...
@@ -83,8 +83,9 @@ class StatMonitor():
if
__name__
==
"__main__"
:
node
=
sys
.
argv
[
1
]
#enb or gnb
mon
=
StatMonitor
()
cfg_filename
=
sys
.
argv
[
1
]
#yaml file as metrics config
node
=
sys
.
argv
[
2
]
#enb or gnb
mon
=
StatMonitor
(
cfg_filename
)
#collecting stats when modem process is stopped
CMD
=
'ps aux | grep mode | grep -v grep'
...
...
ci-scripts/xml_files/fr1_nsa_2x2_quectel.xml
View file @
f462417b
...
...
@@ -122,8 +122,8 @@
<testCase
id=
"070001"
>
<class>
Iperf
</class>
<desc>
iperf (UL/1Mbps/UDP)(
6
0 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 1M -t
6
0
</iperf_args>
<desc>
iperf (UL/1Mbps/UDP)(
2
0 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 1M -t
2
0
</iperf_args>
<direction>
UL
</direction>
<id>
nrmodule2_quectel
</id>
<iperf_packetloss_threshold>
5
</iperf_packetloss_threshold>
...
...
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