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
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
Lu Xu
slapos
Commits
4c9f8083
Commit
4c9f8083
authored
Oct 18, 2023
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
f8f4ed96
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
14 additions
and
7 deletions
+14
-7
software/ors-amarisoft/buildout.hash.cfg
software/ors-amarisoft/buildout.hash.cfg
+2
-2
software/ors-amarisoft/instance-enb.jinja2.cfg
software/ors-amarisoft/instance-enb.jinja2.cfg
+1
-1
software/ors-amarisoft/ru/libinstance.jinja2.cfg
software/ors-amarisoft/ru/libinstance.jinja2.cfg
+1
-0
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
+4
-3
software/ors-amarisoft/ru/sdr/libinstance.jinja2.cfg
software/ors-amarisoft/ru/sdr/libinstance.jinja2.cfg
+1
-1
software/ors-amarisoft/ru/sunwave/libinstance.jinja2.cfg
software/ors-amarisoft/ru/sunwave/libinstance.jinja2.cfg
+5
-0
No files found.
software/ors-amarisoft/buildout.hash.cfg
View file @
4c9f8083
...
@@ -28,7 +28,7 @@ md5sum = c30fa5e9843212f94ae595d8394ac6b8
...
@@ -28,7 +28,7 @@ md5sum = c30fa5e9843212f94ae595d8394ac6b8
[ru_libinstance.jinja2.cfg]
[ru_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/libinstance.jinja2.cfg
_update_hash_filename_ = ru/libinstance.jinja2.cfg
md5sum = 6
8965d542b31ac67d91aba6b3ad1f471
md5sum = 6
9bd174aaf604029f06e7f32791c35f6
[ru_sdr_libinstance.jinja2.cfg]
[ru_sdr_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sdr/libinstance.jinja2.cfg
_update_hash_filename_ = ru/sdr/libinstance.jinja2.cfg
...
@@ -36,7 +36,7 @@ md5sum = e27ebe0ff200a3e4492412f164ca9b73
...
@@ -36,7 +36,7 @@ md5sum = e27ebe0ff200a3e4492412f164ca9b73
[ru_lopcomm_libinstance.jinja2.cfg]
[ru_lopcomm_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/lopcomm/libinstance.jinja2.cfg
_update_hash_filename_ = ru/lopcomm/libinstance.jinja2.cfg
md5sum =
066dbfbabdafa40b5bd71cd8251e772c
md5sum =
3a83b8c04a04e07ebd9d0d3847c62726
[ru_sunwave_libinstance.jinja2.cfg]
[ru_sunwave_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/sunwave/libinstance.jinja2.cfg
_update_hash_filename_ = ru/sunwave/libinstance.jinja2.cfg
...
...
software/ors-amarisoft/instance-enb.jinja2.cfg
View file @
4c9f8083
...
@@ -366,11 +366,11 @@ extra-context =
...
@@ -366,11 +366,11 @@ extra-context =
json iru_dict {{ rulib.iru_dict | tojson }}
json iru_dict {{ rulib.iru_dict | tojson }}
json icell_dict {{ rulib.icell_dict | tojson }}
json icell_dict {{ rulib.icell_dict | tojson }}
import json_module json
import json_module json
import earfcn_module xlte.earfcn
import-list =
import-list =
rawfile amari_lte.jinja2 {{ amari_lte_template }}
rawfile amari_lte.jinja2 {{ amari_lte_template }}
rawfile amari_slap.jinja2 {{ amari_slap_template }}
rawfile amari_slap.jinja2 {{ amari_slap_template }}
[publish-connection-information]
[publish-connection-information]
<= monitor-publish
<= monitor-publish
recipe = slapos.cookbook:publish.serialised
recipe = slapos.cookbook:publish.serialised
...
...
software/ors-amarisoft/ru/libinstance.jinja2.cfg
View file @
4c9f8083
...
@@ -41,6 +41,7 @@ config-testing = {{ slapparameter_dict.get("testing", False) }}
...
@@ -41,6 +41,7 @@ config-testing = {{ slapparameter_dict.get("testing", False) }}
{#- import RU drivers #}
{#- import RU drivers #}
{%- set J = slaplte.J %}
{%- set J = slaplte.J %}
{%- set jref_of_shared = slaplte.jref_of_shared %}
{%- set jref_of_shared = slaplte.jref_of_shared %}
{%- set jcell_ru_ref = slaplte.jcell_ru_ref %}
{%- import 'ru_sdr_libinstance.jinja2.cfg' as rudrv_sdr with context %}
{%- import 'ru_sdr_libinstance.jinja2.cfg' as rudrv_sdr with context %}
{%- import 'ru_lopcomm_libinstance.jinja2.cfg' as rudrv_lopcomm with context %}
{%- import 'ru_lopcomm_libinstance.jinja2.cfg' as rudrv_lopcomm with context %}
{%- import 'ru_sunwave_libinstance.jinja2.cfg' as rudrv_sunwave with context %}
{%- import 'ru_sunwave_libinstance.jinja2.cfg' as rudrv_sunwave with context %}
...
...
software/ors-amarisoft/ru/lopcomm/libinstance.jinja2.cfg
View file @
4c9f8083
...
@@ -3,12 +3,15 @@
...
@@ -3,12 +3,15 @@
{%- macro buildout_iru(iru, icell_list) %}
{%- macro buildout_iru(iru, icell_list) %}
{%- set ru_ref = J(jref_of_shared(iru)) %}
{%- set ru_ref = J(jref_of_shared(iru)) %}
{%- set ru = iru['_'] %}
{%- set ru = iru['_'] %}
{%- do assert(False, ru_ref) %}
{#
{%- if len(icell_list) != 1 %}
{%- if len(icell_list) != 1 %}
{%- do error('ru/lopcomm supports only 1 cell %}
{%- do error('ru/lopcomm supports only 1 cell %}
{%- endif %}
{%- endif %}
{%- set icell = icell_list[0] %}
{%- set icell = icell_list[0] %}
{%- set cell = icell['_'] %}
{%- set cell = icell._ %}
#}
{#- indicate whether RU is listening for netconf #}
{#- indicate whether RU is listening for netconf #}
...
@@ -80,7 +83,6 @@ context =
...
@@ -80,7 +83,6 @@ context =
import netaddr netaddr
import netaddr netaddr
mode = 0775
mode = 0775
url = {{ ru_lopcomm_software_template }}
url = {{ ru_lopcomm_software_template }}
# XXX -> directory:service ?
output = ${directory:script}/{{ru_ref}}-software.py
output = ${directory:script}/{{ru_ref}}-software.py
{{ promise('%s-firmware' % ru_ref) }}
{{ promise('%s-firmware' % ru_ref) }}
...
@@ -127,7 +129,6 @@ context =
...
@@ -127,7 +129,6 @@ context =
import netaddr netaddr
import netaddr netaddr
mode = 0775
mode = 0775
url = {{ ru_lopcomm_config_template }}
url = {{ ru_lopcomm_config_template }}
# XXX -> directory:service ?
output = ${directory:script}/{{ru_ref}}-config.py
output = ${directory:script}/{{ru_ref}}-config.py
{{ promise('%s-config-log' % ru_ref) }}
{{ promise('%s-config-log' % ru_ref) }}
...
...
software/ors-amarisoft/ru/sdr/libinstance.jinja2.cfg
View file @
4c9f8083
{#- Package ru/sdr/libinstance provides instance code for handling SDR Radio Units. #}
{#- Package ru/sdr/libinstance provides instance code for handling SDR Radio Units. #}
{%- macro buildout_iru(iru) %}
{%- macro buildout_iru(iru
, icell_list
) %}
{#- nothing SDR-specific #}
{#- nothing SDR-specific #}
{%- endmacro %}
{%- endmacro %}
software/ors-amarisoft/ru/sunwave/libinstance.jinja2.cfg
View file @
4c9f8083
{#- Package ru/sunwave/libinstance provides instance code for handling SunWave Radio Units. #}
{%- macro buildout_iru(iru, icell_list) %}
{#- nothing SunWave-specific #}
{%- endmacro %}
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