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
1815c641
Commit
1815c641
authored
Sep 29, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
389afd77
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
4 deletions
+39
-4
software/ors-amarisoft/config/enb.jinja2.cfg
software/ors-amarisoft/config/enb.jinja2.cfg
+1
-1
software/ors-amarisoft/config/ue.jinja2.cfg
software/ors-amarisoft/config/ue.jinja2.cfg
+1
-1
software/ors-amarisoft/slapos-render-config.py
software/ors-amarisoft/slapos-render-config.py
+34
-2
software/ors-amarisoft/ue/cell/input-schema.json
software/ors-amarisoft/ue/cell/input-schema.json
+3
-0
No files found.
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
1815c641
...
...
@@ -399,7 +399,7 @@
dl_nr_arfcn: {{ cell.dl_nr_arfcn }},
bandwidth: {{ cell.bandwidth }},
subcarrier_spacing: {{ 30 if
ru
.rf_mode == 'tdd' else 15 }},
subcarrier_spacing: {{ 30 if
cell
.rf_mode == 'tdd' else 15 }},
ssb_nr_arfcn: {{ cell.get('ssb_nr_arfcn', lte.default_ssb_nr_arfcn(cell.dl_nr_arfcn)) }},
ssb_pos_bitmap: {{ cell.ssb_pos_bitmap }},
...
...
software/ors-amarisoft/config/ue.jinja2.cfg
View file @
1815c641
...
...
@@ -97,7 +97,7 @@
bandwidth: {{ cell.bandwidth }},
ssb_nr_arfcn: {{ cell.get('ssb_nr_arfcn', lte.default_ssb_nr_arfcn(cell.dl_nr_arfcn)) }},
subcarrier_spacing: {{ 30 if
ru
.rf_mode == 'tdd' else 15 }},
subcarrier_spacing: {{ 30 if
cell
.rf_mode == 'tdd' else 15 }},
},
{%- endif %}
{%- endfor %}
...
...
software/ors-amarisoft/slapos-render-config.py
View file @
1815c641
...
...
@@ -241,11 +241,43 @@ def do_enb():
def
do_ue
():
iue
=
Instance
(
'ue'
)
iue
.
ishared
(
'UE 1'
,
'_UE_1'
,
{
iue
.
ishared
(
'Cell 1'
,
'_UCELL1'
,
{
'ue_cell_type'
:
'lte'
,
'rf_mode'
:
'tdd'
,
'bandwidth'
:
'5 MHz'
,
'dl_earfcn'
:
38050
,
# 2600 MHz
'ru'
:
{
'ru_type'
:
'sdr'
,
'ru_link_type'
:
'sdr'
,
'sdr_dev_list'
:
[
0
],
'n_antenna_dl'
:
2
,
'n_antenna_ul'
:
1
,
'tx_gain'
:
41
,
'rx_gain'
:
42
,
}
})
iue
.
ishared
(
'Cell 2b'
,
'_UECELL2'
,
{
'ue_cell_type'
:
'nr'
,
'rf_mode'
:
'fdd'
,
'bandwidth'
:
5
,
'dl_nr_arfcn'
:
537200
,
# 2686 MHz
'nr_band'
:
7
,
'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
],
'n_antenna_dl'
:
2
,
'n_antenna_ul'
:
2
,
'tx_gain'
:
31
,
'rx_gain'
:
32
,
}
})
iue
.
ishared
(
'UE 1'
,
'_UE1'
,
{
'ue_type'
:
'lte'
,
'rue_addr'
:
'host1'
})
iue
.
ishared
(
'UE 2'
,
'_UE
_
2'
,
{
iue
.
ishared
(
'UE 2'
,
'_UE2'
,
{
'ue_type'
:
'nr'
,
'rue_addr'
:
'host2'
})
...
...
software/ors-amarisoft/ue/cell/input-schema.json
View file @
1815c641
...
...
@@ -13,6 +13,7 @@
"required"
:
[
"ue_cell_type"
,
"rf_mode"
,
"ru"
],
...
...
@@ -22,6 +23,8 @@
"options"
:
{
"hidden"
:
true
}
},
"rf_mode"
:
{
"$ref"
:
"../../cell/input-schema.json#/properties/rf_mode"
},
"ru"
:
{
"$ref"
:
"../../cell/input-schema.json#/$defs/ru-of-cell"
,
"propertyOrder"
:
9999
...
...
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