Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/module/isis.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ These platforms support additional IS-IS features:
| Cisco IOS XR[^XR] | ✅ | ✅ | ✅ |
| Cisco Nexus OS | ✅ | ❌ | ❌ |
| FRR | ✅ | ✅ | ✅ |
| Junos[^Junos] | ✅ | | ❌ |
| Junos[^Junos] | ✅ | | ❌ |
| Nokia SR Linux | ✅ | ✅ [❗](caveats-srlinux) | ✅ |
| Nokia SR OS[^SROS] | ✅ | ✅ [❗](caveats-sros) | ✅ |

Expand Down
10 changes: 10 additions & 0 deletions netsim/ansible/templates/isis/junos.isis.j2
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
{% endfor %}
{% endmacro %}

{% import "templates/routing/junos/redistribute.j2" as redistribute with context %}
{% if isis.import is defined %}
{{ redistribute.policy('isis','',isis) }}
{% endif %}

protocols {
delete: isis;
}
Expand All @@ -14,6 +19,11 @@ protocols {
ipv6-unicast;
}
{% endif %}
{% if isis.import is defined %}
{# configure IS-IS route redistribution policy #}
export {{ 'default' }}-isis-export;
{% endif %}

{{ disable_level(isis.type) }}
level 1 wide-metrics-only;
level 2 wide-metrics-only;
Expand Down
1 change: 0 additions & 1 deletion netsim/ansible/templates/isis/junos.j2
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{# Regular Junos devices need IS-IS configuration and ISO family on Ethernet interfaces #}
{% include 'junos.isis.j2' %}

interfaces {
{% for l in interfaces|default([]) if 'isis' in l %}
{{ l.ifname }} {
Expand Down
1 change: 1 addition & 0 deletions netsim/devices/junos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ features:
protocol: [ anycast, vrrp ]
isis:
circuit_type: true
import: [ bgp, ospf, connected, static ]
unnumbered:
ipv4: true
ipv6: true
Expand Down
Loading