| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
* minor fixes to markup
|
|
|
|
|
| |
API along with a more comprehensive set of accepted parameters.
* massively documented (in Sphinx, NumPy style)
|
|
|
|
| |
API along with more comprehensive set of accepted parameters
|
|
|
|
|
|
| |
asyncore and AsyncoreDispatcher respectively to provide better hint
to fellow devs on the underlying transport being used
- backward compatibility preserved through dummy asynsock symbols
|
|
|
|
|
|
|
|
|
| |
API redesign:
* MibVariable becomes ObjectIdentity and moves to pysnmp.smi.rfc1902
* ObjectType and NotificationType classes resempling corresponding MIB MACROs
implemented
* SNMP Standard Applications and examples modified to support ObjectType
and NotificationType parameters
|
|
|
|
|
|
|
|
| |
at a local pysnmp MIBs repository and loaded into SNMP Engine.
- smi.MibBuilder will now raise more specific exceptions (MibLoadError,
MibNotFoundError) on MIB loading problems rather than more generic
SmiError.
- MibBuilder.addMibSources() convenience method added.
|
| |
|
| |
|
|
|
|
| |
off the bottom of returned var-binds table
|
|
|
|
|
| |
maxCalls kwarg to limit the maximum number of request-response
iterations to perform
|
|
|
|
|
|
| |
AsynNotificationOriginator() tranformed into a referenced object
relationship
* made use of AsyncCommandGenerator.getMibViewController()
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
applications towards the following goals:
* avoid bonding with particular SNMP engine instance to promote single
app instance using many SNMP engine instances
* support two APIs for working with request data: one operates on the
whole PDU object while the other on PDU contents
* keep callback context data in stack rather than in stateful application
cache
* newly introduced sendVarBinds() method offers a more functional and
logical signatures.
* keep backward compatibility for all existing major/documented interfaces
|
|
|
|
| |
force socket binding to specified local interface
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
apps objects to [a singular] snmpEngine object. That would allow
for better cache reuse and allow for a single app working with
many snmpEngine instances.
- Legacy interfaces and APIs dropped in new oneliner AsyncCommandGenerator
and AsyncNotificationOriginator classes (notice 'c' in Async). Original
AsynCommandGenerator and AsynNotificationOriginator implementations
rebuilt on top of these new optimized versions keeping all the legacy
for compatibility reasons. These classes no more keep references to
SnmpEngine what makes them reusable with many SnmpEngine class instances.
- Example on a single Transport Dispatcher use with multiple SnmpEngine's
in oneliner AsyncCommandGenerator & AsyncNotificationOriginator basaed
applicatons added.
|
|
|
|
|
|
| |
apps objects to [a singular] snmpEngine object. That would allow
for better cache reuse and allow for a single app working with
many snmpEngine instances.
|
|
|
|
| |
base transport class
|
|
|
|
| |
calls by use counting
|
| |
|
|
|
|
| |
all the things that bothers linter
|
|
|
|
|
|
| |
and improved by automatically instantiating compatible TransportDispatcher
making it dispatcher-agnostic. As an additional bonus, application may not
call registerTransportDispatcher() as it would be called by addTransport().
|
|
|
|
| |
to facilitate authentication data management in user applications.
|
| |
|
|
|
|
| |
usmUserTable.
|
|
|
|
| |
method that returns network addresses used on protocol level
|
|
|
|
| |
securityEngineId as it's semantically correct
|
|
|
|
|
| |
snmpCommunityEntry and usmUserEntry tables. Changes made to addV1System(),
addV3User() functions as well as to their oneliner's wrappers.
|
|
|
|
|
| |
makeVarBinds() method which replaces somewhat redundant code at setCmd()
and AsynNotificationOriginator.sendNotification().
|
|
|
|
|
|
|
|
|
|
|
| |
methods now accept optional authData parameter to remove specific entries
from LCD. This can be useful for modifying security parameters for
specific securityName.
* AsynNotificationOriginator.cfgCmdGen() does not take into account
securityModel & securityLevel when reducing LCD access via addTrapUser().
This improves LCD consistency on sparse add/del operatons but also
does not let you to configure different securityModels per securityname
at VACM though the cfgCmdGen() wrapper.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* the notificationType param is no more optional
* the varBinds param is now truly optional
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
request is now implemented at Notification Originator app. The return
value of NotificationOriginator.sendNotification is now a composite object
that includes errorStatus, errorIndex and varBinds.
* The missing functionality of passing lookupNames & lookupValues params
to Notification Originator is now implemented. It may make sense for
INFORMs.
* The missing functionality of passing contextName to oneliner
version of NotificationOriginator.sendNotification is now implemented.
|
|
|
|
|
| |
with authData *if* it is not passed through command-line.
this is purely to preserve backward compatibility.
|
| |
|
|
|
|
|
|
|
| |
* contextEngineId/contextName stored at authData now used only
for USM configuration
* contextEngineId/contextName sent in PDU can now be passed through
*Cmd() methods arguments
|
| |
|
|
|
|
| |
NotificationOriginator
|