From 5ded294a3545269ad830816b3bf78671d2baf2ca Mon Sep 17 00:00:00 2001 From: Charly Coueffe <75327499+ccoueffe@users.noreply.github.com> Date: Fri, 8 Aug 2025 17:34:51 +0200 Subject: [PATCH] Update ndfc_underlay_ip_address.j2 --- roles/dtc/common/templates/ndfc_underlay_ip_address.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/dtc/common/templates/ndfc_underlay_ip_address.j2 b/roles/dtc/common/templates/ndfc_underlay_ip_address.j2 index 3c849600b..84038fa72 100644 --- a/roles/dtc/common/templates/ndfc_underlay_ip_address.j2 +++ b/roles/dtc/common/templates/ndfc_underlay_ip_address.j2 @@ -53,7 +53,7 @@ {% if vxlan.topology.fabric_links is defined %} {% for switch in vxlan.topology.fabric_links %} -{% if switch.ipv4 is iterable or switch.ipv6 is iterable %} +{% if switch.ipv4 is defined and switch.ipv4 is iterable %} - entity_name: "{{ switch_list[switch.source_device].serial_number }}~{{ switch.source_interface }}~{{ switch_list[switch.dest_device].serial_number }}~{{ switch.dest_interface }}" pool_type: SUBNET pool_name: "SUBNET"