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

[Bug]: pysmi's mibdump no longer supports generating PySNMP code for MIB instances #62

Open
grondman opened this issue Apr 3, 2024 · 2 comments
Labels
area:documentation Improvements or additions to documentation area:pysmi PySMI package area:snmpresponder SNMP Responder bug Something isn't working priority:low Low priority items.

Comments

@grondman
Copy link

grondman commented Apr 3, 2024

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

@grondman grondman added bug Something isn't working triage New issues that need to be sorted out. labels Apr 3, 2024
@lextm lextm added area:documentation Improvements or additions to documentation and removed triage New issues that need to be sorted out. labels Apr 3, 2024
@lextm
Copy link

lextm commented Apr 3, 2024

We found this both a documentation issue and code merge issue. Will work on it later.

@lextm lextm added the area:pysmi PySMI package label Apr 3, 2024
@lextm
Copy link

lextm commented Apr 3, 2024

PySMI 1.4.3 was just released with the missing command line switch. You might test if that helps.

The documentation is still out-of-date, and we will see into that in the coming weeks.

@lextm lextm added the priority:low Low priority items. label Aug 2, 2024
@lextm lextm added the area:snmpresponder SNMP Responder label Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:documentation Improvements or additions to documentation area:pysmi PySMI package area:snmpresponder SNMP Responder bug Something isn't working priority:low Low priority items.
Projects
None yet
Development

No branches or pull requests

2 participants