Skip to content

Commit

Permalink
Fix(eos_designs): Include ISIS interfaces in fabric docs if any devic…
Browse files Browse the repository at this point in the history
…e uses ISIS (#3345)
  • Loading branch information
ClausHolbechArista authored Nov 15, 2023
1 parent af215f6 commit b3ec056
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- [Point-To-Point Links Node Allocation](#point-to-point-links-node-allocation)
- [Loopback Interfaces (BGP EVPN Peering)](#loopback-interfaces-bgp-evpn-peering)
- [Loopback0 Interfaces Node Allocation](#loopback0-interfaces-node-allocation)
- [ISIS CLNS interfaces](#isis-clns-interfaces)
- [VTEP Loopback VXLAN Tunnel Source Interfaces (VTEPs Only)](#vtep-loopback-vxlan-tunnel-source-interfaces-vteps-only)
- [VTEP Loopback Node allocation](#vtep-loopback-node-allocation)

Expand Down Expand Up @@ -91,6 +92,12 @@
| L2LS_OSPF | OSPF-SPINE1 | 192.168.255.1/32 |
| L2LS_OSPF | OSPF-SPINE2 | 192.168.255.2/32 |

### ISIS CLNS interfaces

| POD | Node | CLNS Address |
| --- | ---- | ------------ |
| L2LS_ISIS | ISIS-SPINE1 | 49.0001.0001.0000.0001.00 |

### VTEP Loopback VXLAN Tunnel Source Interfaces (VTEPs Only)

| VTEP Loopback Pool | Available Addresses | Assigned addresses | Assigned Address % |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
{% set vtep_loopback_ipv4_pools = [] %}
{% set assigned_ip_addresses = [] %}
{% set interfaces_done = [] %}
{% set isis_nets = [] %}
{% for node in groups[fabric_name] | arista.avd.natural_sort %}
{% set node_hostvars = hostvars[node] %}
{% set node_facts = avd_switch_facts[node] %}
Expand Down Expand Up @@ -58,6 +59,7 @@
{% endif %}
{% if node_hostvars.router_isis is arista.avd.defined and node_hostvars.router_isis.net is arista.avd.defined %}
{% set fabric_switch.router_isis_net = node_hostvars.router_isis.net %}
{% do isis_nets.append(node_hostvars.router_isis.net) %}
{% endif %}
{% do fabric_switches.append(fabric_switch) %}
{# Populate topology_links #}
Expand Down Expand Up @@ -173,7 +175,7 @@
{% endif %}
{% endfor %}

{% if avd_switch_facts[inventory_hostname].switch.underlay_routing_protocol | arista.avd.default in ["isis", "isis-sr", "isis-ldp", "isis-sr-ldp"] %}
{% if isis_nets %}
### ISIS CLNS interfaces

| POD | Node | CLNS Address |
Expand Down

0 comments on commit b3ec056

Please sign in to comment.