Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | PEP-8 long lines and dunders (#245) | Ilya Etingof | 2019-02-26 | 17 | -211/+360 |
| | | | | This patch massively reformats the whole codebase mainly wrapping long lines and eliminating dundered private attributes. | ||||
* | Fix PDU consistency check in notification originator | Ilya Etingof | 2019-02-25 | 2 | -4/+4 |
| | |||||
* | Fix variable reference in hlapi/v1arch/ntforg | Ilya Etingof | 2019-02-25 | 1 | -2/+2 |
| | |||||
* | Ensure TRAP PDU consistency in v1arch | Ilya Etingof | 2019-02-23 | 4 | -92/+146 |
| | | | | | | 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. | ||||
* | Fix typos in the docstrings | Ilya Etingof | 2019-02-22 | 6 | -20/+13 |
| | |||||
* | Introduce asyncio binding to hlapi.v1arch (#244) | Ilya Etingof | 2019-02-22 | 7 | -17/+951 |
| | | | | | The hlapi.v1arch asyncio API is intended to be very similar to hlapi.v3arch.asyncio from its signature viewpoint, however it should be faster at the expense of no SNMPv3 support. | ||||
* | Fix typos in docstrings | Ilya Etingof | 2019-02-21 | 3 | -4/+4 |
| | |||||
* | Fix broken `hlapi.isEndOfMib` callable | Ilya Etingof | 2019-02-21 | 3 | -3/+3 |
| | |||||
* | PEP8 optimize imports (#242) | Ilya Etingof | 2019-02-12 | 26 | -50/+57 |
| | | | | To make them PEP8-compliant | ||||
* | Remove the remnants of hlapi.v1arch.asyncore.sync.compat | Ilya Etingof | 2019-02-12 | 1 | -9/+3 |
| | |||||
* | Remove the remnants of hlapi.asyncore.sync | Ilya Etingof | 2019-02-12 | 1 | -19/+0 |
| | |||||
* | Officially remove Python < 2.6 support (#239) | Ilya Etingof | 2019-02-10 | 8 | -341/+2 |
| | | | | Perhaps previous commits have already broken older Python support. This commit mostly declares Python 2.6+ support. | ||||
* | Fix misnamed constants | Ilya Etingof | 2019-02-10 | 3 | -16/+17 |
| | | | | | This is a follow up to 588b9b902d191d8010cb6b247fcb07887d59542c fixing a couple of improperly named constants. | ||||
* | Uppercase global constants (#238) | Ilya Etingof | 2019-02-10 | 19 | -173/+205 |
| | | | | | | | | | 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 trick | Ilya Etingof | 2019-02-09 | 4 | -14/+14 |
| | |||||
* | Drop Python < 2.6 kwargs expansion compatibility trick | Ilya Etingof | 2019-02-09 | 2 | -16/+16 |
| | |||||
* | Extend copyright notice to year 2019 | Ilya Etingof | 2018-12-30 | 35 | -34/+53 |
| | |||||
* | Redesigned SMI objects management model (#214) | Ilya Etingof | 2018-12-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | The primary motivation behind this redesign is to allow asynchronous operations between SNMP responder and the data source feeding its MIB. This is achieved by redesigning all `read*`, `write*`, `create*` and `destroy*` methods of the `SNMPv2-SMI` MIB objects to return immediately and deliver their results via a call back. This modification brings significant and backward incompatible changes to the low-level MIB operations. The pysnmp MIB modules compiled for older pysnmp remain compatible. | ||||
* | Fix hlapi/v1arch GETNEXT EOM processing | Ilya Etingof | 2018-12-29 | 1 | -3/+6 |
| | | | | | The hlapi/v1arch GETNEXT command crashes when hitting end-of-mib condition. This patch fixes this. | ||||
* | Fix hlapi/v1arch request timeout | Ilya Etingof | 2018-12-29 | 1 | -2/+2 |
| | | | | The retrying mechanism never worked, apparently. | ||||
* | Fix hlapi LCD to include `contextName` (#217) | Ilya Etingof | 2018-11-03 | 7 | -31/+47 |
| | | | | | | | | | Fixed hlapi LCD configurator to include `contextName`. Prior to this fix sending SNMPv3 TRAP with non-default `contextName` would fail. This change modifies the signature of the internal LCD methods. | ||||
* | Fix Sphinx markup for USM crypto algorithm IDs | Ilya Etingof | 2018-10-06 | 2 | -14/+74 |
| | |||||
* | Ensure distinct transports if timeout/retries differ | Ilya Etingof | 2018-09-20 | 1 | -1/+4 |
| | | | | | Fix hlapi/v3arch transport target caching to ensure transport targets are different even if just timeout/retries options differ. | ||||
* | Fix lcd.unconfigure not removing cached addr value preventing the same ↵ | Ryan Van Gilder | 2018-09-09 | 1 | -1/+1 |
| | | | | target being re-configured (#194) | ||||
* | Add `hlapi.v1arch` API (#186) | Ilya Etingof | 2018-08-12 | 37 | -210/+2279 |
| | | | | | | | | | | | | | | | | | | | | * Add `hlapi.v1arch` API Introduce new sub-package `pysnmp.hlapi.v1arch` which wraps otherwise very detailed packet-level SNMP messaging into a handful of convenience functions. As a side effect, the `pysnmp.hlapi.*` sub-packages moved under `pysnmp.hlapi.v3arch` though `pysnmp.hlapi` still exposes `pysnmp.hlappi.v3arch.*` symbols to retain some degree of backward compatibility. The signature of the hlapi `.sendNotification()` call has changed to accept `*varBinds` instead of a sequence of `varBinds`. The rationale is to unify this method call with similar methods of CommandGenerator. * Add v1arch docs and reshuffle hlapi docs | ||||
* | Fix out-of-scope OID leak in hlapi table | Ilya Etingof | 2018-08-06 | 1 | -10/+30 |
| | | | | | | Fixed out-of-scope OIDs possibly leaking at the end of SNMP table at hlapi `nextCmd` and `bulkCmd` calls when `lexicographicMode = False`. | ||||
* | Revert "Fix var-bind initialization from ObjectIdentity at hlapi" | Ilya Etingof | 2018-07-05 | 1 | -4/+4 |
| | | | | This reverts commit 23d1aa7bf5139d05c29ef27f6a5f68948c93a9df. | ||||
* | Fix typo in docstring | Ilya Etingof | 2018-07-05 | 2 | -5/+5 |
| | |||||
* | Fix var-bind initialization from ObjectIdentity at hlapi | Ilya Etingof | 2018-07-05 | 1 | -4/+4 |
| | |||||
* | many backward-compatibility aids dropped | Ilya Etingof | 2018-02-25 | 2 | -10/+7 |
| | |||||
* | copyright notice extendedv4.4.4 | Ilya Etingof | 2018-01-03 | 22 | -22/+22 |
| | |||||
* | migrated references from SourceForge (#110) | Ilya Etingof | 2017-11-17 | 22 | -22/+22 |
| | |||||
* | make sure to pass an initializer to ASN.1 Null() | Ilya Etingof | 2017-10-18 | 2 | -4/+4 |
| | | | | This is a prerequisite for pyasn1 0.4.x | ||||
* | Improve documentation of varBindTable returned by bulkCmd() (#91) | Eugene M. Kim | 2017-10-12 | 3 | -21/+74 |
| | | | | | | | * Clarify varBindTable returned by bulkCmd() in docs * Fix bulkCmd() examples * Abbreviate endOfMibView * Fix fixed-width markup of Get{BulkRequest,Response}-PDU | ||||
* | Catch and pass exceptions to Twisted deferred | Ilya Etingof | 2017-10-05 | 2 | -22/+49 |
| | |||||
* | Catch and pass exceptions to asyncio futures (#82) | Eugene M. Kim | 2017-10-05 | 2 | -17/+49 |
| | | | | | | | Previously an exceptions raised by vbProcessor.unmakeVarBinds() fell through, and asyncio base event loop caught and reported it on stderr, while the original cmdgen's future went unfinished, causing the call to hang forever. Match the synchronous version's behavior, which is to raise the exception for the caller of the cmdgen to catch. | ||||
* | add support for USM SHA-2 algorithms (RFC 7860) (#71) | verrio | 2017-08-03 | 1 | -1/+12 |
| | |||||
* | deprecated UsmUserData instantiation params removed | Ilya Etingof | 2017-07-18 | 1 | -14/+1 |
| | |||||
* | better ContextData docstring | Ilya Etingof | 2017-07-17 | 2 | -10/+13 |
| | |||||
* | better CommunityData tags docstring | Ilya Etingof | 2017-07-17 | 1 | -8/+27 |
| | |||||
* | document CommunityName quirks | Ilya Etingof | 2017-07-15 | 1 | -12/+18 |
| | |||||
* | disambiguation of the *lexicographicMode* option | Ilya Etingof | 2017-03-28 | 2 | -25/+33 |
| | |||||
* | Add ignoreNonIncreasingOid option for twisted nextCmd and bulkCmd | Ryan Van Gilder | 2017-03-09 | 1 | -0/+13 |
| | |||||
* | typo in example | Ilya Etingof | 2017-02-02 | 1 | -1/+1 |
| | |||||
* | email changed, copyright extended to the year 2017 | Ilya Etingof | 2017-01-12 | 22 | -22/+22 |
| | |||||
* | Fixed some typos in arguments with previous commit | Gerrat Rickert | 2016-12-21 | 1 | -2/+2 |
| | |||||
* | Removed tuple unpacking in function signatures in twisted since removed in ↵ | Gerrat Rickert | 2016-12-21 | 2 | -5/+10 |
| | | | | Python 3 | ||||
* | document hlapi transport .setLocalAddress() | Ilya Etingof | 2016-12-03 | 1 | -0/+13 |
| | |||||
* | Reeder key localization refactored | Ilya Etingof | 2016-08-21 | 2 | -2/+8 |
| | |||||
* | converted to new-style classes | Ilya Etingof | 2016-06-12 | 5 | -6/+6 |
| |