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
2d2a9b21
Commit
2d2a9b21
authored
Oct 18, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
4c9f8083
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
14 deletions
+13
-14
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+4
-4
software/ors-amarisoft/ru/lopcomm/cu_config.jinja2.xml
software/ors-amarisoft/ru/lopcomm/cu_config.jinja2.xml
+5
-5
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
+4
-5
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
2d2a9b21
...
...
@@ -32,15 +32,15 @@ md5sum = 69bd174aaf604029f06e7f32791c35f6
[ru_sdr_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sdr/libinstance.jinja2.cfg
md5sum =
e27ebe0ff200a3e4492412f164ca9b73
md5sum =
7cd5331db13a8a901cb1b55a4596cf50
[ru_lopcomm_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/lopcomm/libinstance.jinja2.cfg
md5sum =
3a83b8c04a04e07ebd9d0d3847c62726
md5sum =
af0e3e3e991e19080bdc90e4fbde5975
[ru_sunwave_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sunwave/libinstance.jinja2.cfg
md5sum =
d41d8cd98f00b204e9800998ecf8427e
md5sum =
e291dd9197e16f1af955a40f03d4ddb5
[amarisoft-stats.jinja2.py]
_update_hash_filename_ = amarisoft-stats.jinja2.py
...
...
@@ -140,7 +140,7 @@ md5sum = e435990eb0a0d4be41efa9bd16dce09b
[ru_lopcomm_cu_config.jinja2.xml]
_update_hash_filename_ = ru/lopcomm/cu_config.jinja2.xml
md5sum =
9f8b1b6e3a891c3cf10c88bd591391f6
md5sum =
c9ba974fd94ffacd8d72144c950fdf9a
[software.cfg.html]
_update_hash_filename_ = gadget/software.cfg.html
...
...
software/ors-amarisoft/ru/lopcomm/cu_config.jinja2.xml
View file @
2d2a9b21
...
...
@@ -91,15 +91,15 @@
<!-- XXX error with "TODO" do not support multiple cells over 1 RU -->
{%- if cell.cell_type == 'lte' %}
{%- set dl_arfcn = cell.dl_earfcn %}
{%- set ul_arfcn = cell.ul_earfc
b
%}
{%- set dl_freq = earfcn
.frequency(dl_arfcn) * 1e6
%}
{%- set ul_freq = earfcn
.frequency(ul_arfcn) * 1e6
%}
{%- set ul_arfcn = cell.ul_earfc
n
%}
{%- set dl_freq = earfcn
_module.frequency(dl_arfcn) * 1e6
%}
{%- set ul_freq = earfcn
_module.frequency(ul_arfcn) * 1e6
%}
{%- set bw = int(float(cell.bandwidth.removesuffix(' MHz')) * 1e6) %}
{%- elif cell.cell_type == 'nr' %}
{%- set dl_arfcn = cell.dl_nr_arfcn %}
{%- set ul_arfcn = cell.ul_nr_arfcn %}
{%- set dl_freq = nrarfcn
.get_frequency(dl_arfcn) * 1e6
%}
{%- set ul_freq = nrarfcn
.get_frequency(ul_arfcn) * 1e6
%}
{%- set dl_freq = nrarfcn
_module.get_frequency(dl_arfcn) * 1e6
%}
{%- set ul_freq = nrarfcn
_module.get_frequency(ul_arfcn) * 1e6
%}
{%- set bw = int(cell.bandwidth * 1e6) %}
{%- else %}
{%- do bug('unreachable') %}
...
...
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
View file @
2d2a9b21
...
...
@@ -3,15 +3,12 @@
{%- macro buildout_iru(iru, icell_list) %}
{%- set ru_ref = J(jref_of_shared(iru)) %}
{%- set ru = iru['_'] %}
{%- do assert(False, ru_ref) %}
{#
{%- if len(icell_list) != 1 %}
{%- do error('ru/lopcomm supports only 1 cell %}
{%- do error('ru/lopcomm supports only 1 cell
')
%}
{%- endif %}
{%- set icell = icell_list[0] %}
{%- set cell = icell._ %}
#}
{%- set cell = icell['_'] %}
{#- indicate whether RU is listening for netconf #}
...
...
@@ -109,6 +106,8 @@ url = {{ ru_lopcomm_cu_config_template }}
{% endif %}
output = ${directory:etc}/{{ru_ref}}-cu_config.xml
extra-context =
import earfcn_module xlte.earfcn
import nrarfcn_module nrarfcn
json ru {{ ru | tojson }}
json cell {{ cell | tojson }}
...
...
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