-
Notifications
You must be signed in to change notification settings - Fork 39
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
Only ethernetCsmacd interfaces are shown in the room viewer #2280
Comments
Thanks for the bug report! This filter has been there since the code was introduced to NAV, but I cannot find the reasoning behind it. I can only assume it was a misguided attempt to get a list of only physical ethernet ports, or only switch ports, but using The point of the device/interface list tab in the room view is mostly to figure which access ports are currently in use, or have recently been used. However, history is based on CAM records and would only work for switch ports. Switch ports aren't necessarily physical interfaces, at least not on Juniper, so... Would you agree that listing switch ports makes the most sense, regardless of whether they are physical or not? |
@alexanderfefelov Upon closer inspection, this is the definition of
It seems D-Link is one of the mentioned "fielded implementations" that return an obsolete |
Because: - Although RFC 3635 specifies that implementations MUST use ifType=ethernetCsmacd(6) for all ethernet-like interface types, many fielded implementations have incorrectly used other values that were never reserved by the IETF. - D-Link is one such vendor, where interfaces would not be listed in the room interface list because of this. Fixes Uninett#2280
Because: - Although RFC 3635 specifies that implementations MUST use ifType=ethernetCsmacd(6) for all ethernet-like interface types, many fielded implementations have incorrectly used other values that were never reserved by the IETF. - D-Link is one such vendor, where interfaces would not be listed in the room interface list because of this. Fixes Uninett#2280
Because: - Although RFC 3635 specifies that implementations MUST use ifType=ethernetCsmacd(6) for all ethernet-like interface types, many fielded implementations have incorrectly used other values that were never reserved by the IETF. - D-Link is one such vendor, where interfaces would not be listed in the room interface list because of this. Fixes Uninett#2280
nav/python/nav/web/info/room/views.py
Lines 203 to 206 in b3c9034
NAV 5.1.3
snmpwalk -c foobar -v 2c [D-Link DGS-3627G] IF-MIB::ifTable
:snmpwalk -c foobar -v 2c [D-Link DGS-3200-10] IF-MIB::ifTable
:The text was updated successfully, but these errors were encountered: