ansible-pyats icon indicating copy to clipboard operation
ansible-pyats copied to clipboard

show bgp all neighbors <neighbor> advertised routes errors out

Open mupchu opened this issue 3 years ago • 3 comments

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

mupchu avatar Jun 21 '21 18:06 mupchu

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

K-Ashby-OH avatar Oct 08 '21 11:10 K-Ashby-OH

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

balmasea avatar Dec 21 '21 16:12 balmasea

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.

mupchu avatar Dec 21 '21 16:12 mupchu