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
lizhongxiao
OpenXG-RAN
Commits
4c19d961
Commit
4c19d961
authored
Jul 25, 2019
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CI: trying to stablize the X2 Handover testing
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
b958b57d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ci-scripts/main.py
ci-scripts/main.py
+4
-4
ci-scripts/xml_files/x2ho_enb_usrp210_band13_test_05mhz_tm1.xml
...ipts/xml_files/x2ho_enb_usrp210_band13_test_05mhz_tm1.xml
+1
-1
No files found.
ci-scripts/main.py
View file @
4c19d961
...
...
@@ -3399,13 +3399,13 @@ class SSHConnection():
eNB_cnt
=
self
.
x2NbENBs
cnt
=
0
while
cnt
<
eNB_cnt
:
cmd
=
"curl -XPOST http://"
+
self
.
EPCIPAddress
+
":9999/rrc/x2_ho_net_control/enb/"
+
str
(
self
.
x2ENBBsIds
[
0
][
cnt
])
+
"/1"
cmd
=
"curl -
-silent -
XPOST http://"
+
self
.
EPCIPAddress
+
":9999/rrc/x2_ho_net_control/enb/"
+
str
(
self
.
x2ENBBsIds
[
0
][
cnt
])
+
"/1"
logging
.
debug
(
cmd
)
fullMessage
+=
cmd
+
'
\n
'
subprocess
.
run
(
cmd
,
shell
=
True
)
cnt
+=
1
# Waiting for the activation to be active
time
.
sleep
(
1
0
)
time
.
sleep
(
2
0
)
msg
=
"Switching UE(s) from eNB to eNB"
logging
.
debug
(
msg
)
fullMessage
+=
msg
+
'
\n
'
...
...
@@ -3413,13 +3413,13 @@ class SSHConnection():
while
cnt
<
eNB_cnt
:
ueIdx
=
0
while
ueIdx
<
len
(
self
.
x2ENBConnectedUEs
[
0
][
cnt
]):
cmd
=
"curl -XPOST http://"
+
self
.
EPCIPAddress
+
":9999/rrc/ho/senb/"
+
str
(
self
.
x2ENBBsIds
[
0
][
cnt
])
+
"/ue/"
+
str
(
self
.
x2ENBConnectedUEs
[
0
][
cnt
][
ueIdx
])
+
"/tenb/"
+
str
(
self
.
x2ENBBsIds
[
0
][
eNB_cnt
-
cnt
-
1
])
cmd
=
"curl -
-silent -
XPOST http://"
+
self
.
EPCIPAddress
+
":9999/rrc/ho/senb/"
+
str
(
self
.
x2ENBBsIds
[
0
][
cnt
])
+
"/ue/"
+
str
(
self
.
x2ENBConnectedUEs
[
0
][
cnt
][
ueIdx
])
+
"/tenb/"
+
str
(
self
.
x2ENBBsIds
[
0
][
eNB_cnt
-
cnt
-
1
])
logging
.
debug
(
cmd
)
fullMessage
+=
cmd
+
'
\n
'
subprocess
.
run
(
cmd
,
shell
=
True
)
ueIdx
+=
1
cnt
+=
1
time
.
sleep
(
1
0
)
time
.
sleep
(
2
0
)
# check
logging
.
debug
(
"Checking the Status after X2 Handover"
)
fullMessage
+=
self
.
X2_Status
(
1
,
self
.
testCase_id
+
'_post_ho.json'
)
...
...
ci-scripts/xml_files/x2ho_enb_usrp210_band13_test_05mhz_tm1.xml
View file @
4c19d961
...
...
@@ -25,7 +25,7 @@
<htmlTabRef>
test-x2-ho-05-tm1
</htmlTabRef>
<htmlTabName>
Test-X2-HO-FDD-05MHz-TM1
</htmlTabName>
<htmlTabIcon>
tasks
</htmlTabIcon>
<repeatCount>
2
</repeatCount>
<repeatCount>
4
</repeatCount>
<TestCaseRequestedList>
030201 030202
040101
...
...
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