-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[snmp | lldp] table is no present in SNMP facts #6737
Comments
show techsupport |
@yxieca can you please review ? this is seen on 201911 as well |
@vadymhlushko-mlnx from the dump, I don't see any lldp neighbor other than from eth0. Is this expected? Can you paste the output of lldpshow from sonic? To further analyzer the issue, I also need you to run a test with instrumented code: this line: https://github.com/Azure/sonic-mgmt/blob/master/tests/snmp/test_snmp_lldp.py#L39 will not show up in output because pytest muted it. But if you could change it to import logging and send me the contents of snmp_facts, that would be really helpful. |
Output of |
These 4 entries should have been populated here: https://github.com/Azure/sonic-snmpagent/blob/3885f193be05099659808092d22c5f69407cdda4/src/sonic_ax_impl/mibs/ieee802_1ab.py#L710 They are all local management information. Missing them is an image issue. |
Okay, so, how to fix it? |
Let's move this issue to buildimage and have it triaged there. |
There are two issues here: First the LLDP docker when setting the command "configure system ip management pattern" uses MGMT_INTERFACE.keys() which can be any order of v4 and v6 Management IP . Second SNMP currently only handles v4 Management Address We are looking into fixing both so that we are consistent in assigning IP Address and SNMP should be able to handle v6 also. |
cherry-pick #5699 to 201911. This should fix this issue. |
The fix is working, the test - PASSED |
Description
Steps to reproduce the issue:
snmp/test_snmp_lldp.py
Describe the results you received:
Describe the results you expected:
The test
snmp/test_snmp_lldp.py
should passAdditional information you deem important:
The text was updated successfully, but these errors were encountered: