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

`iptrunk` - change minimum_links var

The `minimum_links` only should come from GSO.
parent db48bb36
No related branches found
No related tags found
1 merge request!161Merge the latest changes in v1.0.x into develop
......@@ -41,10 +41,8 @@ trunks:
common:
description: "{{ wfo_trunk.iptrunk.iptrunk_description }}"
speed: "{{ wfo_trunk.iptrunk.iptrunk_speed }}"
# is_leased_line: false ## Fix it to use iptrunk_type
isis_metric: "{{ wfo_trunk.iptrunk.iptrunk_isis_metric }}"
# minimum_links: "{{ wfo_trunk.iptrunk.iptrunk_minimum_links }}"
minimum_links: "{{ wfo_trunk.iptrunk.iptrunk_sides[0].iptrunk_side_ae_members | length - 1 }}"
minimum_links: "{{ wfo_trunk.iptrunk.iptrunk_minimum_links }}"
trunk_type: "{{ wfo_trunk.iptrunk.iptrunk_type }}"
nodeA:
name: "{{ wfo_trunk.iptrunk.iptrunk_sides[0].iptrunk_side_node.router_fqdn }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment