CiscoDevNet / ansible-pyats

Other
46 stars 12 forks source link

show bgp all neighbors <neighbor> advertised routes errors out #13

Open mupchu opened 3 years ago

mupchu commented 3 years ago

When running this parser (show bgp all neighbors advertised-routes) directly, or just parsing the output (ios device) I get an error:

fatal: [192.168.86.202]: FAILED! => {"msg": "Unable to parse output for command 'show bgp all neighbors 192.168.100.5 advertised-routes' ('Device' object has no attribute 'execute')"}

playbooks.txt ansible output.txt

K-Ashby-OH commented 3 years ago

I'm seeing the same issue with " show ip bgp {address_family} vrf {vrf} neighbors {neighbor} advertised-routes" command.

balmasea commented 2 years ago

Does anyone have any solution for this bug? For us it's happening with show ip bgp neighbors {neighbor} advertised-routes

mupchu commented 2 years ago

well I just started running it natively in pyats and it works there, I just don't have the ansible wrapper to go with it.