Commit Graph

7 Commits (master)

Author SHA1 Message Date
Ilya Etingof ac0b956d00
Add `hlapi.v1arch` API (#186)
* 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
2018-08-12 17:22:58 +02:00
Vincent Bernat 2048a92303 Ensure tests run through tox are using the expected Python executable (#175)
Otherwise, they are likely to use the system python.
2018-07-31 08:41:55 +02:00
Ilya Etingof f12389f1ae reduce tests output by tailing them 2018-06-29 09:29:46 +02:00
Ilya Etingof 8e655f46e3 pep8 fixes 2016-03-30 23:29:55 +02:00
Ilya Etingof 6f0ba0a5fc more fixes to test scripts 2016-03-12 10:42:48 +01:00
Ilya Etingof 8cf8616278 exclude network-specific scripts 2016-03-12 10:25:58 +01:00
Ilya Etingof 98b42276e0 travis added 2016-03-12 10:08:18 +01:00