summaryrefslogtreecommitdiff
path: root/pysnmp/smi
Commit message (Collapse)AuthorAgeFilesLines
* * default /usr/share/mibs MIB source addedelie2015-07-042-23/+33
| | | | | | | | * 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
* provide public attributes even if pysmi not availableelie2015-06-291-9/+10
|
* ObjectIdentity class additionally supports just a MIB module nameelie2015-06-211-17/+35
| | | | | | 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.
* - a few additional MIB tree management methods added to MibViewControllerelie2015-06-202-9/+36
| | | | | | | to better address ordered nature of MIB tree nodes (namely, getFirst*, getLast* family of methods) - rfc1902.ObjectIdentity() now accepts 'last' keyword parameter to position on last (otherwise, first) object in given MIB module.
* removed RowStatus default value as it may collide with possible subclasselie2015-06-061-4/+3
| | | | constraints
* .setSyntax() addedelie2015-06-041-0/+3
|
* use MibBuilder.loadTexts flag for initializing pysmi's genTexts oneelie2015-06-042-2/+3
|
* fix to pysmi status interpretationelie2015-06-031-1/+1
|
* catch and report possible MIB compilation errorselie2015-05-311-2/+5
|
* Major overhaul related to PySMI integration and Standard SNMP Applicationselie2015-05-312-1/+464
| | | | | | | | | 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
* fix to missing REVISIONS MIB clause handlingelie2015-05-311-2/+2
|
* * read any of 'PYSNMP_MIB_PKGS', 'PYSNMP_MIB_DIRS', 'PYSNMP_MIB_DIR'elie2015-05-311-15/+13
| | | | | | | and append their contents to MIB search path instead of overriding existing path * on MIB file access error, raise more concise exceptions than just SmiError
* fix to function prototypeelie2015-05-181-3/+3
|
* - Initial PySMI integration. Original ASN.1 MIBs could now be parsed, storedelie2015-05-173-54/+137
| | | | | | | | 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.
* optional configuration/MIB directory added to MIB search pathelie2015-04-271-1/+11
| | | | (~/,pysnmp/mibs) at MibBuilder
* Parts of SMIv1 remnant MIBs added to provide complete compatibility withelie2015-04-272-0/+66
| | | | | SMIv1. Symbols defined in these MIBs only present in SMIv1 so they can't be substituted with their SMIv2 analogues.
* fix to smi.builder to explicitly fail on any MIB file access errorelie2015-04-271-9/+19
| | | | | (but ENOENT) and raise IOError uniformly on any directory/egg access failure
* fix to smi.builder to explicitly fail on any MIB file access error but ENOENTelie2015-03-071-5/+20
|
* - The asyncore-based transport subsystem extended to support POSIXelie2015-01-202-1/+46
| | | | | | | | | | | | 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.
* fix to file descriptor leak at MibBuilderelie2014-10-261-1/+4
|
* pylint'edelie2014-06-171-1/+1
|
* missing wrongLength and wrongEncoding SMI errors addedelie2014-03-251-0/+2
|
* typoelie2013-09-291-1/+1
|
* sometimes missing inet_ntop()/inet_pton() reimplemented in pure structelie2013-09-241-67/+105
|
* added ctypes dependency for old Pythons on Windowselie2013-09-231-1/+5
|
* fix to SnmpAdminString, SnmpTagList, SnmpTagValue types to make themelie2013-08-032-0/+3
| | | | supporting UTF-8 initializers.
* fixes to inet_ntop()/inet_pton()elie2013-07-311-14/+14
|
* fix to inet_ntop()/inet_pton() support on Windowselie2013-07-311-9/+65
|
* use format_exception()elie2013-06-112-2/+2
|
* FSM exception handling reworkedelie2013-06-111-2/+3
|
* Fix to usmUserSecurityName table column implementation -- automatic valueelie2013-06-101-27/+1
| | | | generation from index value removed.
* undefined variableelie2013-06-101-1/+1
|
* do not re-raise exceptions with original traceback as it breakselie2013-06-102-6/+8
| | | | | py3k compatibility instead log the original traceback into debug routine
* exception re-raising improved at MibInstrumController.flipFlopFsm() soelie2013-06-101-2/+2
| | | | that original traceback is preserved.
* unused variables, imports; wrong indentation; undefined prototype attribueselie2013-06-043-7/+9
| | | | all the things that bothers linter
* traceback formatting improvedelie2013-06-041-3/+9
|
* debug issue fixedelie2013-05-041-1/+1
|
* delV3User() function improved to drop all rows from USM table thatelie2013-04-171-1/+1
| | | | were cloned from the target one
* the $PYSNMP_MIB_DIR & $PYSNMP_MIB_DIRS & $PYSNMP_MIB_PKGS path separatorelie2013-03-131-4/+6
| | | | made platform-specific.
* remove \r\n from sysDescr.0elie2013-01-051-1/+1
|
* SMI exceptions are supposed to carry indices of failed var-bind componentelie2012-12-131-3/+3
|
* * probe setValue() rather than instrumClone() at terminal node value objectelie2012-12-052-6/+11
| | | | | | * group SNMP table management exceptions under TableRowManagement class * preserve table row management exceptions propagation through MIB nodes tree to make row operartions working again
* do not catch uninitialized-value exceptions at getValue()elie2012-12-041-8/+4
| | | | | | as it has been moved into snmp engine message serialization harness (leaving MIB instrumentation an ability to return uninitialized items)
* * Fix a couple of bugs at MibTable* logic involved for table instanceselie2012-12-021-12/+26
| | | | | | creation. * Fix to Management Instrumentation code to handle cases of non-initialized or not-compliant-to-constraints Managed Objects Instances.
* - AbstractMibInstrumController class added as a base class for all possibleelie2012-12-021-2/+14
| | | | | kinds of Management Instrumentation controllers - MibInstrumController.getMibBuilder() added
* unnecessary *MibSource explicit initialization calls removed at MibBuilderelie2012-11-241-5/+2
|
* Attempt to convert Windows style EOL into UNIX ones in MIB sourceelie2012-10-141-8/+2
| | | | | modules appeared to be unnecessary and even destructive to modules data in some cases. So the convertion code removed altogether.
* also check socket.has_ipv6 to see if IPv6 is availableelie2012-09-041-2/+5
|
* consider we are dealing with .egg if __loader__ is present (it iselie2012-08-291-1/+1
| | | | always present since Python 3.3) AND __loader__ has _files attribute.
* for MIB modules loading, invoke __import__() likeelie2012-08-241-3/+1
| | | | | >>> from pysnmp.smi.mibs import __init__ which seems to be more in-line with __import__()