Skip to content

Commit 86f12b6

Browse files
authored
Update ndfc_underlay_ip_address.j2 (#546)
1 parent a9df89c commit 86f12b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/dtc/common/templates/ndfc_underlay_ip_address.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
{% if vxlan.topology.fabric_links is defined %}
5555
{% for switch in vxlan.topology.fabric_links %}
56-
{% if switch.ipv4 is iterable or switch.ipv6 is iterable %}
56+
{% if switch.ipv4 is defined and switch.ipv4 is iterable %}
5757
- entity_name: "{{ switch_list[switch.source_device].serial_number }}~{{ switch.source_interface }}~{{ switch_list[switch.dest_device].serial_number }}~{{ switch.dest_interface }}"
5858
pool_type: SUBNET
5959
pool_name: "SUBNET"

0 commit comments

Comments
 (0)