Skip to content
Snippets Groups Projects
Commit 47687ce1 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 05202a7f
Branches
Tags
1 merge request!161Merge the latest changes in v1.0.x into develop
......@@ -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