Commit 6d219255 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent f26056f3
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
{%- do slaplte.load_iru_and_icell(iru_dict, icell_dict, icell_kind) %} {%- do slaplte.load_iru_and_icell(iru_dict, icell_dict, icell_kind) %}
{%- macro buildout() %} {%- macro buildout() %}
{%- set root = slap_configuration['instance-title'] %} {%- set root = slap_configuration['instance-title'] %}
{#- part emits new buildout section and registers it into buildout.parts #} {#- part emits new buildout section and registers it into buildout.parts #}
...@@ -132,6 +132,7 @@ output = ${directory:etc}/{{cell_ref}}-drb.cfg ...@@ -132,6 +132,7 @@ output = ${directory:etc}/{{cell_ref}}-drb.cfg
extra-context = extra-context =
json cell_ref {{ cell_ref | tojson }} json cell_ref {{ cell_ref | tojson }}
json cell {{ cell | tojson }} json cell {{ cell | tojson }}
json ru_ref {{ ru_ref | tojson }}
json ru {{ ru | tojson }} json ru {{ ru | tojson }}
{{ part('sib23-config-%s' % cell_ref) }} {{ part('sib23-config-%s' % cell_ref) }}
...@@ -141,6 +142,7 @@ output = ${directory:etc}/{{cell_ref}}-sib23.asn ...@@ -141,6 +142,7 @@ output = ${directory:etc}/{{cell_ref}}-sib23.asn
extra-context = extra-context =
json cell_ref {{ cell_ref | tojson }} json cell_ref {{ cell_ref | tojson }}
json cell {{ cell | tojson }} json cell {{ cell | tojson }}
json ru_ref {{ ru_ref | tojson }}
json ru {{ ru | tojson }} json ru {{ ru | tojson }}
{#- publish information about the cell #} {#- publish information about the cell #}
...@@ -148,7 +150,7 @@ extra-context = ...@@ -148,7 +150,7 @@ extra-context =
recipe = slapos.cookbook:publish.serialised recipe = slapos.cookbook:publish.serialised
-slave-reference = {{ icell.slave_reference }} -slave-reference = {{ icell.slave_reference }}
enb = {{ root }} enb = {{ root }}
ru = {{ J(jcell_ru_ref(icell, icell_dict)) }} ru = {{ ru_ref }}
{%- endfor %} {%- endfor %}
......
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