Commit 3a0caf1f authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent ec228bbc
...@@ -8,13 +8,25 @@ ...@@ -8,13 +8,25 @@
{# XXX test promises #} {# XXX test promises #}
{%- macro buildout() %} {%- macro buildout() %}
{%- set parts_list = [] %}
{%- macro part(name) %}
{%- do parts_list.append(name) %}
[{{ name }}]
{%- endmacro %}
{%- for ru_ref, iru in iru_dict|dictsort %} {%- for ru_ref, iru in iru_dict|dictsort %}
{%- 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
[ru-{{ru_ref}}-XXX] {{ part('ru-%s-XXX' % ru_ref }}
<= 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 }}
{%- endfor %} {%- endfor %}
[buildout]
parts +=
{%- for part in parts_list %}
{{ part }}
{%- endfor %}
{%- endmacro %} {%- endmacro %}
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