14
0
forked from pool/python-pysnmp

- Update to 4.2.1

- Support string OIDs at one-liner API.
  - Code quality of libsmi2pysnmp tool improved, MIBs re-built.
  - SNMP-PROXY-MIB & SNMP-USER-BASED-SM-3DES-MIB added
  - v1arch bulkgen.py example added
  - Major overhawl for Python 2.4 -- 3.2 compatibility:
    + get rid of old-style types
    + drop string module usage
    + switch to rich comparation
    + drop explicit long integer type use
    + map()/filter() replaced with list comprehension
    + apply() replaced with */**args
    + dictionary operations made 2K/3K compatible
    + division operator made 2K/3K compatible
    + sorting function now operates on key
    + iterators returned by some funcs in py3k converted to lists
    + exception syntax made 2K/3K compatible
    + tuple function arguments resolved to scalars to become py3k compatible
    + BER octetstream is now of type bytes (Py3k) or still string (Py2k)
- 4.1.16d
  - Fix to SNMPv1 Trap PDU agentAddress setter shortcut method.
- 4.1.16c
  - Missing module import fixed in privacy subsystem
- 4.1.16b
  - Oneliner CommandGenerator can now optionally ignore non-increasing OIDs.
  - Default CommandResponder now skips non-compliant (Counter64) values
    when responding to a v1 Manager.
  - Fix to state information handling at CommandResponder app.
  - Fix to Twisted reactor shutdown condition.
  - Fix to distutils dependencies syntax.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pysnmp?expand=0&rev=13
This commit is contained in:
2011-11-27 08:40:29 +00:00
committed by Git OBS Bridge
parent 100c4786a4
commit 78a1e897d1
4 changed files with 126 additions and 4 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2b16665388313201bf64e329f96f39424ddf2704a001443a037aff4d004ae55b
size 186533

3
pysnmp-4.2.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e9b8b0d4ecc45e6f6a920b13f09e28e9d6051ed0b5cf458847bc34bcb0422ff0
size 194057

View File

@@ -1,3 +1,125 @@
-------------------------------------------------------------------
Sun Nov 27 08:35:10 UTC 2011 - jfunk@funktronics.ca
- Update to 4.2.1
- Support string OIDs at one-liner API.
- Code quality of libsmi2pysnmp tool improved, MIBs re-built.
- SNMP-PROXY-MIB & SNMP-USER-BASED-SM-3DES-MIB added
- v1arch bulkgen.py example added
- Major overhawl for Python 2.4 -- 3.2 compatibility:
+ get rid of old-style types
+ drop string module usage
+ switch to rich comparation
+ drop explicit long integer type use
+ map()/filter() replaced with list comprehension
+ apply() replaced with */**args
+ dictionary operations made 2K/3K compatible
+ division operator made 2K/3K compatible
+ sorting function now operates on key
+ iterators returned by some funcs in py3k converted to lists
+ exception syntax made 2K/3K compatible
+ tuple function arguments resolved to scalars to become py3k compatible
+ BER octetstream is now of type bytes (Py3k) or still string (Py2k)
- 4.1.16d
- Fix to SNMPv1 Trap PDU agentAddress setter shortcut method.
- 4.1.16c
- Missing module import fixed in privacy subsystem
- 4.1.16b
- Oneliner CommandGenerator can now optionally ignore non-increasing OIDs.
- Default CommandResponder now skips non-compliant (Counter64) values
when responding to a v1 Manager.
- Fix to state information handling at CommandResponder app.
- Fix to Twisted reactor shutdown condition.
- Fix to distutils dependencies syntax.
- 4.1.16a
- Extended Security Options (3DESEDE, AES192, AES256) privacy
protocols implemented.
- The error-indication codes moved from literals to objects for reliability
and clarity
- Fix to v1.TrapPDUAPI.getVarBinds() to address PDU component at the right
position.
- Fix to rfc1902.Bits initialization from named bits sequence.
- Fix to MIB builder by-extension module filtering code to cope with .pyw
files.
- Internal caches structure improved.
- Sync versions of oneliner apps split off async implementation for clarity.
- Randomize initial in various numeric sequences.
- MsgAndPduDsp expectResponse parameters passing reworked.
- GetNext/GetBulk response processing logic moved to getNextVarBinds()
- Changes towards performance improvement:
+ all dict.has_key() & dict.get() invocations replaced with modern syntax
(this breaks compatibility with Python 2.1 and older).
+ introduce the MibInstrumControlle.readVarsFast() method (which skips
the "testing" phase of MIB value readin) for dealing with internal
configuration (LCD).
+ default debug.logger is now just a zero value instead of an object
what saves big on frequent calls
+ SNMPv2-SMI columnar indices <-> index values convertion code optimized.
+ pre-compute and re-use some of ASN.1 structures.
+ avoid setting PDU defaults to save on unnecessary initialization.
+ skip ASN.1 types verification where possible.
+ at oneliner Command Generator, avoid looking up pure OID arguments
at MIB as it's pointless but takes time.
+ cache MIB columnar objects instance ID <-> symbolic index representation
mapping
- 4.1.15a
- SNMP Proxy example added.
- End-of-MIB condition detection reworked what caused backward
incompatibility at v1arch GETNEXT API. Previous pysnmp versions
used value = None in var-binds as returned by getVarBindTable()
API method. This version uses rfc1905 exception values (v2c/v3)
or pyasn1 Null (v1).
Built-in GETNEXT/GETBULK apps now do not require user to track
end-of-mib conditions anymore -- this is now done automatically.
- CommandResponder API now supports async mode of operation.
- SNMP exception values now exported from rfc1905 module, and made
pretty printable.
- Lexicographic walking mode is now supported at oneliner CommandGenerator.
- ContextEngineId&ContextName parameters passing implemented at
v3arch oneliner API.
- Multiple instances of the same transport domain now supported.
- Initial snmpEngineId value generation improved not to accidentally
collide within an administrative domain.
- MibTableColumn instances now build value-to-column-instance map
to speedup by-value search.
- SNMPv2-CONF::AgentCapabilities macro implemented.
- The libsmi2pysnmp tool handles some more MACROs.
- Void access control module implemented to let apps disabling [default] VACM.
- Allow standard SNMP apps to choose access control method to use.
- Twisted-based CommandResponder example added.
- Fix/rework of Twisted GETNEXT/BULK CommandGenerator callback API to
make it simpler and uniform with other CommandGenerators
- Fix to SNMPv3 security module to store peer SNMP engine timeline
only if taken from an authenticated message. Prior to this fix
SNMP engine was not been protected from spoofing.
- Fix to $SMIPATH initialization at build-pysnmp-mib.
- Fix to maxSizeResponseScopedPDU calculation.
- Fix to Next/Bulk CommandGenerators to catch a non-increasing OID
error condition (what prevents looping).
- Fix to Opaque value tagging at rfc1155.Opaque type.
- Fix to handle (fail gracefully) zero-length user password.
- Fix to SNMP error propagation at Twisted driver (SF tracker ID #3054505).
- Fix to Agent-role snmpEngineId discovery procedure that allows
authenticated ReportPDU generation.
- Fix to SNMPv1 PDU handling at CommandResponder & NotificationReceiver
apps.
- Fix to CommandResponder app to skip Counter64 SMI values when responding
to SNMPv1 Manager.
- Fix to protocol translator code (rfc2576) to handle Counter64 type
in v2c-to-v1 PDU translation.
- Fix to non-response var-binds translation in rfc2576.v2ToV1().
- Fix to wrong exceptions used in pysnmp/entity modules.
- Fix to noauth/nopriv security module so that it would not crash SNMP
engine if called accidentally.
- Fix to CommandResponder not to return out-of-range errorIndex along
with genErr
- Fix to GETBULK CommandResponder to do a by-column MIB walk, not by-raw.
- Fix to getVarBindTable() API function logic.
- Fix to example Manager scripts to use errorIndex when available.
- Fix to dummy encryptData()/decryptData() API
- Fix to oneliner GETBULK table collection code to make it stripping
uneven rows off table tail.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 17 00:00:40 UTC 2010 - jfunk@funktronics.ca Fri Sep 17 00:00:40 UTC 2010 - jfunk@funktronics.ca

View File

@@ -16,7 +16,7 @@
# #
Name: python-pysnmp Name: python-pysnmp
Version: 4.1.16c Version: 4.2.1
Release: 0 Release: 0
Url: http://pysnmp.sourceforge.net/ Url: http://pysnmp.sourceforge.net/
Summary: A pure-Python SNMPv1/v2c/v3 library Summary: A pure-Python SNMPv1/v2c/v3 library