#20 Allow parent index OID for walk

unread
nobody
None
5
2014-04-04
2014-04-04
No

I have two MIBS, shelfType (indexed by shelfIndex) and slotType (indexed by shelfIndex.slotIndex). When I try to do a walk on slotType.1 (ie. give all slotType's for shelf 1) I get

pysnmp.smi.error.SmiError: Short OID for index slotIndexType()

With the attached diff this error disappears and I get the behaviour I expect.

Is this valid or is there a more proper way of doing this? Doing the equivalent with net-snmp works as expected:

snmpwalk 127.0.0.1 slotType.1

Regards,
- Alex

1 Attachments

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks