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
9890896b
Commit
9890896b
authored
8 months ago
by
Bipin Adhikari
Committed by
Raphael Defosseux
7 months ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
patch for Iperf2_Unidir ci_infra %currenthost%
parent
dad8edb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ci-scripts/cls_oaicitest.py
ci-scripts/cls_oaicitest.py
+2
-2
ci-scripts/main.py
ci-scripts/main.py
+1
-1
No files found.
ci-scripts/cls_oaicitest.py
View file @
9890896b
...
...
@@ -881,8 +881,8 @@ class OaiCiTest():
def
Iperf2_Unidir
(
self
,
HTML
,
RAN
,
EPC
,
CONTAINERS
):
if
self
.
ue_ids
==
[]
or
self
.
svr_id
==
None
or
len
(
self
.
ue_ids
)
!=
1
:
raise
Exception
(
"no module names in self.ue_ids or/and self.svr_id provided, multi UE scenario not supported"
)
ue
=
cls_module
.
Module_UE
(
self
.
ue_ids
[
0
].
strip
())
svr
=
cls_module
.
Module_UE
(
self
.
svr_id
)
ue
=
cls_module
.
Module_UE
(
self
.
ue_ids
[
0
].
strip
()
,
self
.
nodes
[
0
].
strip
()
)
svr
=
cls_module
.
Module_UE
(
self
.
svr_id
,
self
.
svr_node
)
ueIP
=
ue
.
getIP
()
if
not
ueIP
:
return
(
False
,
f"UE
{
ue
.
getName
()
}
has no IP address"
)
...
...
This diff is collapsed.
Click to expand it.
ci-scripts/main.py
View file @
9890896b
...
...
@@ -269,7 +269,7 @@ def GetParametersFromXML(action):
CiTestObj
.
nodes
=
test
.
findtext
(
'nodes'
).
split
(
' '
)
ping_rttavg_threshold
=
test
.
findtext
(
'ping_rttavg_threshold'
)
or
''
elif
action
==
'Iperf'
:
elif
action
==
'Iperf'
or
action
==
'Iperf2_Unidir'
:
CiTestObj
.
iperf_args
=
test
.
findtext
(
'iperf_args'
)
CiTestObj
.
ue_ids
=
test
.
findtext
(
'id'
).
split
(
' '
)
CiTestObj
.
svr_id
=
test
.
findtext
(
'svr_id'
)
or
None
...
...
This diff is collapsed.
Click to expand it.
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