Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add if statement for ROS os when querying remote port id for LLDP map #7079
DO NOT DELETE THIS TEXT
If you would like to test this pull request then please run:
Siemens Ruggedcom switches does not have the functionality to give ports/interfaces descriptions. When you do an snmpwalk on oid `ifDescr' for each port, it is empty and therefore inserts a whitespace into the 'ifDescr' field in the ports table.
When you do an snmpwalk on oid 'lldpRemoteSystemsData', you get the following: https://pastebin.com/LbechkBG
Instead of an if-statement, another solution I suggest is re-arranging the query from this:
but I'm not sure how this will break the map for other OS'.
We can also store the