summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* some more missing fileselie2015-09-141-0/+83
|
* * synchronous oneliner apps redesigned to offer Python generator-basedelie2015-09-14143-1928/+8254
| | | | | 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-0636-0/+1620
| | | | API along with more comprehensive set of accepted parameters
* use named enumerarion for clarityelie2015-07-051-1/+1
|
* RowStatus needs initializationelie2015-07-051-1/+1
|
* - original asynsock transport and AsyncsockDispatcher renamed intoelie2015-07-0561-83/+83
| | | | | | 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-043-2/+6
| | | | | | | | * 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
* ObjectIdentity class additionally supports just a MIB module nameelie2015-06-211-0/+30
| | | | | | initializer in which case if resolves into either first or last symbol in given MIB. Another new option is just a MIB symbol initializer without specifying MIB module.
* fix to changed MIB templateelie2015-06-041-1/+1
|
* use @mib@ placeholder instead of <mib> at pysmielie2015-06-041-1/+1
|
* ignore send notification ID when sending trapelie2015-06-031-2/+2
|
* initial revisionelie2015-06-011-0/+84
|
* missing example addedelie2015-05-311-0/+64
|
* Major overhaul related to PySMI integration and Standard SNMP Applicationselie2015-05-3144-325/+357
| | | | | | | | | 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
* - Initial PySMI integration. Original ASN.1 MIBs could now be parsed, storedelie2015-05-172-9/+48
| | | | | | | | at a local pysnmp MIBs repository and loaded into SNMP Engine. - smi.MibBuilder will now raise more specific exceptions (MibLoadError, MibNotFoundError) on MIB loading problems rather than more generic SmiError. - MibBuilder.addMibSources() convenience method added.
* UDP/IPv6 support added to asyncio-based transportelie2015-03-081-0/+96
|
* make config.delTransport() returning detached transport objectelie2015-03-0714-13/+18
|
* typoselie2015-01-282-2/+2
|
* - The asyncore-based transport subsystem extended to support POSIXelie2015-01-204-1/+276
| | | | | | | | | | | | sendmsg()/recvmsg() based socket communication what could be used, among other things, in the context of a transparent SNMP proxy application. Technically, the following features were brought into pysnmp with this update: * Sending SNMP packets from a non-local IP address * Receiving IP packets for non-local IP addresses * Responding to SNMP requests from exactly the same IP address the query was sent to. This proves to be useful when listening on both primary and secondary IP interfaces.
* 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
* SET example addedelie2014-12-151-0/+99
|
* trollius examples addedelie2014-12-157-0/+794
|
* code formatting improvedelie2014-12-153-101/+101
|
* note on python version addedelie2014-11-167-0/+14
|
* asyncio-backed SNMP Applications APIs redesigned for better usability inelie2014-11-165-193/+207
| | | | form of coroutines
* initial support for asyncio network transport addedelie2014-11-047-0/+709
|
* nonRepeaters & maxRepetitions position fixelie2014-11-042-2/+2
|
* 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
|
* converted to the latest API that supports more data to be usedelie2014-06-1741-211/+297
|
* converted to the latest APIelie2014-06-165-44/+66
|
* contextEngineId & contextName values updatedelie2014-06-161-5/+6
|
* configuration fixelie2014-06-161-4/+3
|
* converted to the latest PDU-level APIelie2014-06-154-105/+93
|
* echo back an OCTET STRING, not request valueselie2014-06-151-2/+2
|
* fix to test OIDselie2014-06-151-3/+3
|
* 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
|
* updatedelie2014-01-251-0/+9
|
* example script explaining incoming message's communityName re-writing addedelie2014-01-251-0/+77
|
* updated to include agent-side table populationelie2014-01-251-15/+41
|
* MIB instrumentation example improved to cover table index building facilityelie2014-01-241-7/+18
|
* example script on SNMP Agents UDP broadcast-based discovery addedelie2013-12-121-0/+77
|
* comments improvedelie2013-11-251-4/+4
|
* example script on transport timeout & retries manipulation addedelie2013-11-251-0/+47
|
* some more examples on MIB lookup and use at oneliner CommandGenerator addedelie2013-11-242-0/+96
|
* - Internal oneliner apps configuration cache moved from respectiveelie2013-11-176-12/+220
| | | | | | | | | | | | | | | apps objects to [a singular] snmpEngine object. That would allow for better cache reuse and allow for a single app working with many snmpEngine instances. - Legacy interfaces and APIs dropped in new oneliner AsyncCommandGenerator and AsyncNotificationOriginator classes (notice 'c' in Async). Original AsynCommandGenerator and AsynNotificationOriginator implementations rebuilt on top of these new optimized versions keeping all the legacy for compatibility reasons. These classes no more keep references to SnmpEngine what makes them reusable with many SnmpEngine class instances. - Example on a single Transport Dispatcher use with multiple SnmpEngine's in oneliner AsyncCommandGenerator & AsyncNotificationOriginator basaed applicatons added.