Skip to content

Commit b421a1c

Browse files
authored
Fix for issue 528 (#529)
1 parent 4e5e183 commit b421a1c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

roles/validate/files/rules/ibgp_vxlan/310_topology_switch_interface_breakouts.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ def match(cls, inventory):
1010

1111
# Extract switches from the inventory
1212
switches = inventory.get("vxlan", {}).get("topology", {}).get("switches", [])
13+
if switches is None:
14+
return results
1315

1416
# Process each switch
1517
for switch in switches:

0 commit comments

Comments
 (0)