Closed cuiminghao8 closed 5 years ago
You may have found a bug in the parser in Cisco's Genie library. I have opened an issue on your behalf there and linked it over to this issue.
This is the issue for your reference. https://github.com/CiscoTestAutomation/genieparser/issues/20
I have a feeling that the regex parser that they have built is not matching on the CLI output from your device, and therefore does not appear in the output.
@cuiminghao8 - Thanks to report it, we are looking into it
It has been fixed, and a beta package has been released
pip install genie.libs.parser --upgrade --pre
Give it a try and let us know.
Thanks
Great job! It has been fixed, thanks!
I want to get LLDP neighbor details especially LLDP neighbor system description of a Cisco Catalyst switch. The playbook works without error, but it seemed the LLDP neighbor "system_description" is missing in the parsed output. This is the output from Cisco switch:
This is the parsed output:
My ansible version:
The playbook look like this: