summaryrefslogtreecommitdiff
path: root/pysnmp/hlapi/v1arch
Commit message (Collapse)AuthorAgeFilesLines
* PEP-8 long lines and dunders (#245)Ilya Etingof2019-02-263-9/+7
| | | | 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-252-4/+4
|
* Fix variable reference in hlapi/v1arch/ntforgIlya Etingof2019-02-251-2/+2
|
* Ensure TRAP PDU consistency in v1archIlya Etingof2019-02-233-86/+140
| | | | | | 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 docstringsIlya Etingof2019-02-221-1/+0
|
* Introduce asyncio binding to hlapi.v1arch (#244)Ilya Etingof2019-02-226-1/+934
| | | | | 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 docstringsIlya Etingof2019-02-211-1/+1
|
* PEP8 optimize imports (#242)Ilya Etingof2019-02-128-16/+17
| | | | To make them PEP8-compliant
* Remove the remnants of hlapi.v1arch.asyncore.sync.compatIlya Etingof2019-02-121-9/+3
|
* Officially remove Python < 2.6 support (#239)Ilya Etingof2019-02-102-16/+0
| | | | Perhaps previous commits have already broken older Python support. This commit mostly declares Python 2.6+ support.
* Fix misnamed constantsIlya Etingof2019-02-102-14/+14
| | | | | This is a follow up to 588b9b902d191d8010cb6b247fcb07887d59542c fixing a couple of improperly named constants.
* Uppercase global constants (#238)Ilya Etingof2019-02-106-23/+24
| | | | | | | | | 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-3011-11/+11
|
* Redesigned SMI objects management model (#214)Ilya Etingof2018-12-291-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 processingIlya Etingof2018-12-291-3/+6
| | | | | The hlapi/v1arch GETNEXT command crashes when hitting end-of-mib condition. This patch fixes this.
* Fix hlapi/v1arch request timeoutIlya Etingof2018-12-291-2/+2
| | | | The retrying mechanism never worked, apparently.
* Add `hlapi.v1arch` API (#186)Ilya Etingof2018-08-1211-0/+1926
* 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