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
wangwenhui
OpenXG-RAN
Commits
2ab1b969
Commit
2ab1b969
authored
Sep 09, 2020
by
Remi Hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed cls_cots_ue.py packages ; fixed terminate_ue_flag copy-paste error
parent
4ec42027
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
ci-scripts/cls_cots_ue.py
ci-scripts/cls_cots_ue.py
+3
-0
ci-scripts/main.py
ci-scripts/main.py
+2
-1
No files found.
ci-scripts/cls_cots_ue.py
View file @
2ab1b969
...
@@ -27,6 +27,9 @@
...
@@ -27,6 +27,9 @@
# pexpect
# pexpect
#---------------------------------------------------------------------
#---------------------------------------------------------------------
#to use isfile
import
os
import
sys
#to use logging.info()
#to use logging.info()
import
logging
import
logging
#to create a SSH object locally in the methods
#to create a SSH object locally in the methods
...
...
ci-scripts/main.py
View file @
2ab1b969
...
@@ -3656,7 +3656,8 @@ elif re.match('^TesteNB$', mode, re.IGNORECASE) or re.match('^TestUE$', mode, re
...
@@ -3656,7 +3656,8 @@ elif re.match('^TesteNB$', mode, re.IGNORECASE) or re.match('^TestUE$', mode, re
GetParametersFromXML
(
action
)
GetParametersFromXML
(
action
)
if
action
==
'Initialize_UE'
or
action
==
'Attach_UE'
or
action
==
'Detach_UE'
or
action
==
'Ping'
or
action
==
'Iperf'
or
action
==
'Reboot_UE'
or
action
==
'DataDisable_UE'
or
action
==
'DataEnable_UE'
or
action
==
'CheckStatusUE'
:
if
action
==
'Initialize_UE'
or
action
==
'Attach_UE'
or
action
==
'Detach_UE'
or
action
==
'Ping'
or
action
==
'Iperf'
or
action
==
'Reboot_UE'
or
action
==
'DataDisable_UE'
or
action
==
'DataEnable_UE'
or
action
==
'CheckStatusUE'
:
if
(
CiTestObj
.
ADBIPAddress
!=
'none'
):
if
(
CiTestObj
.
ADBIPAddress
!=
'none'
):
terminate_ue_flag
=
False
#in these cases, having no devices is critical, GetAllUEDevices function has to manage it as a critical error, reason why terminate_ue_flag is set to True
terminate_ue_flag
=
True
CiTestObj
.
GetAllUEDevices
(
terminate_ue_flag
)
CiTestObj
.
GetAllUEDevices
(
terminate_ue_flag
)
if
action
==
'Build_eNB'
:
if
action
==
'Build_eNB'
:
RAN
.
BuildeNB
()
RAN
.
BuildeNB
()
...
...
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