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

Merge branch 'feature/nat-487-bfd' into 'develop'

bug fixes in templates

See merge request !123
parents ce619c89 8783cacb
Branches
Tags
1 merge request!123bug fixes in templates
Pipeline #85995 passed
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
local-address {{local['loopback']}}; local-address {{local['loopback']}};
} }
{% endif %} {% endif %}
{% if common.minimum_links > 1 %} {% if (common.minimum_links | int) > 1 %}
minimum-links {{common.minimum_links}}; minimum-links {{common.minimum_links}};
{% endif %} {% endif %}
{#link-speed {{common.link_speed}};#} {#link-speed {{common.link_speed}};#}
......
...@@ -57,7 +57,7 @@ ...@@ -57,7 +57,7 @@
<port-id>{{ member.interface_name }}</port-id> <port-id>{{ member.interface_name }}</port-id>
</port> </port>
{% endfor %} {% endfor %}
{% if common.minimum_links > 1 %} {% if (common.minimum_links | int) > 1 %}
<port-threshold> <port-threshold>
<value>{{ common.minimum_links }}</value> <value>{{ common.minimum_links }}</value>
<action>down</action> <action>down</action>
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<receive-interval>{{ bfd_min_interval }}</receive-interval> <receive-interval>{{ bfd_min_interval }}</receive-interval>
<transmit-interval>{{ bfd_min_interval }}</transmit-interval> <transmit-interval>{{ bfd_min_interval }}</transmit-interval>
<local-ip-address>{{ local['loopback'] }}</local-ip-address> <local-ip-address>{{ local['loopback'] }}</local-ip-address>
<remote-ip-address>>{{ remote['loopback'] }}</remote-ip-address> <remote-ip-address>{{ remote['loopback'] }}</remote-ip-address>
</ipv4> </ipv4>
</bfd-liveness> </bfd-liveness>
{% endif %} {% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment