Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reformat example scripts for easier reading (#241) | Ilya Etingof | 2019-02-12 | 157 | -823/+1371 |
| | |||||
* | Uppercase global constants (#238) | Ilya Etingof | 2019-02-10 | 71 | -220/+220 |
| | | | | | | | | | 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 kwargs expansion compatibility trick | Ilya Etingof | 2019-02-09 | 6 | -6/+6 |
| | |||||
* | Redesigned SMI objects management model (#214) | Ilya Etingof | 2018-12-29 | 5 | -40/+110 |
| | | | | | | | | | | | | | | 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 Etingof | 2018-10-24 | 5 | -5/+5 |
| | | | | | | | | | | | | | | 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 Etingof | 2018-10-13 | 3 | -21/+49 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | Simplify SNMPv3 TRAP receiver example | Ilya Etingof | 2018-09-02 | 1 | -22/+3 |
| | |||||
* | Add `hlapi.v1arch` API (#186) | Ilya Etingof | 2018-08-12 | 97 | -44/+1542 |
| | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | Remove `pysnmp.carrier.asynsock` sub-package (#166) | Ilya Etingof | 2018-07-08 | 1 | -3/+3 |
| | | | | Legacy `pysnmp.carrier.asynsock` backward-compatible wrapper over `pysnmp.carrier.asyncore` is gone | ||||
* | Fix BULKWALK examples | Ilya Etingof | 2018-07-08 | 2 | -0/+6 |
| | | | | Avoid sending out extra GETBULK on EOM condition | ||||
* | Fix typos | Ilya Etingof | 2018-07-03 | 1 | -2/+2 |
| | |||||
* | Overhaul SMI/MIB instrumentation API (#161) | Ilya Etingof | 2018-06-30 | 4 | -14/+18 |
| | | | | | | | | | | | 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. | ||||
* | many backward-compatibility aids dropped | Ilya Etingof | 2018-02-25 | 4 | -33/+4 |
| | |||||
* | skip printing out non-initialized MIB objects in example MIB walk | Ilya Etingof | 2017-12-03 | 1 | -3/+3 |
| | |||||
* | encode IPv6 requirement into example scripts names (#102) | Ilya Etingof | 2017-11-06 | 11 | -4/+4 |
| | |||||
* | make sure to pass an initializer to ASN.1 Null() | Ilya Etingof | 2017-10-18 | 1 | -1/+1 |
| | | | | This is a prerequisite for pyasn1 0.4.x | ||||
* | Sphinx theme changed to Alabaster, minor documentation tweaks | Ilya Etingof | 2017-10-06 | 2 | -127/+0 |
| | |||||
* | NotificationReceiver reports SNMPv1 TRAP community string | Ilya Etingof | 2017-10-05 | 1 | -1/+0 |
| | |||||
* | fail gracefully when sha2 suite is not available | Ilya Etingof | 2017-08-03 | 2 | -0/+127 |
| | |||||
* | added SHA2 auth protocol into the list of available ones | Ilya Etingof | 2017-08-03 | 1 | -0/+4 |
| | |||||
* | minor pep8 improvements | Ilya Etingof | 2017-05-27 | 3 | -6/+10 |
| | |||||
* | More twisted examples (#47) | Ilya Etingof | 2017-03-18 | 1 | -0/+44 |
| | | | | * twisted inline callback example | ||||
* | fix to v1arch example to accommodate pyasn1 change | Ilya Etingof | 2017-02-09 | 1 | -2/+2 |
| | |||||
* | Fixed some typos in arguments with previous commit | Gerrat Rickert | 2016-12-21 | 1 | -1/+1 |
| | |||||
* | Removed tuple unpacking in function signatures in twisted since removed in ↵ | Gerrat Rickert | 2016-12-21 | 8 | -8/+24 |
| | | | | Python 3 | ||||
* | updated IP address for demo.snmplabs.com in examples | Ilya Etingof | 2016-07-30 | 39 | -112/+112 |
| | |||||
* | converted to new-style classes | Ilya Etingof | 2016-06-12 | 2 | -3/+3 |
| | |||||
* | include SMI examples | Ilya Etingof | 2016-05-11 | 2 | -4/+4 |
| | |||||
* | better examples on MIB compiler | Ilya Etingof | 2016-05-11 | 2 | -3/+43 |
| | |||||
* | fixes to end-of-docstring sentinel | Ilya Etingof | 2016-04-08 | 2 | -2/+2 |
| | |||||
* | pep8 reformatted | Ilya Etingof | 2016-04-05 | 1 | -2/+2 |
| | |||||
* | pep8 reformatted | Ilya Etingof | 2016-04-01 | 59 | -337/+342 |
| | |||||
* | pep8 reformatted | Ilya Etingof | 2016-04-01 | 11 | -116/+137 |
| | |||||
* | brief description added | Ilya Etingof | 2016-04-01 | 4 | -7/+38 |
| | |||||
* | pep8 fixes | Ilya Etingof | 2016-03-31 | 9 | -68/+75 |
| | |||||
* | pep8 fixes | Ilya Etingof | 2016-03-30 | 7 | -37/+44 |
| | |||||
* | pep8 fixes | Ilya Etingof | 2016-03-30 | 13 | -201/+143 |
| | |||||
* | pep8 fixes | Ilya Etingof | 2016-03-30 | 90 | -457/+460 |
| | |||||
* | highlighing fixes | Ilya Etingof | 2016-03-12 | 1 | -10/+10 |
| | |||||
* | more fixes to test scripts | Ilya Etingof | 2016-03-12 | 1 | -7/+7 |
| | |||||
* | example on implicit notification objects initialization improved | Ilya Etingof | 2016-03-08 | 2 | -4/+9 |
| | |||||
* | missing securityEngineId | elie | 2015-12-19 | 1 | -1/+1 |
| | |||||
* | changed/removed quotes | elie | 2015-12-19 | 13 | -14/+13 |
| | |||||
* | notification origination examples debugged and adjusted to work | elie | 2015-12-19 | 26 | -111/+51 |
| | | | | with demo.snmplabs.com out-of-the-box | ||||
* | fix to snmptrap c/l | elie | 2015-12-19 | 1 | -1/+1 |
| | |||||
* | more fixes to trap destination | elie | 2015-12-14 | 2 | -8/+10 |
| | |||||
* | notification originator examples re-pointed to Notification Receiver | elie | 2015-12-13 | 28 | -64/+65 |
| | | | | at demo.snmplabs.com | ||||
* | missing import | elie | 2015-11-12 | 1 | -0/+1 |
| | |||||
* | asyncio examples documented | elie | 2015-09-27 | 1 | -1/+1 |
| | |||||
* | var-bindings passing in asyncore API aligned with others | elie | 2015-09-27 | 7 | -8/+148 |
| |