#32 CiscoStack produces errors when discovering C5000

closed-fixed
5
2012-04-12
2010-04-14
Brian De Wolf
No

I noticed the cronjob has been trying to email me error output from the daily refresh. It appears that two functions in CiscoStack attempt to use uninitialized values in comparisons when refreshing this particular switch, a Cisco Systems WS-C5000 Cisco Catalyst Operating System Software, Version 4.5(14). It references a table to detect gigabit interfaces, but the table is apparently empty. To prevent this from producing error output, I created this patch to check for the existence of the table entry before comparison. Please review it for inclusion.

Discussion

  • Oliver Gorwits
    Oliver Gorwits
    2012-04-12

    seems this patch was already applied so I'll close the ticket.

    however... I spotted a bug whereby one of the IF statements never would be true. fixed it in commit 7d470fd

     
  • Oliver Gorwits
    Oliver Gorwits
    2012-04-12

    • assigned_to: nobody --> olly_g
    • status: open --> closed-fixed