Commit 18bb4a2b authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 60da777e
......@@ -156,11 +156,12 @@
{%- for dev, ru in ru_cpri_dict|dictsort %}
{%- do vcpri.__setitem__(dev, ru['cpri_link']) %}
{%- endfor %}
cpri_mapping: "{{ vcpri | map(attribute='mapping') | join(',') }}",
cpri_mult: "{{ vcpri | map(attribute='mult') | join(',') }}",
cpri_rx_delay: "{{ vcpri | map(attribute='rx_delay') | join(',') }}",
cpri_tx_delay: "{{ vcpri | map(attribute='tx_delay') | join(',') }}",
cpri_tx_dbm: "{{ vcpri | map(attribute='tx_dbm') | join(',') }}",
{{ print('\nvcpri:'), pprint(vcpri) }}
cpri_mapping: "{{ vcpri | map(attribute='mapping') | map('default', '') | join(',') }}",
cpri_mult: "{{ vcpri | map(attribute='mult') | map('default', '') | join(',') }}",
cpri_rx_delay: "{{ vcpri | map(attribute='rx_delay') | map('default', '') | join(',') }}",
cpri_tx_delay: "{{ vcpri | map(attribute='tx_delay') | map('default', '') | join(',') }}",
cpri_tx_dbm: "{{ vcpri | map(attribute='tx_dbm') | map('default', '') | join(',') }}",
{%- set tap_base = slap_configuration.get('tap-name', '') %}
{%- set vtap = ['']*len(dev_argv) %}
{%- for i, (dev, _) in enumerate(ru_cpri_dict|dictsort) %}
......
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