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
ZhouShuya
OpenXG-RAN
Commits
d330867d
Commit
d330867d
authored
May 02, 2019
by
Boris Djalal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reading air_interface from xml when doing Terminate action.
Signed-off-by:
Boris Djalal
<
boris.djalal@eurecom.fr
>
parent
eac4a8a3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
ci-scripts/main.py
ci-scripts/main.py
+10
-0
ci-scripts/xml_files/terminate_gnb_usrp.xml
ci-scripts/xml_files/terminate_gnb_usrp.xml
+1
-0
ci-scripts/xml_files/terminate_nr_ue_usrp.xml
ci-scripts/xml_files/terminate_nr_ue_usrp.xml
+1
-0
No files found.
ci-scripts/main.py
View file @
d330867d
...
...
@@ -3097,6 +3097,11 @@ def GetParametersFromXML(action):
SSH
.
eNB_instance
=
test
.
findtext
(
'eNB_instance'
)
if
(
SSH
.
eNB_instance
is
None
):
SSH
.
eNB_instance
=
'0'
SSH
.
air_interface
=
test
.
findtext
(
'air_interface'
)
if
(
SSH
.
air_interface
is
None
):
SSH
.
air_interface
=
'lte'
else
:
SSH
.
air_interface
=
SSH
.
air_interface
.
lower
()
if
action
==
'Attach_UE'
:
nbMaxUEtoAttach
=
test
.
findtext
(
'nbMaxUEtoAttach'
)
...
...
@@ -3139,6 +3144,11 @@ def GetParametersFromXML(action):
SSH
.
eNB_instance
=
test
.
findtext
(
'UE_instance'
)
if
(
SSH
.
UE_instance
is
None
):
SSH
.
UE_instance
=
'0'
SSH
.
air_interface
=
test
.
findtext
(
'air_interface'
)
if
(
SSH
.
air_interface
is
None
):
SSH
.
air_interface
=
'lte'
else
:
SSH
.
air_interface
=
SSH
.
air_interface
.
lower
()
if
action
==
'Ping'
or
action
==
'Ping_CatM_module'
:
SSH
.
ping_args
=
test
.
findtext
(
'ping_args'
)
...
...
ci-scripts/xml_files/terminate_gnb_usrp.xml
View file @
d330867d
...
...
@@ -32,6 +32,7 @@
<testCase
id=
"090109"
>
<class>
Terminate_eNB
</class>
<desc>
Terminate gNB
</desc>
<air_interface>
NR
</air_interface>
</testCase>
<testCase
id=
"000001"
>
...
...
ci-scripts/xml_files/terminate_nr_ue_usrp.xml
View file @
d330867d
...
...
@@ -32,6 +32,7 @@
<testCase
id=
"090103"
>
<class>
Terminate_OAI_UE
</class>
<desc>
Terminate NR UE
</desc>
<air_interface>
NR
</air_interface>
</testCase>
<testCase
id=
"000001"
>
...
...
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