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
canghaiwuhen
OpenXG-RAN
Commits
708f34ee
Commit
708f34ee
authored
Nov 20, 2020
by
hardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixing auto-terminate function to kill all RAN nodes
parent
40141270
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
ci-scripts/cls_oaicitest.py
ci-scripts/cls_oaicitest.py
+9
-5
No files found.
ci-scripts/cls_oaicitest.py
View file @
708f34ee
...
@@ -2902,13 +2902,17 @@ class OaiCiTest():
...
@@ -2902,13 +2902,17 @@ class OaiCiTest():
self
.
ShowTestID
()
self
.
ShowTestID
()
self
.
TerminateOAIUE
(
HTML
,
RAN
,
COTS_UE
)
self
.
TerminateOAIUE
(
HTML
,
RAN
,
COTS_UE
)
if
(
RAN
.
Initialize_eNB_args
!=
''
):
if
(
RAN
.
Initialize_eNB_args
!=
''
):
self
.
testCase_id
=
'AUTO-KILL-
eNB
'
self
.
testCase_id
=
'AUTO-KILL-
RAN
'
HTML
.
testCase_id
=
self
.
testCase_id
HTML
.
testCase_id
=
self
.
testCase_id
self
.
desc
=
'Automatic Termination of
eNB
'
self
.
desc
=
'Automatic Termination of
all RAN nodes
'
HTML
.
desc
=
'Automatic Termination of
eNB
'
HTML
.
desc
=
'Automatic Termination of
RAN nodes
'
self
.
ShowTestID
()
self
.
ShowTestID
()
RAN
.
eNB_instance
=
0
#terminate all RAN nodes eNB/gNB/OCP
RAN
.
TerminateeNB
()
for
instance
in
range
(
0
,
len
(
RAN
.
air_interface
)):
if
RAN
.
air_interface
[
instance
]
!=
''
logging
.
debug
(
'Auto Termination of Instance '
+
str
(
instance
)
+
' : '
+
RAN
.
air_interface
[
instance
])
RAN
.
eNB_instance
=
instance
RAN
.
TerminateeNB
()
if
RAN
.
flexranCtrlInstalled
and
RAN
.
flexranCtrlStarted
:
if
RAN
.
flexranCtrlInstalled
and
RAN
.
flexranCtrlStarted
:
self
.
testCase_id
=
'AUTO-KILL-flexran-ctl'
self
.
testCase_id
=
'AUTO-KILL-flexran-ctl'
HTML
.
testCase_id
=
self
.
testCase_id
HTML
.
testCase_id
=
self
.
testCase_id
...
...
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