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
f9d5a875
Commit
f9d5a875
authored
Oct 11, 2021
by
hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more fixes for test framework
parent
6c64382d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
ci-scripts/ran.py
ci-scripts/ran.py
+2
-2
ci-scripts/stats_monitor.py
ci-scripts/stats_monitor.py
+2
-2
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 @
f9d5a875
...
...
@@ -487,9 +487,9 @@ class RANManagement():
monitor_file
=
'stats_monitor.py'
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 ../ci-scripts/'
+
monitor_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 ../ci-scripts/'
+
monitor_file
+
'
gnb
2>&1 > gnb_stats_monitor_execution.log &'
,
'\$'
,
5
)
...
...
ci-scripts/stats_monitor.py
View file @
f9d5a875
...
...
@@ -64,7 +64,7 @@ def graph(d, node_type):
plt
.
tight_layout
()
# Combine all the operations and display
plt
.
savefig
(
'/tmp/'
+
node_type
+
'_stats_monitor.png'
)
plt
.
savefig
(
node_type
+
'_stats_monitor.png'
)
plt
.
show
()
if
__name__
==
"__main__"
:
...
...
@@ -87,7 +87,7 @@ if __name__ == "__main__":
output
=
process
.
stdout
.
readlines
()
time
.
sleep
(
1
)
print
(
'process stopped'
)
with
open
(
'/tmp/'
+
node_type
+
'_stats_monitor.pickle'
,
'wb'
)
as
handle
:
with
open
(
node_type
+
'_stats_monitor.pickle'
,
'wb'
)
as
handle
:
pickle
.
dump
(
d
,
handle
,
protocol
=
pickle
.
HIGHEST_PROTOCOL
)
graph
(
d
,
node_type
)
...
...
ci-scripts/xml_files/fr1_nsa_2x2_quectel.xml
View file @
f9d5a875
...
...
@@ -122,8 +122,8 @@
<testCase
id=
"070001"
>
<class>
Iperf
</class>
<desc>
iperf (UL/
3
Mbps/UDP)(60 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b
3
M -t 60
</iperf_args>
<desc>
iperf (UL/
1
Mbps/UDP)(60 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b
1
M -t 60
</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