Awhile back I did a post on why screen scraping is annoying compared to APIs because you have to spend some effort cleaning up the output before you can use it.
Today we are going to have some fun with Cisco’s PyAts toolset and their Parse_genie Ansible plugin. Ultimately we will parse some output from a Cisco router and use it to create a trouble ticket in ServiceNow!