-
-
Couldn't load subscription status.
- Fork 39
Description
Is your feature request related to a problem? Please describe.
The documentation for ObjectIdentity.add_asn1_mib_source() mentions only the *asn1Sources argument/s. It does not reveal that this method also takes kwargs which influence, among other things, the on-the-fly MIB compilation.
I noticed this when looking for a way to have PySNMP put compiled MIB modules into a less unwieldy path than (on Windows) ~/PySNMP Configuration/mibs. The only approach apparent from samples is to create a MibBuilder and MibViewController, followed by calling resolve_with_mib() on every ObjectType and ObjectIdentity. Compared with that, adding a simple destination=... to add_asn1_mib_source() calls is outright trivial.
Describe the solution you'd like
There appear to be five keywords arguments to add_asn1_mib_source() that resolve_with_mib() looks for:
- searchers
- borrowers
- destination
- ifAvailable
- ifNotAdded
The documentation should describe their types and purpose.
Describe alternatives you've considered
No response
Additional context
No response