Closed nistorj closed 1 year ago
PInging @oetiker :)
I saw your report, my problem is that I have no clue about cisco product differences ... so you are saying for your version of nxos ifAlias would do too, and there was no need to resort to CiscolocIfDescr?
Hi,
Correct, no need to resort to CiscolocIfDescr. As a matter of fact I would suggest ripping out that entire section of code. It appears that code block is legacy for some extremely old versions of IOS that are no longer in circulation. All modern versions of code work perfectly fine without the need for CiscolocIfDescr.
that sounds reasonable ... would you like to provide a PR ?
Closing issue, merged fixed.
We ran into an interesting issue tonight that I believe has to do with roughly this code section:
// cfgmaker lines ~176
When I added the DEBUG line in there the output of my version is 10.2, as per my NXOS version:
It seems to think the answer should be
CiscolocIfDescr
when in fact it needs to beifAlias
.To validate this we simply changed the version accordingly and it had solved our issue.
We narrowed this down in our testing using custom templates outputting all the info and noticed that ifAlias and cisco_descr were both empty.