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
226ba2e5
Commit
226ba2e5
authored
Apr 30, 2019
by
Boris Djalal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Saving modifications made during meeting
Signed-off-by:
Boris Djalal
<
boris.djalal@eurecom.fr
>
parent
6bdee22e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
8 deletions
+7
-8
ci-scripts/main.py
ci-scripts/main.py
+4
-5
ci-scripts/xml_files/gnb_usrp_run.xml
ci-scripts/xml_files/gnb_usrp_run.xml
+1
-1
ci-scripts/xml_files/nr_ue_usrp_run.xml
ci-scripts/xml_files/nr_ue_usrp_run.xml
+1
-1
targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpn300.conf
.../GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpn300.conf
+1
-1
No files found.
ci-scripts/main.py
View file @
226ba2e5
...
...
@@ -312,7 +312,6 @@ class SSHConnection():
sys
.
exit
(
'SCP failed'
)
def
BuildeNB
(
self
):
return
()
if
self
.
eNBIPAddress
==
''
or
self
.
eNBRepository
==
''
or
self
.
eNBBranch
==
''
or
self
.
eNBUserName
==
''
or
self
.
eNBPassword
==
''
or
self
.
eNBSourceCodePath
==
''
:
Usage
()
sys
.
exit
(
'Insufficient Parameter'
)
...
...
@@ -349,7 +348,6 @@ class SSHConnection():
self
.
CreateHtmlTestRow
(
self
.
Build_eNB_args
,
'OK'
,
ALL_PROCESSES_OK
)
def
BuildOAIUE
(
self
):
return
()
if
self
.
UEIPAddress
==
''
or
self
.
eNBRepository
==
''
or
self
.
eNBBranch
==
''
or
self
.
UEUserName
==
''
or
self
.
UEPassword
==
''
or
self
.
UESourceCodePath
==
''
:
Usage
()
sys
.
exit
(
'Insufficient Parameter'
)
...
...
@@ -504,7 +502,8 @@ class SSHConnection():
self
.
command
(
'echo '
+
self
.
eNBPassword
+
' | sudo -S uhd_find_devices'
,
'\$'
,
5
)
result
=
re
.
search
(
'type: b200'
,
str
(
self
.
ssh
.
before
))
if
result
is
not
None
:
logging
.
debug
(
'Found a B2xx device --> resetting it'
)
pass
##logging.debug('Found a B2xx device --> resetting it')
##self.command('echo ' + self.eNBPassword + ' | sudo -S sudo b2xx_fx3_utils --reset-device', '\$', 5)
# Reloading FGPA bin firmware
##self.command('echo ' + self.eNBPassword + ' | sudo -S uhd_find_devices', '\$', 5)
...
...
@@ -2508,7 +2507,7 @@ class SSHConnection():
#linux_distro = platform.linux_distribution()[0]
#if re.match('(.*)CentOS(.*)', linux_distro, re.IGNORECASE):
#self.command('source /etc/init.d/functions', '\$', 5)
#
#
self.command('echo ' + self.UEPassword + ' | sudo -S daemon --name=ue' + str(self.UE_instance) + '_daemon --stop', '\$', 5)
#self.command('echo ' + self.UEPassword + ' | sudo -S daemon --name=ue' + str(self.UE_instance) + '_daemon --stop', '\$', 5)
self
.
command
(
'rm -f my-lte-uesoftmodem-run'
+
str
(
self
.
UE_instance
)
+
'.sh'
,
'\$'
,
5
)
self
.
command
(
'echo '
+
self
.
UEPassword
+
' | sudo -S killall --signal SIGINT '
+
self
.
air_interface
+
'-uesoftmodem || true'
,
'\$'
,
5
)
time
.
sleep
(
5
)
...
...
@@ -3126,7 +3125,7 @@ def GetParametersFromXML(action):
SSH
.
air_interface
=
SSH
.
air_interface
.
lower
()
if
action
==
'Initialize_OAI_eNB'
:
SSH
.
Initialize_OAI_
UE
_args
=
test
.
findtext
(
'Initialize_OAI_eNB_args'
)
SSH
.
Initialize_OAI_
eNB
_args
=
test
.
findtext
(
'Initialize_OAI_eNB_args'
)
SSH
.
UE_instance
=
test
.
findtext
(
'eNB_instance'
)
if
(
SSH
.
eNB_instance
is
None
):
SSH
.
eNB_instance
=
'0'
...
...
ci-scripts/xml_files/gnb_usrp_run.xml
View file @
226ba2e5
...
...
@@ -32,7 +32,7 @@
<testCase
id=
"090101"
>
<class>
Initialize_OAI_eNB
</class>
<desc>
Initialize gNB USRP
</desc>
<Initialize_OAI_eNB_args>
-O ../../../targets/PROJECTS/GENERIC-LTE-EPC/CONF/
boris.
gnb.band78.tm1.106PRB.usrpn300.conf
</Initialize_OAI_eNB_args>
<Initialize_OAI_eNB_args>
-O ../../../targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpn300.conf
</Initialize_OAI_eNB_args>
<air_interface>
NR
</air_interface>
</testCase>
...
...
ci-scripts/xml_files/nr_ue_usrp_run.xml
View file @
226ba2e5
...
...
@@ -32,7 +32,7 @@
<testCase
id=
"090102"
>
<class>
Initialize_OAI_UE
</class>
<desc>
Initialize NR UE USRP
</desc>
<Initialize_OAI_UE_args>
-C 3510000000 --numerology 1 -r 106 --phy-test --usrp-args "addr=192.168.5
5555
0.2,clock_source=external,time_source=external" --threadoffset 16
</Initialize_OAI_UE_args>
<Initialize_OAI_UE_args>
-C 3510000000 --numerology 1 -r 106 --phy-test --usrp-args "addr=192.168.50.2,clock_source=external,time_source=external" --threadoffset 16
</Initialize_OAI_UE_args>
<air_interface>
NR
</air_interface>
</testCase>
...
...
targets/PROJECTS/GENERIC-LTE-EPC/CONF/gnb.band78.tm1.106PRB.usrpn300.conf
View file @
226ba2e5
...
...
@@ -254,7 +254,7 @@ RUs = (
max_pdschReferenceSignalPower
= -
27
;
max_rxgain
=
114
;
eNB_instances
= [
0
];
sdr_addrs
=
"addr=192.168.
10.2,second_addr=192.168.20.2,mgmt_addr=192.168.100.8
,clock_source=external,time_source=external"
;
sdr_addrs
=
"addr=192.168.
20.2,second_addr=192.168.10.2,mgmt_addr=192.168.20.2
,clock_source=external,time_source=external"
;
}
);
...
...
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