Skip to content
Snippets Groups Projects
Commit cedae14e authored by Aleksandr Kurbatov's avatar Aleksandr Kurbatov
Browse files

iptrunk - updated port-threshold Nokia side

Fixed var used in calculation of port-threshold in `iptrunk` role.
parent a6073759
No related branches found
No related tags found
No related merge requests found
Pipeline #89498 passed
......@@ -72,9 +72,9 @@
<port-id>{{ member.interface_name }}</port-id>
</port>
{% endfor %}
{% if (common.minimum_links | int) > 1 %}
{% if (wfo_trunk.iptrunk.iptrunk_minimum_links | int) > 1 %}
<port-threshold>
<value>{{ (common.minimum_links | int) - 1 }}</value>
<value>{{ (wfo_trunk.iptrunk.iptrunk_minimum_links | int) - 1 }}</value>
<action>down</action>
</port-threshold>
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment