Commit 729535f5 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 98f97ef8
......@@ -30,11 +30,14 @@
[{{ name }}]
{%- endmacro %}
{#- promise emits new buildout section for a promise #}
{%- macro promise(name) %}
{#- promise emits new buildout section for a promise #}
{%- macro promise(name) %}
{#- show in monitor RU1-... instead of COMP-ENB/RU1- #}
{%- root = slap_configuration.instance_title %}
{%- set pretty_name = name.removesuffix('%s/' % root) %}
{{ part('promise-'+name) }}
<= monitor-promise-base
name = {{ name }}.py
name = {{ pretty_name }}.py
config-testing = {{ slapparameter_dict.get("testing", False) }}
{%- 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