summaryrefslogtreecommitdiff
path: root/pysnmp/entity/rfc3413/ntforg.py
Commit message (Collapse)AuthorAgeFilesLines
* PEP-8 long lines and dunders (#245)Ilya Etingof2019-02-261-32/+75
| | | | This patch massively reformats the whole codebase mainly wrapping long lines and eliminating dundered private attributes.
* Fix PDU consistency check in notification originatorIlya Etingof2019-02-251-2/+2
|
* Ensure TRAP PDU consistency in v1archIlya Etingof2019-02-231-22/+40
| | | | | | Also, consistency ensuring code unified with v3arch piece what has the side effect of *requiring* snmpTrapOID to be always present anywhere among user-supplied variable-bindings.
* PEP8 optimize imports (#242)Ilya Etingof2019-02-121-7/+5
| | | | To make them PEP8-compliant
* Uppercase global constants (#238)Ilya Etingof2019-02-101-20/+20
| | | | | | | | | This is a massive patch essentially upper-casing global/class attributes that mean to be constants. Some previously exposed constants have been preserved for compatibility reasons (notably, in `hlapi`), though the rest might break user code relying on pysnmp 4.
* Drop Python < 2.6 except statement compatibility trickIlya Etingof2019-02-091-4/+4
|
* Extend copyright notice to year 2019Ilya Etingof2018-12-301-1/+1
|
* many backward-compatibility aids droppedIlya Etingof2018-02-251-61/+0
|
* copyright notice extendedv4.4.4Ilya Etingof2018-01-031-1/+1
|
* migrated references from SourceForge (#110)Ilya Etingof2017-11-171-1/+1
|
* fixed SNMPv3 retries algorithm inconsistencies (#106)Ilya Etingof2017-11-111-9/+19
|
* email changed, copyright extended to the year 2017Ilya Etingof2017-01-121-1/+1
|
* converted to new-style classesIlya Etingof2016-06-121-1/+1
|
* pep8 reformattedIlya Etingof2016-04-021-24/+63
|
* copyright updatedelie2015-12-291-1/+1
|
* fix to NotificationOriginator to cope with unspecified user callableelie2015-12-191-3/+4
|
* copyright notice added to source codeelie2015-11-201-0/+6
|
* linted for bad-whitespace and some other issueselie2015-10-171-1/+1
|
* linted the bad-continuation issue as well as some otherselie2015-10-171-192/+78
|
* linted for trailing whitespaceselie2015-10-171-13/+13
|
* * fix to wrong callback being called on SNMP engine errorelie2015-09-271-31/+24
| | | | * removed cbCtx overriding when unwrapping, that is a source of errors
* implementation of the multiple targets functionality moved from .sendPdu()elie2015-06-031-68/+66
| | | | to sendVarBinds()
* Major overhaul related to PySMI integration and Standard SNMP Applicationselie2015-05-311-61/+68
| | | | | | | | | 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
* fixes to debug messageselie2014-11-041-2/+2
|
* make NotificationOriginator using MibInstrumentationController when expandingelie2014-06-271-1/+5
| | | | Notification OBJECTS into Managed Objects Instances
* pylint'edelie2014-06-171-15/+13
|
* use sendPduHandle term for clarity and unificationelie2014-06-161-38/+38
|
* sendNotification() API correctionelie2014-06-091-2/+2
|
* Major rewrite of native SNMPv3 CommandGenerator and NotificationOriginatorelie2014-04-041-174/+239
| | | | | | | | | | | | | 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
* fix to sendNotification() error handlingelie2013-10-051-4/+8
|
* unused variables, imports; wrong indentation; undefined prototype attribueselie2013-06-041-1/+1
| | | | all the things that bothers linter
* Multi-lingual capabilities of all CommandGenerator & NotificationOriginator ↵elie2013-05-051-13/+23
| | | | | | apps re-worked and improved. For instance it is now it's possible to run getBulk() against a SNMPv1 Agent invoking built-in SNMP Proxy behind the scene.
* Standard SNMP Apps and built-in proxy now ignores malformed errorIndexelie2013-02-071-1/+1
| | | | value.
* cast non-default contextName into pyasn1 object to avoid Py3K comparationelie2013-01-051-0/+4
| | | | issues
* * The missing functionality of passing Response PDU contents of INFORMelie2012-12-151-10/+25
| | | | | | | | | | | 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.
* standard SNMPv3 Apps hardened to catch protocol-related exceptions andelie2012-12-141-47/+86
| | | | report them as errorIndication's
* the missing functionality of NOTIFICATION-TYPE objects being looked upelie2012-11-281-15/+18
| | | | | at local Management Instrumentation and attached to TRAP/IMFORM message by Notification Originator is now fully implemented.
* use system uptime and trap OID values from SNMP engine's instrumentationelie2012-11-261-6/+2
| | | | rather then from SNMP context
* cast additionalVarBinds into ObjectIdentifier typeelie2012-11-251-2/+4
|
* fix to isAccessAllowed() error handling at NotificationOriginator. Systemelie2012-11-251-4/+4
| | | | used to crash on access denied condition
* __context -> snmpContext for clarityelie2012-11-241-7/+5
|
* defaulted value for additionalVarBinds changed from None to ()elie2012-09-291-6/+5
|
* catch wrong stateMduHandle conditionelie2012-07-211-0/+4
|
* fix to Notification Originator to make it communicating a singleelie2012-07-201-19/+37
| | | | | sendPduHandle to an application when multiple INFORMs are triggered and processed by a single call by way of transport tagging feature
* fix to sendNotification() to make it actually sending manyelie2012-07-191-2/+4
| | | | notifications chosen by a tag
* use sysUpTime value whenever it is included in Notification PDU, otheriweseelie2012-07-071-7/+15
| | | | resort to SNMP engine uptime reading
* transport dispatcher now provides its own time expressed inelie2011-11-271-5/+11
| | | | | fractions of second. SNMP engine uses this notion of time for handling requests timeout to make packet flow time bound
* major overhawl aimed at Python 2.4 through 3.2 compatibilityelie2011-11-061-5/+6
|
* MsgAndPduDsp expectResponse parameters passing reworked.elie2011-02-121-4/+8
|
* python < 2.2 specific code removedelie2011-01-201-6/+0
|