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

Corrected Nokia port-threshold

SROS port-threshold is not equal to min-links
It is a value at which an action is taken, i.e. (min-links - 1).
E.g. AE min-links is set to 2 in Junos, then in SROS port-threshold must be 1 to achieve the same behaviour.
parent 5e6723f0
No related branches found
No related tags found
1 merge request!124Corrected Nokia port-threshold
Pipeline #85997 passed
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
{% endfor %} {% endfor %}
{% if (common.minimum_links | int) > 1 %} {% if (common.minimum_links | int) > 1 %}
<port-threshold> <port-threshold>
<value>{{ common.minimum_links }}</value> <value>{{ (common.minimum_links | int) - 1 }}</value>
<action>down</action> <action>down</action>
</port-threshold> </port-threshold>
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment