Skip to content
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

The SNMP OID for IFName '1.3.6.1.2.1.31.1.1.1.1' returns the interface alias. It should return the interface name as 'EthernetXXX'. #321

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/sonic_ax_impl/mibs/ietf/rfc2863.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def interface_name(self, sub_id):
elif oid in self.vlan_oid_name_map:
result = self.vlan_oid_name_map[oid]
else:
result = self.if_alias_map[self.oid_name_map[oid]]
result = self.oid_name_map[oid]

return result

Expand Down
Loading