Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
e8848e07
Commit
e8848e07
authored
Oct 04, 2023
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
92edc976
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
621 additions
and
48 deletions
+621
-48
software/ors-amarisoft/config/enb.cfg
software/ors-amarisoft/config/enb.cfg
+585
-9
software/ors-amarisoft/config/ue.cfg
software/ors-amarisoft/config/ue.cfg
+3
-3
software/ors-amarisoft/config/ue.jinja2.cfg
software/ors-amarisoft/config/ue.jinja2.cfg
+2
-2
software/ors-amarisoft/slapos-render-config.py
software/ors-amarisoft/slapos-render-config.py
+31
-34
No files found.
software/ors-amarisoft/config/enb.cfg
View file @
e8848e07
This diff is collapsed.
Click to expand it.
software/ors-amarisoft/config/ue.cfg
View file @
e8848e07
...
...
@@ -2,7 +2,7 @@
log_options: "all.level=error,all.max_size=0,nas.level=debug,nas.max_size=1,rrc.level=debug,rrc.max_size=1,phy.level=info,file.rotate=1G,file.path=/dev/null",
log_filename: "log/ue.log",
rue_bind_addr: "::1",
//
rue_bind_addr: "::1",
com_addr: "[::1]:9002",
...
...
@@ -12,7 +12,7 @@
name: "sdr",
// _UCELL1_ru 1T1R
// _UCELL2_ru 1T1R
args: "dev0=/dev/sdr
0,dev1=/dev/sdr2
",
args: "dev0=/dev/sdr
4,dev1=/dev/sdr6
",
rx_antenna:"tx_rx",
tdd_tx_mod: 1,
},
...
...
@@ -74,7 +74,7 @@
impi: "",
imsi: "001010123456789",
K: "00112233445566778899aabbccddeeff",
rue_addr: "host1",
//
rue_addr: "host1",
ue_category: 12,
tun_setup_script: "ue-ifup",
apn: "internet",
...
...
software/ors-amarisoft/config/ue.jinja2.cfg
View file @
e8848e07
...
...
@@ -36,7 +36,7 @@
log_options: "all.level=error,all.max_size=0,nas.level=debug,nas.max_size=1,rrc.level=debug,rrc.max_size=1,phy.level=info,file.rotate=1G,file.path=/dev/null",
log_filename: "{{ directory['log'] }}/ue.log",
rue_bind_addr: "{{ pub_info['rue_bind_addr'] }}",
//
rue_bind_addr: "{{ pub_info['rue_bind_addr'] }}",
com_addr: "{{ pub_info['com_addr'] }}",
{# instantiate radio units #}
...
...
@@ -116,7 +116,7 @@
impi: "{{ ue.impi }}",
imsi: "{{ ue.imsi }}",
K: "{{ ue.k }}",
rue_addr: "{{ ue.rue_addr }}",
//
rue_addr: "{{ ue.rue_addr }}",
{%- if ue.ue_type == 'lte' %}
ue_category: 12,
{%- elif ue.ue_type == 'nr' %}
...
...
software/ors-amarisoft/slapos-render-config.py
View file @
e8848e07
...
...
@@ -235,38 +235,35 @@ def iRU2_LOPCOMM_fLTE2(ienb):
# RU_0004['mac_addr'] = 'YYY'
RU_0004
[
'cpri_link'
][
'sfp_port'
]
=
1
ienb
.
ishared
(
'Radio Unit 2a'
,
'_RU_0002'
,
RU_0002
)
# ienb.ishared('Radio Unit 2b', '_RU_0004', RU_0004)
#"""
ienb
.
ishared
(
'Cell 2'
,
'_CELL2'
,
{
'cell_type'
:
'lte'
,
'rf_mode'
:
'fdd'
,
'bandwidth'
:
'20 MHz'
,
'dl_earfcn'
:
100
,
# 2120 MHz @ B1
'pci'
:
21
,
'cell_id'
:
'0x21'
,
'ru'
:
{
'ru_type'
:
'ru_ref'
,
'ru_ref'
:
'RU_0002'
}
})
#"""
"""
ienb.ishared('Cell 4', '_CELL4', {
'cell_type': 'lte',
'rf_mode': 'fdd',
'bandwidth': '20 MHz',
'dl_earfcn': 500, # 2160 MHz @ B1
'pci': 22,
'cell_id': '0x22',
'ru': {
'ru_type': 'ru_ref',
'ru_ref': 'RU_0004'
}
})
"""
if
1
:
ienb
.
ishared
(
'Radio Unit 2a'
,
'_RU_0002'
,
RU_0002
)
ienb
.
ishared
(
'Cell 2'
,
'_CELL2'
,
{
'cell_type'
:
'lte'
,
'rf_mode'
:
'fdd'
,
'bandwidth'
:
'20 MHz'
,
'dl_earfcn'
:
100
,
# 2120 MHz @ B1
'pci'
:
21
,
'cell_id'
:
'0x21'
,
'ru'
:
{
'ru_type'
:
'ru_ref'
,
'ru_ref'
:
'RU_0002'
}
})
if
1
:
ienb
.
ishared
(
'Radio Unit 2b'
,
'_RU_0004'
,
RU_0004
)
ienb
.
ishared
(
'Cell 4'
,
'_CELL4'
,
{
'cell_type'
:
'lte'
,
'rf_mode'
:
'fdd'
,
'bandwidth'
:
'20 MHz'
,
'dl_earfcn'
:
500
,
# 2160 MHz @ B1
'pci'
:
22
,
'cell_id'
:
'0x22'
,
'ru'
:
{
'ru_type'
:
'ru_ref'
,
'ru_ref'
:
'RU_0004'
}
})
def
do_enb
():
ienb
=
Instance
(
'enb'
)
...
...
@@ -310,7 +307,7 @@ def do_ue():
'ru'
:
{
'ru_type'
:
'sdr'
,
'ru_link_type'
:
'sdr'
,
'sdr_dev_list'
:
[
0
],
'sdr_dev_list'
:
[
4
],
'n_antenna_dl'
:
1
,
'n_antenna_ul'
:
1
,
'tx_gain'
:
60
,
...
...
@@ -325,7 +322,7 @@ def do_ue():
'ru'
:
{
# NOTE contrary to eNB UEsim cannot share one RU in between several cells
'ru_type'
:
'sdr'
,
'ru_link_type'
:
'sdr'
,
'sdr_dev_list'
:
[
2
],
'sdr_dev_list'
:
[
6
],
'n_antenna_dl'
:
1
,
'n_antenna_ul'
:
1
,
'tx_gain'
:
60
,
...
...
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