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
spbro
OpenXG-RAN
Commits
9e5e6bf1
Commit
9e5e6bf1
authored
Jan 20, 2023
by
Dhanuja Elizabeth Thomas
Committed by
Robert Schmidt
Feb 18, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed reset/reboot of USRP
parent
5723e713
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
33 deletions
+0
-33
ci-scripts/cls_containerize.py
ci-scripts/cls_containerize.py
+0
-1
ci-scripts/cls_oaicitest.py
ci-scripts/cls_oaicitest.py
+0
-11
ci-scripts/ran.py
ci-scripts/ran.py
+0
-21
No files found.
ci-scripts/cls_containerize.py
View file @
9e5e6bf1
...
...
@@ -865,7 +865,6 @@ class Containerize():
mySSH
.
command
(
'sed -i -e "s/CI_MME_IP_ADDR/'
+
localMmeIpAddr
+
'/" ci-docker-compose.yml'
,
'\$'
,
2
)
# Currently support only one
mySSH
.
command
(
'echo '
+
lPassWord
+
' | sudo -S b2xx_fx3_utils --reset-device'
,
'\$'
,
15
)
svcName
=
self
.
services
[
self
.
eNB_instance
]
if
svcName
==
''
:
logging
.
warning
(
'no service name given: starting all services in ci-docker-compose.yml!'
)
...
...
ci-scripts/cls_oaicitest.py
View file @
9e5e6bf1
...
...
@@ -453,17 +453,6 @@ class OaiCiTest():
UE_prefix
=
'NR '
SSH
=
sshconnection
.
SSHConnection
()
SSH
.
open
(
self
.
UEIPAddress
,
self
.
UEUserName
,
self
.
UEPassword
)
# b2xx_fx3_utils reset procedure
SSH
.
command
(
'echo '
+
self
.
UEPassword
+
' | sudo -S uhd_find_devices'
,
'\$'
,
180
)
result
=
re
.
search
(
'type: b200'
,
SSH
.
getBefore
())
if
result
is
not
None
:
logging
.
debug
(
'Found a B2xx device --> resetting it'
)
SSH
.
command
(
'echo '
+
self
.
UEPassword
+
' | sudo -S b2xx_fx3_utils --reset-device'
,
'\$'
,
10
)
# Reloading FGPA bin firmware
SSH
.
command
(
'echo '
+
self
.
UEPassword
+
' | sudo -S uhd_find_devices'
,
'\$'
,
180
)
result
=
re
.
search
(
'type: n3xx'
,
str
(
SSH
.
getBefore
()))
if
result
is
not
None
:
logging
.
debug
(
'Found a N3xx device --> resetting it'
)
SSH
.
command
(
'cd '
+
self
.
UESourceCodePath
,
'\$'
,
5
)
# Initialize_OAI_UE_args usually start with -C and followed by the location in repository
SSH
.
command
(
'source oaienv'
,
'\$'
,
5
)
...
...
ci-scripts/ran.py
View file @
9e5e6bf1
...
...
@@ -365,17 +365,6 @@ class RANManagement():
cwd
=
os
.
getcwd
()
mySSH
.
copyout
(
lIpAddr
,
lUserName
,
lPassWord
,
cwd
+
"/active_net_interfaces.awk"
,
"/tmp"
)
#reboot USRP if requested in xml
if
self
.
USRPIPAddress
!=
''
:
logging
.
debug
(
'USRP '
+
self
.
USRPIPAddress
+
': reboot request'
)
mySSH
.
open
(
lIpAddr
,
lUserName
,
lPassWord
)
cmd2usrp
=
'ssh root@'
+
self
.
USRPIPAddress
+
' reboot'
mySSH
.
command2
(
cmd2usrp
,
1
)
mySSH
.
close
()
logging
.
debug
(
'Waiting for USRP to be ready'
)
time
.
sleep
(
120
)
if
(
self
.
pStatus
<
0
):
HTML
.
CreateHtmlTestRow
(
self
.
air_interface
[
self
.
eNB_instance
]
+
' '
+
self
.
Initialize_eNB_args
,
'KO'
,
self
.
pStatus
)
HTML
.
CreateHtmlTabFooter
(
False
)
...
...
@@ -437,16 +426,6 @@ class RANManagement():
result
=
re
.
search
(
'^rru|^rcc|^du.band'
,
str
(
config_file
))
if
result
is
not
None
:
rruCheck
=
True
# do not reset board twice in IF4.5 case
result
=
re
.
search
(
'^rru|^enb|^du.band'
,
str
(
config_file
))
if
result
is
not
None
:
mySSH
.
command
(
'echo '
+
lPassWord
+
' | sudo -S uhd_find_devices'
,
'\$'
,
180
)
result
=
re
.
search
(
'type: b200'
,
mySSH
.
getBefore
())
if
result
is
not
None
:
logging
.
debug
(
'Found a B2xx device --> resetting it'
)
mySSH
.
command
(
'echo '
+
lPassWord
+
' | sudo -S b2xx_fx3_utils --reset-device'
,
'\$'
,
10
)
# Reloading FGPA bin firmware
mySSH
.
command
(
'echo '
+
lPassWord
+
' | sudo -S uhd_find_devices'
,
'\$'
,
180
)
# Make a copy and adapt to EPC / eNB IP addresses
mySSH
.
command
(
'cp '
+
full_config_file
+
' '
+
ci_full_config_file
,
'\$'
,
5
)
localMmeIpAddr
=
EPC
.
MmeIPAddress
...
...
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