Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * default /usr/share/mibs MIB source added | elie | 2015-07-04 | 2 | -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 available | elie | 2015-06-29 | 1 | -9/+10 |
| | |||||
* | ObjectIdentity class additionally supports just a MIB module name | elie | 2015-06-21 | 1 | -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 MibViewController | elie | 2015-06-20 | 2 | -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 subclass | elie | 2015-06-06 | 1 | -4/+3 |
| | | | | constraints | ||||
* | .setSyntax() added | elie | 2015-06-04 | 1 | -0/+3 |
| | |||||
* | use MibBuilder.loadTexts flag for initializing pysmi's genTexts one | elie | 2015-06-04 | 2 | -2/+3 |
| | |||||
* | fix to pysmi status interpretation | elie | 2015-06-03 | 1 | -1/+1 |
| | |||||
* | catch and report possible MIB compilation errors | elie | 2015-05-31 | 1 | -2/+5 |
| | |||||
* | Major overhaul related to PySMI integration and Standard SNMP Applications | elie | 2015-05-31 | 2 | -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 handling | elie | 2015-05-31 | 1 | -2/+2 |
| | |||||
* | * read any of 'PYSNMP_MIB_PKGS', 'PYSNMP_MIB_DIRS', 'PYSNMP_MIB_DIR' | elie | 2015-05-31 | 1 | -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 prototype | elie | 2015-05-18 | 1 | -3/+3 |
| | |||||
* | - Initial PySMI integration. Original ASN.1 MIBs could now be parsed, stored | elie | 2015-05-17 | 3 | -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 path | elie | 2015-04-27 | 1 | -1/+11 |
| | | | | (~/,pysnmp/mibs) at MibBuilder | ||||
* | Parts of SMIv1 remnant MIBs added to provide complete compatibility with | elie | 2015-04-27 | 2 | -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 error | elie | 2015-04-27 | 1 | -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 ENOENT | elie | 2015-03-07 | 1 | -5/+20 |
| | |||||
* | - The asyncore-based transport subsystem extended to support POSIX | elie | 2015-01-20 | 2 | -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 MibBuilder | elie | 2014-10-26 | 1 | -1/+4 |
| | |||||
* | pylint'ed | elie | 2014-06-17 | 1 | -1/+1 |
| | |||||
* | missing wrongLength and wrongEncoding SMI errors added | elie | 2014-03-25 | 1 | -0/+2 |
| | |||||
* | typo | elie | 2013-09-29 | 1 | -1/+1 |
| | |||||
* | sometimes missing inet_ntop()/inet_pton() reimplemented in pure struct | elie | 2013-09-24 | 1 | -67/+105 |
| | |||||
* | added ctypes dependency for old Pythons on Windows | elie | 2013-09-23 | 1 | -1/+5 |
| | |||||
* | fix to SnmpAdminString, SnmpTagList, SnmpTagValue types to make them | elie | 2013-08-03 | 2 | -0/+3 |
| | | | | supporting UTF-8 initializers. | ||||
* | fixes to inet_ntop()/inet_pton() | elie | 2013-07-31 | 1 | -14/+14 |
| | |||||
* | fix to inet_ntop()/inet_pton() support on Windows | elie | 2013-07-31 | 1 | -9/+65 |
| | |||||
* | use format_exception() | elie | 2013-06-11 | 2 | -2/+2 |
| | |||||
* | FSM exception handling reworked | elie | 2013-06-11 | 1 | -2/+3 |
| | |||||
* | Fix to usmUserSecurityName table column implementation -- automatic value | elie | 2013-06-10 | 1 | -27/+1 |
| | | | | generation from index value removed. | ||||
* | undefined variable | elie | 2013-06-10 | 1 | -1/+1 |
| | |||||
* | do not re-raise exceptions with original traceback as it breaks | elie | 2013-06-10 | 2 | -6/+8 |
| | | | | | py3k compatibility instead log the original traceback into debug routine | ||||
* | exception re-raising improved at MibInstrumController.flipFlopFsm() so | elie | 2013-06-10 | 1 | -2/+2 |
| | | | | that original traceback is preserved. | ||||
* | unused variables, imports; wrong indentation; undefined prototype attribues | elie | 2013-06-04 | 3 | -7/+9 |
| | | | | all the things that bothers linter | ||||
* | traceback formatting improved | elie | 2013-06-04 | 1 | -3/+9 |
| | |||||
* | debug issue fixed | elie | 2013-05-04 | 1 | -1/+1 |
| | |||||
* | delV3User() function improved to drop all rows from USM table that | elie | 2013-04-17 | 1 | -1/+1 |
| | | | | were cloned from the target one | ||||
* | the $PYSNMP_MIB_DIR & $PYSNMP_MIB_DIRS & $PYSNMP_MIB_PKGS path separator | elie | 2013-03-13 | 1 | -4/+6 |
| | | | | made platform-specific. | ||||
* | remove \r\n from sysDescr.0 | elie | 2013-01-05 | 1 | -1/+1 |
| | |||||
* | SMI exceptions are supposed to carry indices of failed var-bind component | elie | 2012-12-13 | 1 | -3/+3 |
| | |||||
* | * probe setValue() rather than instrumClone() at terminal node value object | elie | 2012-12-05 | 2 | -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() | elie | 2012-12-04 | 1 | -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 instances | elie | 2012-12-02 | 1 | -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 possible | elie | 2012-12-02 | 1 | -2/+14 |
| | | | | | kinds of Management Instrumentation controllers - MibInstrumController.getMibBuilder() added | ||||
* | unnecessary *MibSource explicit initialization calls removed at MibBuilder | elie | 2012-11-24 | 1 | -5/+2 |
| | |||||
* | Attempt to convert Windows style EOL into UNIX ones in MIB source | elie | 2012-10-14 | 1 | -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 available | elie | 2012-09-04 | 1 | -2/+5 |
| | |||||
* | consider we are dealing with .egg if __loader__ is present (it is | elie | 2012-08-29 | 1 | -1/+1 |
| | | | | always present since Python 3.3) AND __loader__ has _files attribute. | ||||
* | for MIB modules loading, invoke __import__() like | elie | 2012-08-24 | 1 | -3/+1 |
| | | | | | >>> from pysnmp.smi.mibs import __init__ which seems to be more in-line with __import__() |