Skip to content

Commit

Permalink
Fix: ip reachability test with l3dge endpoint not managed by AVD (#3140)
Browse files Browse the repository at this point in the history
Co-authored-by: Saverio Pangoli (Arista) <[email protected]>
  • Loading branch information
spangoli-arista and Saverio Pangoli (Arista) authored Sep 13, 2023
1 parent 46538d7 commit f8c7b97
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
ethernet_interface.ip_address is arista.avd.defined and
ethernet_interface.peer is arista.avd.defined and
ethernet_interface.peer_interface is arista.avd.defined and
peer_ip is arista.avd.defined
peer_ip is arista.avd.defined and peer_ip
vars:
peer_ip: "{{ (hostvars[ethernet_interface.peer | arista.avd.default('_')].ethernet_interfaces | arista.avd.default({}) | arista.avd.convert_dicts('name') | selectattr('name', 'eq', ethernet_interface.peer_interface | arista.avd.default) | map(attribute='ip_address'))[0] | arista.avd.default }}"

Expand Down

0 comments on commit f8c7b97

Please sign in to comment.