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
700a149d
Commit
700a149d
authored
Oct 06, 2021
by
hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update for CI SA test
parent
72d3be65
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
21 deletions
+11
-21
ci-scripts/cls_oaicitest.py
ci-scripts/cls_oaicitest.py
+1
-7
ci-scripts/epc.py
ci-scripts/epc.py
+1
-0
ci-scripts/xml_files/fr1_sa_quectel.xml
ci-scripts/xml_files/fr1_sa_quectel.xml
+9
-14
No files found.
ci-scripts/cls_oaicitest.py
View file @
700a149d
...
...
@@ -2232,13 +2232,7 @@ class OaiCiTest():
def
Iperf_Module
(
self
,
lock
,
UE_IPAddress
,
device_id
,
idx
,
ue_num
,
statusQueue
,
EPC
,
Module_UE
):
SSH
=
sshconnection
.
SSHConnection
()
#RH temporary quick n dirty for test
SSH
.
open
(
EPC
.
IPAddress
,
EPC
.
UserName
,
EPC
.
Password
)
cmd
=
'echo '
+
EPC
.
Password
+
' | sudo -S ip link set dev tun5 mtu 1358'
SSH
.
command
(
cmd
,
'\$'
,
5
)
SSH
.
close
()
SSH
=
sshconnection
.
SSHConnection
()
#kill iperf processes before (in case there are still some remaining)
SSH
.
open
(
Module_UE
.
HostIPAddress
,
Module_UE
.
HostUsername
,
Module_UE
.
HostPassword
)
...
...
ci-scripts/epc.py
View file @
700a149d
...
...
@@ -235,6 +235,7 @@ class EPCManagement():
mySSH
.
command
(
'mkdir -p '
+
self
.
SourceCodePath
+
'/scripts'
,
'\$'
,
5
)
mySSH
.
command
(
'cd /opt/oai-cn5g-fed/docker-compose'
,
'\$'
,
5
)
mySSH
.
command
(
'./core-network.sh start nrf spgwu'
,
'\$'
,
60
)
mySSH
.
command
(
'docker-compose up -d trf_gen'
,
'\$'
,
5
)
else
:
logging
.
error
(
'This option should not occur!'
)
mySSH
.
close
()
...
...
ci-scripts/xml_files/fr1_sa_quectel.xml
View file @
700a149d
...
...
@@ -31,6 +31,9 @@
010000
000001
050000
050001
070000
070001
000001
010002
080000
...
...
@@ -84,31 +87,23 @@
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
<testCase
id=
"050001"
>
<class>
Ping
</class>
<desc>
Ping: 100pings in 20sec
</desc>
<id>
nrmodule2_quectel
</id>
<ping_args>
-c 100 -i 0.2
</ping_args>
<ping_packetloss_threshold>
5
</ping_packetloss_threshold>
</testCase>
<testCase
id=
"070000"
>
<class>
Iperf
</class>
<desc>
iperf (DL/
20
Mbps/UDP)(60 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b
20
M -t 60
</iperf_args>
<desc>
iperf (DL/
5
Mbps/UDP)(60 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b
5
M -t 60
</iperf_args>
<direction>
DL
</direction>
<id>
nrmodule2_quectel
</id>
<iperf_packetloss_threshold>
5
0
</iperf_packetloss_threshold>
<iperf_packetloss_threshold>
5
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
<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
0
</iperf_packetloss_threshold>
<iperf_packetloss_threshold>
5
</iperf_packetloss_threshold>
<iperf_profile>
single-ue
</iperf_profile>
</testCase>
...
...
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