Skip to content

Commit a391fef

Browse files
authored
Implement IS-IS circuit type on ASAv and IOS-XR (ipspace#2602)
1 parent f62ca9f commit a391fef

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

docs/module/isis.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,9 @@ The following table describes per-platform support of individual IS-IS features:
3131
| Operating system | IS type | Circuit<br>type | IPv6<br>AF | Multi<br>topology |
3232
|------------------- | :-: | :-: | :-: | :-: |
3333
| Arista EOS |||||
34-
| Cisco ASAv || |||
34+
| Cisco ASAv || |||
3535
| Cisco IOS/XE[^18v] |||||
36-
| Cisco IOS XRv || |||
36+
| Cisco IOS XRv || |||
3737
| Cisco Nexus OS |||||
3838
| FRR |||||
3939
| Junos[^Junos] |||||

netsim/ansible/templates/isis/asa.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ interface {{ l.ifname }}
2424
{% if 'ipv6' in l and 'ipv6' in isis.af %}
2525
ipv6 router isis
2626
{% endif %}
27+
{% if l.isis.type|default(False) %}
28+
isis circuit-type {{ l.isis.type }}
29+
{% endif %}
2730
{% if l.isis.cost is defined or l.isis.metric is defined %}
2831
isis metric {{ l.isis.metric|default(l.isis.cost) }}
2932
{% if 'ipv6' in l and 'ipv6' in isis.af %}

netsim/ansible/templates/isis/iosxr.j2

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ router isis Gandalf
3232
{% if l.isis.network_type|default('') == 'point-to-point' %}
3333
point-to-point
3434
{% endif %}
35+
{% if l.isis.type|default(False) %}
36+
circuit-type {{ l.isis.type }}
37+
{% endif %}
3538
{% for naf in ['ipv4','ipv6'] if naf in l and naf in isis.af %}
3639
address-family {{ naf }}
3740
{% if l.isis.cost is defined or l.isis.metric is defined %}

netsim/devices/asav.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ external:
1818
image: none
1919
features:
2020
bgp: True
21-
isis: True
21+
isis:
22+
circuit_type: True
2223
libvirt:
2324
image: cisco/asav
2425
create_template: asav.xml.j2

netsim/devices/iosxr.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ features:
2222
ospf:
2323
unnumbered: True
2424
isis:
25+
circuit_type: true
2526
unnumbered:
2627
ipv4: True
2728
ipv6: True

0 commit comments

Comments
 (0)