Skip to content

Commit

Permalink
Junos IS-IS fixes: enable wide metrics, set IS type (#1735)
Browse files Browse the repository at this point in the history
Junos IS-IS configuration template did not set the default IS type
and used the 'transition' metrics, resulting in two integration
test failures. This commit fixes both problems.
  • Loading branch information
ipspace authored Jan 3, 2025
1 parent 7f0f1cd commit 8a19507
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions netsim/ansible/templates/isis/junos.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ protocols {
ipv6-unicast;
}
{% endif %}
{% for level in ['1','2'] if level not in isis.type|default('1-2') %}
level {{ level }} disable;
{% endfor %}
level 1 wide-metrics-only;
level 2 wide-metrics-only;
interface lo0.0;
{% for l in interfaces|default([]) if 'isis' in l %}
interface {{ l.ifname }} {
Expand Down

0 comments on commit 8a19507

Please sign in to comment.