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
ea4a60d9
Commit
ea4a60d9
authored
Sep 29, 2021
by
hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DL support + testcase fix
parent
2d46faaf
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
116 additions
and
71 deletions
+116
-71
ci-scripts/cls_module_ue.py
ci-scripts/cls_module_ue.py
+2
-2
ci-scripts/cls_oaicitest.py
ci-scripts/cls_oaicitest.py
+107
-62
ci-scripts/xml_files/fr1_lte_2x2_quectel.xml
ci-scripts/xml_files/fr1_lte_2x2_quectel.xml
+7
-7
No files found.
ci-scripts/cls_module_ue.py
View file @
ea4a60d9
...
@@ -148,8 +148,8 @@ class Module_UE:
...
@@ -148,8 +148,8 @@ class Module_UE:
else
:
#check response
else
:
#check response
result
=
re
.
search
(
'mtu (?P<mtu>[0-9]+)'
,
response
[
0
].
decode
(
"utf-8"
)
)
result
=
re
.
search
(
'mtu (?P<mtu>[0-9]+)'
,
response
[
0
].
decode
(
"utf-8"
)
)
if
result
is
not
None
:
if
result
is
not
None
:
if
(
result
.
group
(
'mtu'
)
is
not
None
)
and
(
result
.
group
(
'mtu'
)
==
self
.
MTU
)
:
if
(
result
.
group
(
'mtu'
)
is
not
None
)
and
(
str
(
result
.
group
(
'mtu'
))
==
str
(
self
.
MTU
)
)
:
logging
.
debug
(
'
\u001B
[1mUE Module NIC MTU is '
+
s
elf
.
MTU
+
' as reques
ted
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1mUE Module NIC MTU is '
+
s
tr
(
self
.
MTU
)
+
' as expec
ted
\u001B
[0m'
)
return
0
return
0
else
:
else
:
logging
.
debug
(
'
\u001B
[1;37;41m Incorrect Module NIC MTU '
+
str
(
result
.
group
(
'mtu'
))
+
'! Expected : '
+
str
(
self
.
MTU
)
+
'
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1;37;41m Incorrect Module NIC MTU '
+
str
(
result
.
group
(
'mtu'
))
+
'! Expected : '
+
str
(
self
.
MTU
)
+
'
\u001B
[0m'
)
...
...
ci-scripts/cls_oaicitest.py
View file @
ea4a60d9
This diff is collapsed.
Click to expand it.
ci-scripts/xml_files/fr1_lte_2x2_quectel.xml
View file @
ea4a60d9
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
<testCase
id=
"030000"
>
<testCase
id=
"030000"
>
<class>
Initialize_eNB
</class>
<class>
Initialize_eNB
</class>
<desc>
Initialize eNB
</desc>
<desc>
Initialize eNB
</desc>
<Initialize_eNB_args>
-O ci-scripts/conf_files/enb.band38.nsa_2x2.100PRB.usrpn310.conf
</Initialize_eNB_args>
<Initialize_eNB_args>
-O ci-scripts/conf_files/enb.band38.nsa_2x2.100PRB.usrpn310.conf
--usrp-tx-thread-config 1 --thread-pool 0,2,4,6
</Initialize_eNB_args>
<eNB_instance>
0
</eNB_instance>
<eNB_instance>
0
</eNB_instance>
<eNB_serverId>
0
</eNB_serverId>
<eNB_serverId>
0
</eNB_serverId>
<air_interface>
lte
</air_interface>
<air_interface>
lte
</air_interface>
...
@@ -90,24 +90,24 @@
...
@@ -90,24 +90,24 @@
<testCase
id=
"050000"
>
<testCase
id=
"050000"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
Ping: 20 pings
in 20sec
</desc>
<desc>
Ping: 20 pings
</desc>
<id>
nrmodule2_quectel
</id>
<id>
nrmodule2_quectel
</id>
<ping_args>
-c 20
-s 2048
</ping_args>
<ping_args>
-c 20
</ping_args>
<ping_packetloss_threshold>
50
</ping_packetloss_threshold>
<ping_packetloss_threshold>
50
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"050001"
>
<testCase
id=
"050001"
>
<class>
Ping
</class>
<class>
Ping
</class>
<desc>
Ping: 100 pings
in 20sec
</desc>
<desc>
Ping: 100 pings
, size 2048
</desc>
<id>
nrmodule2_quectel
</id>
<id>
nrmodule2_quectel
</id>
<ping_args>
-c 100 -
i 0.2 -
s 2048
</ping_args>
<ping_args>
-c 100 -s 2048
</ping_args>
<ping_packetloss_threshold>
50
</ping_packetloss_threshold>
<ping_packetloss_threshold>
50
</ping_packetloss_threshold>
</testCase>
</testCase>
<testCase
id=
"070000"
>
<testCase
id=
"070000"
>
<class>
Iperf
</class>
<class>
Iperf
</class>
<desc>
iperf (DL/20Mbps/UDP)(60 sec)(single-ue profile)
</desc>
<desc>
iperf (DL/20Mbps/UDP)(60 sec)(single-ue profile)
</desc>
<iperf_args>
-u -b 2
0
M -t 60
</iperf_args>
<iperf_args>
-u -b 2
6
M -t 60
</iperf_args>
<direction>
DL
</direction>
<direction>
DL
</direction>
<id>
nrmodule2_quectel
</id>
<id>
nrmodule2_quectel
</id>
<iperf_packetloss_threshold>
50
</iperf_packetloss_threshold>
<iperf_packetloss_threshold>
50
</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