Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
106
Merge Requests
106
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
bebdca2c
Commit
bebdca2c
authored
Nov 21, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
3b4dc6a7
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
15 additions
and
15 deletions
+15
-15
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+2
-2
software/ors-amarisoft/config/enb.jinja2.cfg
software/ors-amarisoft/config/enb.jinja2.cfg
+3
-3
software/ors-amarisoft/config/ue.jinja2.cfg
software/ors-amarisoft/config/ue.jinja2.cfg
+1
-1
software/ors-amarisoft/instance-enb.jinja2.cfg
software/ors-amarisoft/instance-enb.jinja2.cfg
+2
-2
software/ors-amarisoft/instance-ue.jinja2.cfg
software/ors-amarisoft/instance-ue.jinja2.cfg
+1
-1
software/ors-amarisoft/instance.cfg
software/ors-amarisoft/instance.cfg
+2
-2
software/ors-amarisoft/ru/libinstance.jinja2.cfg
software/ors-amarisoft/ru/libinstance.jinja2.cfg
+2
-2
software/ors-amarisoft/slapos-render-config.py
software/ors-amarisoft/slapos-render-config.py
+1
-1
software/ors-amarisoft/software-base.cfg
software/ors-amarisoft/software-base.cfg
+1
-1
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
bebdca2c
...
...
@@ -18,8 +18,8 @@
filename = instance.cfg
md5sum = e97c99f90b5f3aaa1c2ee9c62857851a
[
amari_slap
.jinja2]
_update_hash_filename_ =
amari/slap
.jinja2
[
slaplte
.jinja2]
_update_hash_filename_ =
slaplte
.jinja2
md5sum = 4fae7413d143b6c9b1734ffbe5c8e94b
[ru_libinstance.jinja2.cfg]
...
...
software/ors-amarisoft/config/enb.jinja2.cfg
View file @
bebdca2c
...
...
@@ -248,11 +248,11 @@
// tune LTE parameters for the cell
{%- set tdd = (cell.rf_mode == 'tdd') %}
{%- if tdd %}
uldl_config: {{
lte.
cell_tdd_config(cell) }},
uldl_config: {{ cell_tdd_config(cell) }},
sp_config: 7,
{%- endif %}
{%- set n_rb_dl =
lte.
cell_n_rb_dl(cell) %}
{%- set n_rb_dl = cell_n_rb_dl(cell) %}
n_rb_dl: {{ n_rb_dl }},
si_coderate: {{ 0.30 if n_rb_dl == 6 else 0.20 }},
...
...
@@ -496,7 +496,7 @@
{%- endif %}
{%- set tdd = (cell.rf_mode == 'tdd') %}
{%- set tdd_config =
lte.
nr_cell_tdd_config(cell) if tdd else None %},
{%- set tdd_config = nr_cell_tdd_config(cell) if tdd else None %},
{% if tdd_config == 1 %}
tdd_ul_dl_config: {
...
...
software/ors-amarisoft/config/ue.jinja2.cfg
View file @
bebdca2c
{%- import '
amari_slap
.jinja2' as slaplte with context %}
{%- import '
slaplte
.jinja2' as slaplte with context %}
{%- set J = slaplte.J %}
{%- set jcell_ru_ref = slaplte.jcell_ru_ref %}
...
...
software/ors-amarisoft/instance-enb.jinja2.cfg
View file @
bebdca2c
...
...
@@ -33,7 +33,7 @@ develop-eggs-directory = {{ develop_eggs_directory }}
offline = true
{%- set icell_kind='enb' %}
{%- import '
amari_slap.jinja2'
as slaplte with context %}
{%- import '
slaplte.jinja2'
as slaplte with context %}
{%- import 'ru_libinstance.jinja2.cfg' as rulib with context %}
{%- set ipeercell_dict = {} %}
{%- do slaplte.load_ipeercell(ipeercell_dict) %}
...
...
@@ -358,7 +358,7 @@ extra-context =
json ipeercell_dict {{ ipeercell_dict | tojson }}
import json_module json
import-list =
rawfile
amari_slap.jinja2 {{ amari_slap
_template }}
rawfile
slaplte.jinja2 {{ slaplte
_template }}
[publish-connection-information]
...
...
software/ors-amarisoft/instance-ue.jinja2.cfg
View file @
bebdca2c
...
...
@@ -13,7 +13,7 @@ develop-eggs-directory = {{ develop_eggs_directory }}
offline = true
{%- set icell_kind='ue' %}
{%- import '
amari_slap.jinja2'
as slaplte with context %}
{%- import '
slaplte.jinja2'
as slaplte with context %}
{%- import 'ru_libinstance.jinja2.cfg' as rulib with context %}
{%- do slaplte.check_loaded_everything() %}
...
...
software/ors-amarisoft/instance.cfg
View file @
bebdca2c
...
...
@@ -38,7 +38,7 @@ context =
key lan_ipv4 lan-ip:ipv4
$${:extra-context}
import-list =
rawfile
amari_slap.jinja2 ${amari_slap
.jinja2:target}
rawfile
slaplte.jinja2 ${slaplte
.jinja2:target}
rawfile ru_libinstance.jinja2.cfg ${ru_libinstance.jinja2.cfg:target}
rawfile ru_sdr_libinstance.jinja2.cfg ${ru_sdr_libinstance.jinja2.cfg:target}
rawfile ru_lopcomm_libinstance.jinja2.cfg ${ru_lopcomm_libinstance.jinja2.cfg:target}
...
...
@@ -294,7 +294,7 @@ extra-context =
key enb amarisoft:enb
key sdr amarisoft:sdr
raw enb_template ${enb.jinja2.cfg:target}
raw
amari_slap_template ${amari_slap
.jinja2:target}
raw
slaplte_template ${slaplte
.jinja2:target}
raw drb_lte_template ${drb_lte.jinja2.cfg:target}
raw drb_nr_template ${drb_nr.jinja2.cfg:target}
raw sib23_template ${sib23.jinja2.asn:target}
...
...
software/ors-amarisoft/ru/libinstance.jinja2.cfg
View file @
bebdca2c
...
...
@@ -5,9 +5,9 @@
importing, use buildout() macro to emit instance-level code to
handle configured RUs and cells.
NOTE: before importing package
amari_slap
.jinja2 needs to already loaded as
NOTE: before importing package
slaplte
.jinja2 needs to already loaded as
{%- import '
amari_slap
.jinja2' as slaplte with context %}
{%- import '
slaplte
.jinja2' as slaplte with context %}
NOTE: driver-specific logic is implemented in rudrv.buildout_iru() .
#}
...
...
software/ors-amarisoft/slapos-render-config.py
View file @
bebdca2c
...
...
@@ -27,7 +27,7 @@ def j2render(src, out, jcfg):
'output'
:
'config/out/{}'
.
format
(
out
),
'context'
:
textctx
,
'import-list'
:
'''
rawfile
amari_slap.jinja2 amari/slap
.jinja2'''
,
rawfile
slaplte.jinja2 slaplte
.jinja2'''
,
})
# avoid dependency on zc.buildout.download and the need to use non-stub buildout section
...
...
software/ors-amarisoft/software-base.cfg
View file @
bebdca2c
...
...
@@ -135,7 +135,7 @@ destination = ${buildout:directory}/gadget/${:_buildout_section_name_}
[ue.jinja2.cfg]
<= copy-config-to-instance
[
amari_slap
.jinja2]
[
slaplte
.jinja2]
<= download-base
...
...
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