Closed ssasso closed 3 months ago
When running the original https://github.com/ipspace/netlab/blob/dev/tests/integration/evpn/04-vxlan-central-routing.yml test, I have:
TASK [eos_config: deploying evpn from /root/GIT_H/netlab/netsim/ansible/templates/evpn/eos.j2] ***********************************************************************************************************************************
fatal: [l1]: FAILED! => changed=false
msg: 'dict object has no element {''ipv4'': True}'
fatal: [spine]: FAILED! => changed=false
msg: 'dict object has no element {''ipv4'': True, ''vpnv4'': True}'
Confirmed, it fails the evpn/01-vxlan-bridging.yml test as well.
Will fix, thank you!
Should be fixed by 4015a7e270f07dbe01205f160d67786a6c2d2ee3 -- all the integration tests passed (can't tell you how glad I am to have them ;)
When running the integration test evpn/04-vxlan-central-routing.yml, trying to use cEOS as device for
l2
, I have this template error:(running
netlab initial -o -l l2 -vvv
)despite the reported line number, my initial guess is that the error is here:
https://github.com/ipspace/netlab/blob/fccaa40689d3c7db93343270f5ba93f3c264b450/netsim/ansible/templates/vrf/eos.bgp.j2#L24
the struct has no
af
attribute on the nodesl1
andl2
.I tried to change it to
{% for af in ['ipv4','ipv6'] if af in vdata.af|default({}) %}
and then I moved forward but I got an error on the evpn template
but honestly I have no idea where that element came from... :(