Commit 2be083c5 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent e83afa5a
...@@ -112,12 +112,22 @@ ...@@ -112,12 +112,22 @@
# XXX also translate peers to ishared ? # XXX also translate peers to ishared ?
{#- replace enb_config_link with gnb_config_link if ORS is running in gnb mode #} {#- backward compatibility: if ORS is running in gnb mode, and gnb_* parameters
are present, replace their generic enb_* counterparts with gnb_* ones #}
{%- if enb_mode == 'gnb' %} {%- if enb_mode == 'gnb' %}
{%- slapparameter_dict.update({ {%- set _ = slapparameter_dict %}
'enb_config_link': slapparameter_dict.get("gnb_config_link"), {%- if 'gnb_config_link' in _ %}
'enb_config_version': slapparameter_dict.get("gnb_config_version"), {%- do _.update({
}) %} 'enb_config_link': _.gnb_config_link,
'enb_config_version': _.get('gnb_config_version'),
}) %}
{%- endif %}
{%- if 'gnb_stats_fetch_period' in _ %}
{%- do _.update({'enb_stats_fetch_period': _.gnb_stats_fetch_period}) %}
{%- endif %}
{%- if 'gnb_drb_stats_enabled' in _ %}
{%- do _.update({'enb_drb_stats_enabled': _.gnb_drb_stats_enabled}) %}
{%- endif %}
{%- endif %} {%- endif %}
......
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