Commit 2f239f8b authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 13c3d284
...@@ -28,7 +28,7 @@ md5sum = 18f1a205d55c3026cf221ef22d247695 ...@@ -28,7 +28,7 @@ md5sum = 18f1a205d55c3026cf221ef22d247695
[ru_libinstance.jinja2.cfg] [ru_libinstance.jinja2.cfg]
_update_hash_filename_ = ru/libinstance.jinja2.cfg _update_hash_filename_ = ru/libinstance.jinja2.cfg
md5sum = 98f4b675f5a8c1246fce9a175f94f8ac md5sum = 9830211860b6232aa6fddffc4e755eec
[amarisoft-stats.jinja2.py] [amarisoft-stats.jinja2.py]
_update_hash_filename_ = amarisoft-stats.jinja2.py _update_hash_filename_ = amarisoft-stats.jinja2.py
...@@ -60,7 +60,7 @@ md5sum = a2ba0343ddb7f9cf2904a4c5c751f68a ...@@ -60,7 +60,7 @@ md5sum = a2ba0343ddb7f9cf2904a4c5c751f68a
[template-enb] [template-enb]
_update_hash_filename_ = instance-enb.jinja2.cfg _update_hash_filename_ = instance-enb.jinja2.cfg
md5sum = b3c3c4f8e801bd72dd9f6098ca99f148 md5sum = 7734e40d10bfeee167a74d84b778999e
[template-gnb] [template-gnb]
_update_hash_filename_ = instance-gnb.jinja2.cfg _update_hash_filename_ = instance-gnb.jinja2.cfg
......
...@@ -41,8 +41,6 @@ parts = ...@@ -41,8 +41,6 @@ parts =
{% if slapparameter_dict.get("dnsmasq", None) %} {% if slapparameter_dict.get("dnsmasq", None) %}
dnsmasq-service dnsmasq-service
{% endif %} {% endif %}
# XXX -> trx_sdr XXX applies to both SDR and CPRI
check-sdr-busy.py
check-baseband-latency.py check-baseband-latency.py
check-amarisoft-stats-log.py check-amarisoft-stats-log.py
...@@ -581,13 +579,6 @@ password = {{ slapparameter_dict['monitor-password'] | string }} ...@@ -581,13 +579,6 @@ password = {{ slapparameter_dict['monitor-password'] | string }}
<= monitor-promise-base <= monitor-promise-base
name = ${:_buildout_section_name_} name = ${:_buildout_section_name_}
# XXX -> trx_sdr ?
[check-sdr-busy.py]
<= macro.promise
promise = check_sdr_busy
config-testing = {{ slapparameter_dict.get("testing", False) }}
config-sdr = {{ sdr }}
[check-baseband-latency.py] [check-baseband-latency.py]
<= macro.promise <= macro.promise
promise = check_baseband_latency promise = check_baseband_latency
......
...@@ -26,11 +26,27 @@ ...@@ -26,11 +26,27 @@
{%- set ru = iru['_'] %} {%- set ru = iru['_'] %}
# {{ ru_ref }} {{ ru.n_antenna_dl }}T{{ ru.n_antenna_ul }}R XXX + ru arg # {{ ru_ref }} {{ ru.n_antenna_dl }}T{{ ru.n_antenna_ul }}R XXX + ru arg
{{ part('ru-%s-XXX.py' % ru_ref) }} {%- if ru.ru_link_type == 'sdr' %}
{%- for (i, n) in enumerate(ru.sdr_dev_list) %}
{{ part('%s-check-sdr-busy%s.py' % (ru_ref, '-%d' % (i+1) if i > 0 else '')) }}
<= macro.promise <= macro.promise
promise = check_sdr_busy promise = check_sdr_busy
config-testing = {{ slapparameter_dict.get("testing", False) }} config-testing = {{ slapparameter_dict.get("testing", False) }}
config-sdr = {{ sdr }} config-sdr = {{ sdr }}
config-sdr_dev = {{ n }}
config-dma_chan = 0
{%- endfor %}
{%- elif ru.ru_link_type == 'cpri' %}
{{ part('%s-check-sdr-busy.py' % ru_ref) }}
<= macro.promise
promise = check_sdr_busy
config-testing = {{ slapparameter_dict.get("testing", False) }}
config-sdr = {{ sdr }}
config-sdr_dev = {{ ru.cpri_link.sdr_dev }}
config-dma_chan = {{ ru.cpri_link.sfp_port }}
{%- else %}
{%- do bug('unreachable') %}
{%- endif %}
{%- endfor %} {%- endfor %}
[buildout] [buildout]
......
...@@ -210,6 +210,8 @@ recipe = slapos.recipe.build:gitclone ...@@ -210,6 +210,8 @@ recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/kirr/xlte.git repository = https://lab.nexedi.com/kirr/xlte.git
revision = e716ab51 revision = e716ab51
git-executable = ${git:location}/bin/git git-executable = ${git:location}/bin/git
# XXX temp (speedup build)
develop = true
[xlte] [xlte]
recipe = zc.recipe.egg:develop recipe = zc.recipe.egg:develop
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment