summaryrefslogtreecommitdiff
path: root/examples/v1arch
Commit message (Collapse)AuthorAgeFilesLines
* Reformat example scripts for easier reading (#241)Ilya Etingof2019-02-1210-21/+96
|
* Uppercase global constants (#238)Ilya Etingof2019-02-1010-36/+36
| | | | | | | | | 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.
* Add `hlapi.v1arch` API (#186)Ilya Etingof2018-08-121-1/+0
| | | | | | | | | | | | | | | | | | | | * 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 Etingof2018-07-081-3/+3
| | | | Legacy `pysnmp.carrier.asynsock` backward-compatible wrapper over `pysnmp.carrier.asyncore` is gone
* Fix BULKWALK examplesIlya Etingof2018-07-082-0/+6
| | | | Avoid sending out extra GETBULK on EOM condition
* many backward-compatibility aids droppedIlya Etingof2018-02-254-33/+4
|
* encode IPv6 requirement into example scripts names (#102)Ilya Etingof2017-11-061-0/+0
|
* fix to v1arch example to accommodate pyasn1 changeIlya Etingof2017-02-091-2/+2
|
* updated IP address for demo.snmplabs.com in examplesIlya Etingof2016-07-307-13/+13
|
* converted to new-style classesIlya Etingof2016-06-121-2/+2
|
* pep8 reformattedIlya Etingof2016-04-011-1/+1
|
* pep8 reformattedIlya Etingof2016-04-0110-109/+131
|
* pep8 fixesIlya Etingof2016-03-308-4/+20
|
* highlighing fixesIlya Etingof2016-03-121-10/+10
|
* more fixes to test scriptsIlya Etingof2016-03-121-7/+7
|
* notification origination examples debugged and adjusted to workelie2015-12-192-4/+4
| | | | with demo.snmplabs.com out-of-the-box
* more fixes to trap destinationelie2015-12-142-8/+10
|
* missing importelie2015-11-121-0/+1
|
* some more missing fileselie2015-09-141-0/+83
|
* * synchronous oneliner apps redesigned to offer Python generator-basedelie2015-09-149-7/+184
| | | | | API along with a more comprehensive set of accepted parameters. * massively documented (in Sphinx, NumPy style)
* - original asynsock transport and AsyncsockDispatcher renamed intoelie2015-07-059-27/+27
| | | | | | asyncore and AsyncoreDispatcher respectively to provide better hint to fellow devs on the underlying transport being used - backward compatibility preserved through dummy asynsock symbols
* - The asyncore-based transport subsystem extended to support POSIXelie2015-01-201-0/+87
| | | | | | | | | | | | 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.
* example script on SNMP Agents UDP broadcast-based discovery addedelie2013-12-121-0/+77
|
* most of Command Generator examples re-pointed to a live SNMP Agentelie2013-05-054-7/+7
| | | | at demo.snmplabs.com to ease experimentation and adoption
* more transports, text OIDs and general comments addedelie2012-07-217-42/+164
|
* major overhawl aimed at Python 2.4 through 3.2 compatibilityelie2011-11-066-26/+123
|
* all dict.has_key() & dict.get() invocations replaced with modern syntaxelie2011-01-202-3/+3
| | | | (this breaks compatibility with Python 2.1 and older).
* python 1.6 compatibility fixelie2010-12-121-1/+1
|
* * getVarBindTable() does not filter SNMP exception values anymoreelie2010-11-141-3/+2
| | | | | * getVarBindTable() of v1 API now returns Null instead of None * GETNEXT/GETBULK apps now track EOM condition automatically
* * missing SNMPTrap PDU API implemented at proto.api.v2c, RFC2576 proxyelie2009-12-031-1/+1
| | | | | code reworked. * fix to sysUpTime OID at SNMPv2 TRAP PDU.
* fix to setting errors while building PDUelie2006-05-211-8/+14
|
* initial value to Null('') addedelie2006-04-242-4/+4
|
* Header comment updatedelie2005-11-046-6/+6
|
* format outputelie2005-10-264-4/+4
|
* prettyOut() -> prettyPrint()elie2005-10-141-2/+2
|
* * handle strange SNMP versionselie2005-10-141-12/+15
| | | | * prettyOut() -> prettyPrint()
* prettyOut() -> prettyPrinter()elie2005-10-142-4/+4
|
* do not trick Dispatcher into infinite loopingelie2005-10-141-1/+0
|
* handle strange SNMP versionselie2005-10-141-1/+5
|
* * pretty print Agent responseelie2005-10-141-3/+3
| | | | * query for Managed Objects provided by cmdrsp example
* pretty print Agent responseelie2005-10-141-1/+3
|
* * use SET PDU for Set Command Generator exampleelie2005-10-141-5/+5
| | | | * pretty print Agent response
* port number fixedelie2005-10-121-1/+1
|
* transportDispatcher.stopDispatcher() is depricatedelie2005-10-101-1/+1
|
* trap* example names renamed into ntf* for clarityelie2005-10-092-0/+85
|
* make use of transport dispatcher job controlelie2005-10-054-3/+10
|
* listen on port 161 by defaultelie2005-07-121-1/+1
|
* comments cleaned upelie2005-06-281-2/+0
|
* pass naked OIDs to simplify examples; examples with MIB resolution movedelie2005-06-271-3/+3
| | | | to withmib/*
* adjusted to newer APIelie2005-06-242-57/+48
|