Commit 82143f17 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d4eec0b9
...@@ -116,7 +116,7 @@ ...@@ -116,7 +116,7 @@
{#- inject peer cells synthesized from ORS-specific parameters #} {#- inject peer cells synthesized from ORS-specific parameters #}
{%- for k, ncell in slapparameter_dict.ncell_list|dictsort %} {%- for k, ncell in slapparameter_dict.ncell_list|dictsort %}
{%- set peercell = {'cell_kind': 'enb_peer'} %} {%- set peercell = {'cell_kind': 'enb_peer'} %}
{%- macro param1(name, default) %} {%- macro _(name, default) %}
{%- if default is defined %} {%- if default is defined %}
{%- do peercell.update({name: default}) %} {%- do peercell.update({name: default}) %}
{%- endif %} {%- endif %}
...@@ -130,18 +130,18 @@ ...@@ -130,18 +130,18 @@
{%- if 'cell_id' in ncell %} {%- if 'cell_id' in ncell %}
{%- do peercell.update({'e_cell_id': ncell.cell_id) %} {%- do peercell.update({'e_cell_id': ncell.cell_id) %}
{%- endif %} {%- endif %}
{%- do param1('pci') %} {%- do _('pci') %}
{%- do param1('dl_earfcn') %} {%- do _('dl_earfcn') %}
{%- do param1('tac', '0x0001') %} {%- do _('tac', '0x0001') %}
{%- elif enb_mode == 'gnb' %} {%- elif enb_mode == 'gnb' %}
{%- do peercell.update({'cell_type': 'nr'}) %} {%- do peercell.update({'cell_type': 'nr'}) %}
{%- do param1('nr_cell_id') %} {%- do _('nr_cell_id') %}
{%- do param1('gnb_id_bits') %} {%- do _('gnb_id_bits') %}
{%- do param1('pci') %} {%- do _('pci') %}
{%- do param1('dl_nr_arfcn') %} {%- do _('dl_nr_arfcn') %}
{%- do param1('ssb_nr_arfcn') %} {%- do _('ssb_nr_arfcn') %}
{%- do param1('tac', '0x0001') %} {%- do _('tac', '0x0001') %}
{%- do param1('nr_band') %} {%- do _('nr_band') %}
{%- endif %} {%- endif %}
{%- do ishared_list.append({ {%- do ishared_list.append({
'slave_title': '%s_PEERCELL%s' % (slap_configuration['slap-computer-partition-id'], k), 'slave_title': '%s_PEERCELL%s' % (slap_configuration['slap-computer-partition-id'], k),
......
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