diff --git a/netsim/ansible/templates/isis/junos.j2 b/netsim/ansible/templates/isis/junos.j2 index 74a2e6e93..d1695b1c7 100644 --- a/netsim/ansible/templates/isis/junos.j2 +++ b/netsim/ansible/templates/isis/junos.j2 @@ -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 }} {