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
promise
OpenXG-RAN
Commits
0677e03a
Commit
0677e03a
authored
Sep 16, 2020
by
Remi Hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding missing libs
parent
15dfc7fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
ci-scripts/cls_oaicitest.py
ci-scripts/cls_oaicitest.py
+6
-4
No files found.
ci-scripts/cls_oaicitest.py
View file @
0677e03a
...
@@ -48,8 +48,10 @@ logging.basicConfig(
...
@@ -48,8 +48,10 @@ logging.basicConfig(
format
=
"[%(asctime)s] %(name)s:%(levelname)s: %(message)s"
format
=
"[%(asctime)s] %(name)s:%(levelname)s: %(message)s"
)
)
#import our libs
import
helpreadme
as
HELP
import
constants
as
CONST
import
sshconnection
#-----------------------------------------------------------
#-----------------------------------------------------------
# OaiCiTest Class Definition
# OaiCiTest Class Definition
...
@@ -2261,7 +2263,7 @@ class OaiCiTest():
...
@@ -2261,7 +2263,7 @@ class OaiCiTest():
def
Iperf
(
self
,
HTML
,
RAN
,
EPC
):
def
Iperf
(
self
,
HTML
,
RAN
,
EPC
):
result
=
re
.
search
(
'noS1'
,
str
(
RAN
.
Initialize_eNB_args
))
result
=
re
.
search
(
'noS1'
,
str
(
RAN
.
Initialize_eNB_args
))
if
result
is
not
None
:
if
result
is
not
None
:
self
.
HTML
,
RAN
,
EPC
)
self
.
IperfNoS1
(
HTML
,
RAN
,
EPC
)
return
return
if
EPC
.
IPAddress
==
''
or
EPC
.
UserName
==
''
or
EPC
.
Password
==
''
or
EPC
.
SourceCodePath
==
''
or
self
.
ADBIPAddress
==
''
or
self
.
ADBUserName
==
''
or
self
.
ADBPassword
==
''
:
if
EPC
.
IPAddress
==
''
or
EPC
.
UserName
==
''
or
EPC
.
Password
==
''
or
EPC
.
SourceCodePath
==
''
or
self
.
ADBIPAddress
==
''
or
self
.
ADBUserName
==
''
or
self
.
ADBPassword
==
''
:
HELP
.
GenericHelp
(
CONST
.
Version
)
HELP
.
GenericHelp
(
CONST
.
Version
)
...
@@ -3090,4 +3092,4 @@ class OaiCiTest():
...
@@ -3090,4 +3092,4 @@ class OaiCiTest():
logging
.
debug
(
'
\u001B
[1m----------------------------------------
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1m----------------------------------------
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1mTest ID:'
+
self
.
testCase_id
+
'
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1mTest ID:'
+
self
.
testCase_id
+
'
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1m'
+
self
.
desc
+
'
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1m'
+
self
.
desc
+
'
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1m----------------------------------------
\u001B
[0m'
)
logging
.
debug
(
'
\u001B
[1m----------------------------------------
\u001B
[0m'
)
\ No newline at end of file
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