Commit fad8a534 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 6b4915b5
...@@ -8,6 +8,13 @@ ...@@ -8,6 +8,13 @@
'cell': { 'cell': {
'pci': 1, 'pci': 1,
'tac': "0x0001", 'tac': "0x0001",
},
'cpri_link': {
'mapping': 'hw',
'mult': 16,
'rx_delay': 0,
'tx_delay': 0,
'tx_dbm': 0,
} }
} }
%} %}
...@@ -55,7 +62,7 @@ ...@@ -55,7 +62,7 @@
{{- ru['ru_ref'] | tojson }} {{- ru['ru_ref'] | tojson }}
{%- elif ru['ru_type'] == 'ruincell_ref' %} {%- elif ru['ru_type'] == 'ruincell_ref' %}
{#- XXX first check referred cell exist ? #} {#- XXX first check referred cell exist ? #}
{{- _jcell_ru_ref(icell_dict[ru['ruincell_ref']], seen) }} {{- _jcell_ru_ref(icell_dict[ru['ruincell_ref']], seen) }}
{%- else %} {%- else %}
{#- ru definition is embedded into cell #} {#- ru definition is embedded into cell #}
{{- ('_%s_ru' % J(jref_of_shared(icell))) | tojson }} {{- ('_%s_ru' % J(jref_of_shared(icell))) | tojson }}
...@@ -83,8 +90,8 @@ ...@@ -83,8 +90,8 @@
iru_dict keeps RU slave instances + RU whose definition is embedded into a cell: reference -> iRU iru_dict keeps RU slave instances + RU whose definition is embedded into a cell: reference -> iRU
in the kept instances _ is automatically json-decoded in the kept instances _ is automatically json-decoded
#} #}
{%- set icell_dict = {} %} {%- set icell_dict = {} %}
{%- set iru_dict = {} %} {%- set iru_dict = {} %}
{%- for slave in slap_configuration.get('slave-instance-list', []) %} {%- for slave in slap_configuration.get('slave-instance-list', []) %}
{%- set ref = J(jref_of_shared(slave)) %} {%- set ref = J(jref_of_shared(slave)) %}
{%- set _ = J(slave['_']) %} {%- set _ = J(slave['_']) %}
......
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