You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My guess is that address needs to be enclosed in single quotes to be picked up as a string instead of an undefined variable.
Unfortunately Ansible stops templating of vars (silently) if any errors are hit.
Issue Summary
The dict key "loopback_ipv4_address" not resolve the inputs as variable, while other keys do, like "mgmt_ip" and "bgp_as".
the AVD inputs:
l3leaf:
defaults:
platform: cEOS
loopback_ipv4_pool: "{{ NETv4_LPBK_ULAY }}"
loopback_ipv4_offset: 0
...
nodes:
- name: cleaf01
id: 1
loopback_ipv4_address: "{{ NETv4_LPBK_ULAY | ansible.utils.ipaddr(2) | ansible.utils.ipaddr(address) }}"
mgmt_ip: "{{NETv4_MGMTA | ansible.utils.ipaddr(seq_id) }}"
bgp_as: "{{ bgp_asn_base + dc_id*100 + seq_id }}"
Generate CFG
interface Loopback0
description EVPN_Overlay_Peering
no shutdown
ip address {{ NETv4_LPBK_ULAY | ansible.utils.ipaddr(2) | ansible.utils.ipaddr(address) }}/32
!
Which component(s) of AVD impacted
eos_cli_config_gen
How do you run AVD ?
Ansible CLI (with virtual-env or native python)
Steps to reproduce
Relevant log output
Contributing Guide
The text was updated successfully, but these errors were encountered: