summaryrefslogtreecommitdiff
path: root/examples/hlapi
Commit message (Collapse)AuthorAgeFilesLines
* Add examples on master&localized keys useIlya Etingof2019-08-132-0/+104
|
* Fix SNMP version in Twisted example (#246)Jorge Cabrera2019-03-051-1/+1
|
* PEP-8 long lines and dunders (#245)Ilya Etingof2019-02-266-0/+6
| | | | This patch massively reformats the whole codebase mainly wrapping long lines and eliminating dundered private attributes.
* Fix failing example scriptsIlya Etingof2019-02-255-7/+9
|
* Fix PDU consistency check in notification originatorIlya Etingof2019-02-251-1/+1
|
* Introduce asyncio binding to hlapi.v1arch (#244)Ilya Etingof2019-02-226-0/+357
| | | | | 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 asyncio v3arch notification exampleIlya Etingof2019-02-181-16/+6
|
* Reformat example scripts for easier reading (#241)Ilya Etingof2019-02-1290-695/+1043
|
* Uppercase global constants (#238)Ilya Etingof2019-02-104-21/+21
| | | | | | | | | 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 trickIlya Etingof2019-02-096-6/+6
|
* Add `hlapi.v1arch` API (#186)Ilya Etingof2018-08-1296-43/+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
* encode IPv6 requirement into example scripts names (#102)Ilya Etingof2017-11-067-4/+4
|
* make sure to pass an initializer to ASN.1 Null()Ilya Etingof2017-10-181-1/+1
| | | | This is a prerequisite for pyasn1 0.4.x
* added SHA2 auth protocol into the list of available onesIlya Etingof2017-08-031-0/+4
|
* minor pep8 improvementsIlya Etingof2017-05-273-6/+10
|
* More twisted examples (#47)Ilya Etingof2017-03-181-0/+44
| | | | * twisted inline callback example
* Fixed some typos in arguments with previous commitGerrat Rickert2016-12-211-1/+1
|
* Removed tuple unpacking in function signatures in twisted since removed in ↵Gerrat Rickert2016-12-218-8/+24
| | | | Python 3
* updated IP address for demo.snmplabs.com in examplesIlya Etingof2016-07-301-1/+1
|
* converted to new-style classesIlya Etingof2016-06-121-1/+1
|
* fixes to end-of-docstring sentinelIlya Etingof2016-04-081-1/+1
|
* pep8 fixesIlya Etingof2016-03-318-64/+69
|
* pep8 fixesIlya Etingof2016-03-307-37/+44
|
* pep8 fixesIlya Etingof2016-03-3013-201/+143
|
* pep8 fixesIlya Etingof2016-03-3044-453/+399
|
* example on implicit notification objects initialization improvedIlya Etingof2016-03-081-4/+9
|
* missing securityEngineIdelie2015-12-191-1/+1
|
* changed/removed quoteselie2015-12-1910-11/+10
|
* notification origination examples debugged and adjusted to workelie2015-12-1917-86/+44
| | | | with demo.snmplabs.com out-of-the-box
* notification originator examples re-pointed to Notification Receiverelie2015-12-1316-20/+21
| | | | at demo.snmplabs.com
* asyncio examples documentedelie2015-09-271-1/+1
|
* var-bindings passing in asyncore API aligned with otherselie2015-09-277-8/+148
|
* * Asyncore and asyncio-based APIs reworked to become functions.elie2015-09-2761-91/+997
| | | | | | * Asyncio and Twisted API moved entirely into high-level domain to be aligned with other high-level APIs. This WILL BREAK backward compatibility for those apps that use Twisted API.
* post-move documentation and code fixeselie2015-09-212-3/+3
|
* more adjustments followed layout changeselie2015-09-2144-45/+45
|
* * synchronous oneliner apps redesigned to offer Python generator-basedelie2015-09-1444-1339/+1779
| | | | | API along with a more comprehensive set of accepted parameters. * massively documented (in Sphinx, NumPy style)
* synchronous oneliner apps redesigned to offer Python generator-basedelie2015-07-0634-718/+750
| | | | API along with more comprehensive set of accepted parameters
* - original asynsock transport and AsyncsockDispatcher renamed intoelie2015-07-052-4/+4
| | | | | | asyncore and AsyncoreDispatcher respectively to provide better hint to fellow devs on the underlying transport being used - backward compatibility preserved through dummy asynsock symbols
* * default /usr/share/mibs MIB source addedelie2015-07-041-1/+2
| | | | | | | | * compiler.addMibCompiler() now supports ifAvailable and ifNotAdded flags * rfc1902.ObjectIdentity() now always tries to instantiate and attach MIB compiler to snmpEngine (if not done yet), also .addMibCompiler() renamed to .addAsn1MibSource() to signify the fact that MIB compiler is attached behind the scene
* fix to changed MIB templateelie2015-06-041-1/+1
|
* Major overhaul related to PySMI integration and Standard SNMP Applicationselie2015-05-3130-108/+161
| | | | | | | | | 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
* test OIDs updatedelie2015-01-011-2/+2
|
* OIDs modifiedelie2015-01-011-2/+2
|
* oneliner GETBULK Command Generator now strips possible excessive OIDselie2015-01-011-2/+2
| | | | off the bottom of returned var-binds table
* CommandGenerator.getNext() & .getBulk() methods now support theelie2014-08-181-2/+3
| | | | | maxCalls kwarg to limit the maximum number of request-response iterations to perform
* fixes to suite the latest AsyncCommandGenerator APIelie2014-06-173-6/+6
|
* sendNotification() API correctionelie2014-06-093-6/+6
|
* ContextData container introduced to the newest (async) APIelie2014-06-096-3/+6
|
* receive callback function adjusted to match latest AsyncNotificationOriginatorelie2014-04-042-2/+2
|
* comments improvedelie2013-11-251-4/+4
|