-
Notifications
You must be signed in to change notification settings - Fork 73
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
Yang leaves without smiv2:oid directive are not shown well in snmpwalk #398
Comments
Hi, I'll see if I can reproduce this bug as well just like #396. Thanks, |
Hi, Can you share the MIB with us for this one as well? We'd like to test to convert the MIB to YANG using smidump and reproduce the error. BR |
I have changed the description of bug from "snmwalk for last OID in list is not shown properly" to "Yang leaves without smiv2:oid directive are not shown well in snmpwalk" since this is the actual problem. Leaves without smiv2:oid directive should be ignored in snmpwalk. |
… snmpwalk (https://clicon#398)
… snmpwalk (https://clicon#398)
The PR does not work properly, there are warnings and fails in docker/CI |
… snmpwalk] (https://clicon#398)
… snmpwalk] (https://clicon#398)
PR merged with master, please verify and close if OK |
Hello Olof, it is Doron & Stas from Siklu team
We have a problem that last item OID in a list is not properly shown in snmpwalk or it is not shown at all.
In this example (Attached) the last oid item in the list component is 1.3.6.1.2.1.47.1.1.1.1.16
When we do snmpwalk on oid 16 we get this error (No Such Object) even thou this item was filled with dada:
snmpwalk on the item before it (oid 13) looks ok:
Now If we put the last oid item (oid 16) in comment
This is the new result of snmpwalk for oid 13
Also some other items are defected as a result of commenting oid 16. For example oid 6
This is the correct outoput of oid 6 when there is no comment for oid 16:
iso.3.6.1.2.1.47.1.1.1.1.6.1 = INTEGER: -1
iso.3.6.1.2.1.47.1.1.1.1.6.2 = INTEGER: 0
iso.3.6.1.2.1.47.1.1.1.1.6.3 = INTEGER: 1
iso.3.6.1.2.1.47.1.1.1.1.6.4 = INTEGER: 2
iso.3.6.1.2.1.47.1.1.1.1.6.5 = INTEGER: 3
...
Attached the yang file
Thank you
Doron & Stas
radio-bridge-tg-inventory.yang.txt
The text was updated successfully, but these errors were encountered: