-
Notifications
You must be signed in to change notification settings - Fork 726
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modified: cisco_ios_show_cdp_neighbors_detail.template #80
Conversation
I found that the "show cdp neighbors detail" template would fail to gather the required information if the neighbor device did not have an IP address. I run into this when developing locally with GNS3. The additional line fixes this.
@tsimson can you provide sample data and expected output? This will help us understand corner cases we are missing. |
@itdependsnetworks ...I certainly can, This seems to exit the template if there is no IP address configured on the neighbor: Here is some sample output from before the change: The additional line fixes this by detecting the "^Platform" line and simply continuing the template: Here is the same output after the change: Hope this provides clarification, |
Can you take a look at tests/cisco_ios/show_cdp_neighbor_detail/ and create an additional raw and parsed file with your test data? |
@itdependsnetworks I combined the new command raw output with the existing test for that command. Does that fly? |
@tsimson that should work, much appreciated. Let's just check in with @GGabriele to see if he has any inputs. |
Everything looks good now, thanks @tsimson ! |
ISSUE TYPE
COMPONENT
SUMMARY