Commit 4bdd57e4 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 921175fa
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
{#- inject ru+cell synthesized from ORS-specific parameters #} {#- inject ru+cell synthesized from ORS-specific parameters #}
{%- do ishared_list.append({ {%- do ishared_list.append({
'slave_title': '%s_RU' % slap_configuration['slap-computer-partition-id'], 'slave_title': '%s.RU' % slap_configuration['slap-computer-partition-id'],
'slave_reference': 'XXX', 'slave_reference': 'XXX',
'_': { '_': {
'ru_type': 'sdr', 'ru_type': 'sdr',
...@@ -109,7 +109,7 @@ ...@@ -109,7 +109,7 @@
%} %}
{%- do ishared_list.append({ {%- do ishared_list.append({
'slave_title': '%s_CELL' % slap_configuration['slap-computer-partition-id'], 'slave_title': '%s.CELL' % slap_configuration['slap-computer-partition-id'],
'slave_reference': 'XXX', 'slave_reference': 'XXX',
'_': cell | tojson '_': cell | tojson
}) })
...@@ -147,7 +147,7 @@ ...@@ -147,7 +147,7 @@
{%- do _('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),
'slave_reference': 'XXX', 'slave_reference': 'XXX',
'_': peercell | tojson '_': peercell | tojson
}) })
...@@ -156,7 +156,29 @@ ...@@ -156,7 +156,29 @@
{#- inject synthesized peers #} {#- inject synthesized peers #}
{%- if enb_mode == 'lte' %}
{%- for k, peer in slapparameter_dict.x2_peers|dictsort %}
{%- do ishared_list.append({
'slave_title': '%s.X2_PEER%s' % (slap_configuration['slap-computer-partition-id'], k),
'slave_reference': 'XXX',
'_': {
'peer_type': 'nr',
'x2_addr': peer.x2_addr,
} | tojson
})
%}
{%- elif enb_mode == 'nr' %}
{%- for k, peer in slapparameter_dict.xn_peers|dictsort %} {%- for k, peer in slapparameter_dict.xn_peers|dictsort %}
{%- do ishared_list.append({
'slave_title': '%s.XN_PEER%s' % (slap_configuration['slap-computer-partition-id'], k),
'slave_reference': 'XXX',
'_': {
'peer_type': 'nr',
'xn_addr': peer.xn_addr
} | tojson
})
%}
{%- endif %}
{%- 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