summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* minor fixes to the docsv4.4.3Ilya Etingof2017-12-222-5/+3
|
* cosmetic code fixesIlya Etingof2017-12-212-2/+12
|
* minor docs editsIlya Etingof2017-12-171-9/+9
|
* preserve SNMPv1 error-status when proxying to SNMPv2cIlya Etingof2017-12-172-7/+8
|
* fixed missing SmiError class at proto.frc1155Ilya Etingof2017-12-142-0/+2
|
* added missing SHA2 support for Blumenthal key localizationIlya Etingof2017-12-032-8/+15
|
* skip printing out non-initialized MIB objects in example MIB walkIlya Etingof2017-12-031-3/+3
|
* named bits fix at rfc1902.BitsIlya Etingof2017-12-032-29/+9
|
* migrated references from SourceForge (#110)Ilya Etingof2017-11-17159-199/+206
|
* fixed typo in the changelogv4.4.2Ilya Etingof2017-11-111-1/+2
|
* 4.4.2 releaseIlya Etingof2017-11-111-1/+1
|
* missing get/setReference() added to SNMPv2-SMI::NotificationTypeIlya Etingof2017-11-112-8/+31
|
* fixed SNMPv3 retries algorithm inconsistencies (#106)Ilya Etingof2017-11-113-21/+35
|
* encode IPv6 requirement into example scripts names (#102)Ilya Etingof2017-11-0621-34/+37
|
* added support for some more fields of SMIv2 MACRO typesIlya Etingof2017-11-063-19/+80
|
* fix to pysnmp version type at MibBuilderIlya Etingof2017-11-061-1/+1
|
* make pysnmp version available at MibBuilderIlya Etingof2017-11-052-1/+9
|
* the `append` option added to .setObjects()Ilya Etingof2017-11-053-10/+25
|
* updates to Alabaster theme optionsIlya Etingof2017-11-051-1/+1
|
* fixes to travisIlya Etingof2017-10-261-1/+1
|
* fixes to Alabaster theme optionsIlya Etingof2017-10-267-204/+119
|
* Alabaster theme optionsIlya Etingof2017-10-231-1/+7
|
* CHANGELOG updatedIlya Etingof2017-10-231-1/+1
|
* Fix non-implied-OID-to-index conversion (#98)Eugene M. Kim2017-10-231-1/+1
| | | | | Non-implied OIDs, when laid in index, should be prefixed with the length of the OID, but the current code erroneously uses len(self.name), that is, the length of the MibTableRow's name instead.
* 4.4.2Ilya Etingof2017-10-232-1/+6
|
* 4.4.1v4.4.1Ilya Etingof2017-10-231-3/+3
|
* make sure to pass an initializer to ASN.1 Null()-based objectsIlya Etingof2017-10-191-3/+3
|
* fixed non-translated PDU version retries at CommandGeneratorIlya Etingof2017-10-182-1/+14
|
* make sure not to pass `None` to SMI .setValue()Ilya Etingof2017-10-182-0/+15
| | | | This is a prerequisite for pyasn1 0.4.x
* make sure to pass an initializer to ASN.1 Null()Ilya Etingof2017-10-189-13/+12
| | | | This is a prerequisite for pyasn1 0.4.x
* fixed TestAndIncr implementationIlya Etingof2017-10-181-1/+1
|
* thanks to astralblueIlya Etingof2017-10-181-0/+1
|
* note fixed errorIlya Etingof2017-10-181-0/+2
|
* Fix InetAddress-to-InetAddressIPv{4,6} index cast (#97)Eugene M. Kim2017-10-181-3/+1
| | | | | | | | | | | | | * Fix InetAddress-to-InetAddressIPv{4,6} index cast Previously, the pretty value of the InetAddress instance was being used. Since InetAddress does not know how to format the raw octets to protocol-specific syntax (IPv4 or IPv6), the pretty value was something like u'\x00\x00\x00\x00' instead of u'0.0.0.0', which in turn caused parse error in the protocol-specific subclass. Passing the raw value (4- or 16-byte octet string) itself works as the protocol-specific subclasses know how to handle these.
* documentation typo fixIlya Etingof2017-10-171-1/+1
|
* note NetworkAddress in SNMP table indices fixIlya Etingof2017-10-141-0/+1
|
* Let NetworkAddress be cloned from another NetworkAddress (#93)Eugene M. Kim2017-10-141-3/+5
| | | | | This is to meet the basic clone() contract and unbreak round-trip index conversions. Previously only IPAddress values were allowed as the clone source.
* Do not cache indices with a mutable index value (#94)Eugene M. Kim2017-10-141-2/+7
| | | NetworkAddress is one such index value.
* Improve documentation of varBindTable returned by bulkCmd() (#91)Eugene M. Kim2017-10-123-21/+74
| | | | | | | * Clarify varBindTable returned by bulkCmd() in docs * Fix bulkCmd() examples * Abbreviate endOfMibView * Fix fixed-width markup of Get{BulkRequest,Response}-PDU
* note a fix in changelogIlya Etingof2017-10-101-1/+3
|
* Fix OID type matching in ObjectType.resolveWithMib (#90)Eugene M. Kim2017-10-101-1/+1
| | | | | | | | | | | | | That is, reverse the supertype-subtype direction in the type matching call: Previously it was checking if the value was a supertype of OID, whereas the correct check should be whether the value is a subtype of OID. This had gone undetected so far because all values were of simple, tagged types, and if a value is not an OID, their tag set differed, i.e. neither is a subtype of the other. Recent introduction of NetworkAddress revealed this bug: Being an untagged Choice type, NetworkAddress's tag set is empty, and it counts as a supertype of OID: resolveWithMib() then erroneously treated it as an OID.
* Render NetworkAddress indices (#87)Eugene M. Kim2017-10-092-1/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add OID-index roundtrip methods to NetworkAddress This enables use of NetworkAddress as a table index. * Use NetworkAddress for RFC1213-MIB::atNetAddress Previously atNetAddress defined to be an IpAddress, whose table index mapping was different from that of NetworkAddress. This prevented proper use of RFC1213-MIB::atTable instances, because: - OID-to-symbol resolution was failing; - Symbol-to-OID mapping result was invalid. * Move clone() from Choice to NetworkAddress Previously it was implemented in pyasn1.type.univ.Choice in case there may be more Choice-based types—such as NetworkAddress—used as a table index. However, SMIv2 (RFC 2578) limits the SYNTAX of an OBJECT-TYPE to be only PyASN1 “simple” types, and NetworkAddress is the only known Choice-based type used as a table index in MIB-I, so there is little reason to clutter PyASN1 with the one-off logic in anticipation of something will probably never happen. Having NetworkAddress's own clone() method also allows use of string literals as the value, so the following invocations are all valid: na = NetworkAddress() na1234 = na.clone('1.2.3.4') na1234_2 = na1234.clone() na1234_3 = na.clone(na1234) na4321 = na.clone(IpAddress('4.3.2.1')) To elaborate on simple types, SMIv2 limits the object syntax to be: - a base type (or its refinement) - a textual convention (or its refinement); or - a BITS pseudo-type. All base types descend from ASN.1 integer, octet string, or OID, all of which are simple types. PySNMP defines SMIv2 BITS as a subclass of OctetString, which is again a simple type. Finally, a SMIv2 textual convention (RFC 2579) is simply a syntactic sugar applied on top of either a base type a BITS type, so it is a simple type.
* Sphinx theme changed to Alabaster, minor documentation tweaksIlya Etingof2017-10-067-167/+40
|
* fixed Bits.clone()/subtype()Ilya Etingof2017-10-062-9/+12
|
* NotificationReceiver reports SNMPv1 TRAP community stringIlya Etingof2017-10-054-5/+13
|
* pycryptodome replaced with pycryptodomexIlya Etingof2017-10-059-10/+13
|
* Catch and pass exceptions to Twisted deferredIlya Etingof2017-10-053-25/+53
|
* Catch and pass exceptions to asyncio futures (#82)Eugene M. Kim2017-10-052-17/+49
| | | | | | | Previously an exceptions raised by vbProcessor.unmakeVarBinds() fell through, and asyncio base event loop caught and reported it on stderr, while the original cmdgen's future went unfinished, causing the call to hang forever. Match the synchronous version's behavior, which is to raise the exception for the caller of the cmdgen to catch.
* Fix implied string index rendering (#84)Eugene M. Kim2017-10-051-1/+1
| | | | | Commit 30167082cd3f2706f733168da8647bbc4126696d fixed string index rendering except for implied string types, which were left broken. Close that gap by applying the same workaround.
* fixed Bits.prettyPrint() crashIlya Etingof2017-09-182-4/+5
|