summaryrefslogtreecommitdiff
path: root/pysnmp/smi/instrum.py
Commit message (Collapse)AuthorAgeFilesLines
* PEP-8 long lines and dunders (#245)Ilya Etingof2019-02-261-31/+53
| | | | This patch massively reformats the whole codebase mainly wrapping long lines and eliminating dundered private attributes.
* PEP8 optimize imports (#242)Ilya Etingof2019-02-121-6/+1
| | | | To make them PEP8-compliant
* Uppercase global constants (#238)Ilya Etingof2019-02-101-7/+7
| | | | | | | | | 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.
* Extend copyright notice to year 2019Ilya Etingof2018-12-301-1/+1
|
* Redesigned SMI objects management model (#214)Ilya Etingof2018-12-291-94/+316
| | | | | | | | | | | | | | 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.
* Refactor MIB state machine into asynchronous operations (#210)Ilya Etingof2018-10-241-86/+135
| | | | | | | | | | | | | | Convert to async MIB instrumentation API (#210) MIB instrumentation API changed to allow for asynchronous managed objects access. The MIB instrumentation methods called by the state machine now return immediately and resume once the callback is called. The built-in SNMPv2-SMI objects are still synchronous. This change is a prerequisite for fully asynchronous managed objects implementation.
* Convert to async MIB instrumentation API (#209)Ilya Etingof2018-10-131-9/+21
| | | | | | | | | | | | | | | | MIB instrumentation API changed to allow for asynchronous managed objects access. Although built-in SNMPv2-SMI objects are still synchronous, the MIB instrumentation API is async what allows users to replace default MIB instrumentation with their own, potentially asynchronous. CommandResponder refactored to facilitate asynchronous MIB instrumentation routines. The `readVars`, `readNextVars` and `writeVars` MIB controller methods return immediately and deliver their results via a call back. SMI/MIB managed objects API overhauled for simplicity and flexibility breaking backward compatibility.
* Overhaul SMI/MIB instrumentation API (#161)Ilya Etingof2018-06-301-22/+30
| | | | | | | | | | | Overhaul SMI/MIB instrumentation API SMI/MIB managed objects API overhauled for simplicity and flexibility breaking backward compatibility. This change would allow way more control over custom MIB managed objects and also is the prerequisite for asynchronous MIB instrumentation.
* copyright notice extendedv4.4.4Ilya Etingof2018-01-031-1/+1
|
* migrated references from SourceForge (#110)Ilya Etingof2017-11-171-1/+1
|
* 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-051-28/+34
|
* copyright updatedelie2015-12-291-1/+1
|
* copyright notice added to source codeelie2015-11-201-1/+6
|
* unused variables droppedelie2015-10-181-3/+3
|
* linted for bad-whitespace and some other issueselie2015-10-171-1/+1
|
* linted the bad-continuation issue as well as some otherselie2015-10-171-14/+7
|
* multiple-statements-in-one-line linted outelie2015-10-171-2/+7
|
* linted for trailing whitespaceselie2015-10-171-12/+12
|
* use format_exception()elie2013-06-111-1/+1
|
* FSM exception handling reworkedelie2013-06-111-2/+3
|
* do not re-raise exceptions with original traceback as it breakselie2013-06-101-2/+3
| | | | | py3k compatibility instead log the original traceback into debug routine
* exception re-raising improved at MibInstrumController.flipFlopFsm() soelie2013-06-101-2/+2
| | | | that original traceback is preserved.
* SMI exceptions are supposed to carry indices of failed var-bind componentelie2012-12-131-3/+3
|
* - AbstractMibInstrumController class added as a base class for all possibleelie2012-12-021-2/+14
| | | | | kinds of Management Instrumentation controllers - MibInstrumController.getMibBuilder() added
* use %r for printing out [possibly uninitialized] pyasn1 objectselie2012-07-181-2/+2
|
* the obsolete and unpublished MibInstrumController.readVarsFast() methodelie2012-07-161-10/+0
| | | | removed for API clarity
* preserve original traceback on py3elie2011-12-241-7/+7
|
* whilst on Py3, reraise exceptions with the original tracebackelie2011-12-231-2/+10
|
* exlicit repr() calls replaced with '%r'elie2011-11-081-3/+3
|
* major overhawl aimed at Python 2.4 through 3.2 compatibilityelie2011-11-061-18/+16
|
* introduce the MibInstrumControlle.readVarsFast() method (which skipselie2011-01-201-0/+10
| | | | | | the "testing" phase of MIB value readin) for dealing with internal configuration (LCD) for performance reasons bInstrumControllerCVS: Committing in .
* all dict.has_key() & dict.get() invocations replaced with modern syntaxelie2011-01-201-10/+14
| | | | (this breaks compatibility with Python 2.1 and older).
* repr() potentially uninitialized pyasn1 values in debug printoutelie2010-06-251-3/+3
| | | | to avoid uninitialized value access exception
* MIB symbols unexport feature re-workedelie2009-05-181-9/+25
|
* last change breaks configuration management, temporarly rolling backelie2009-05-031-1/+1
|
* fix to make the unexportSymbols() method workingelie2009-05-031-0/+5
|
* fix to formatting params in debugelie2006-09-181-1/+1
|
* debugging addedelie2006-09-061-1/+8
|
* Sort MIB modules by name to give user a chance to slip-in aelie2005-10-261-3/+6
| | | | custom MIB modules (that would sorted out first)
* adjusted to re-worked SMI modelelie2005-10-261-22/+73
|
* converted to changed pyasn1 behaviour -- asn1 objects now hashes to theirelie2005-06-271-1/+3
| | | | python value
* access control callback function & context now passed to SMI objectselie2005-06-141-28/+13
|
* Moved from the top-level under the roof of v4 APIelie2004-11-121-0/+154