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
Branches
Tags
1 merge request!161Merge the latest changes in v1.0.x into develop
...@@ -41,10 +41,8 @@ trunks: ...@@ -41,10 +41,8 @@ trunks:
common: common:
description: "{{ wfo_trunk.iptrunk.iptrunk_description }}" description: "{{ wfo_trunk.iptrunk.iptrunk_description }}"
speed: "{{ wfo_trunk.iptrunk.iptrunk_speed }}" speed: "{{ wfo_trunk.iptrunk.iptrunk_speed }}"
# is_leased_line: false ## Fix it to use iptrunk_type
isis_metric: "{{ wfo_trunk.iptrunk.iptrunk_isis_metric }}" isis_metric: "{{ wfo_trunk.iptrunk.iptrunk_isis_metric }}"
# minimum_links: "{{ wfo_trunk.iptrunk.iptrunk_minimum_links }}" minimum_links: "{{ wfo_trunk.iptrunk.iptrunk_minimum_links }}"
minimum_links: "{{ wfo_trunk.iptrunk.iptrunk_sides[0].iptrunk_side_ae_members | length - 1 }}"
trunk_type: "{{ wfo_trunk.iptrunk.iptrunk_type }}" trunk_type: "{{ wfo_trunk.iptrunk.iptrunk_type }}"
nodeA: nodeA:
name: "{{ wfo_trunk.iptrunk.iptrunk_sides[0].iptrunk_side_node.router_fqdn }}" 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