pysnmp
pysnmp copied to clipboard
[Bug]: pysmi's mibdump no longer supports generating PySNMP code for MIB instances
Expected behavior
I expect the mibdump
tool to be able to generate code for MIB instances, as explained at https://docs.lextudio.com/snmpresponder/mib-implementation/.
Actual behavior
The flag used in the docs (--destination-template
) no longer exists in the current implementation of mibdump
(pysmi-lextudio 1.4.2). The source for mibdump
which converts to PySNMP output still shows the use of a dstTemplate
variable, but there's no longer any way to set it through the regular mibdump
tool.
Is it still possible to generate code for MIB instances at all with mibdump
or is it advised to simply write it yourself?
Python package information
1.4.2
Operating system information
Ubuntu 22.04.04 LTS
Python information
3.12.1
(Optional) Contents of your test script
No response
Relevant log output
No response