Skip to content

vxlan flood list parsing returns bad data #193

@will-h

Description

@will-h

Experiencing a bug with vxlan flood list passing in later (>4.24?) EOS versions. Instead of the actual flood-list of IPs, api_int.get('Vxlan1')['flood_list'] merely returns ['learned', 'data-plane'].

newer-eos#show run  all interfaces vxlan1 | incl flood
   no vxlan flood vtep learned data-plane
   vxlan flood vtep 10.0.0.14 10.0.0.16 10.0.0.20 10.0.0.21 10.0.0.30 10.0.0.31
older-eos#show run  all interfaces vxlan1 | incl flood
   vxlan flood vtep 10.0.0.14 10.0.0.16 10.0.0.20 10.0.0.21 10.0.0.30 10.0.0.31 
   no vxlan vlan flood vtep

I think it is related to this regexp:

match = re.search(r'vxlan flood vtep (.+)$', config, re.M)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions