Commit Graph

49 Commits (d5b3c90d29d9f0099c686e838a8731c6f2723088)

Author SHA1 Message Date
Ilya Etingof d5b3c90d29 email changed, copyright extended to the year 2017 2017-01-12 01:05:56 +01:00
Ilya Etingof 91a1292067 converted to new-style classes 2016-06-12 14:07:24 +02:00
Ilya Etingof 6cd2de39a8 pep8 reformatted 2016-04-03 11:29:27 +02:00
elie c50fe2a466 copyright updated 2015-12-29 20:34:33 +00:00
elie 1244961c3f all SNMP counters now incremented via '+= 1' rather than 'x = x + 1' 2015-12-12 15:48:47 +00:00
elie 87a7a35d1e copyright notice added to source code 2015-11-20 20:57:28 +00:00
elie 9e73d5b89c linted the bad-continuation issue as well as some others 2015-10-17 19:14:29 +00:00
elie 71dd5565a4 linted for trailing whitespaces 2015-10-17 09:54:53 +00:00
elie 14d3feda48 possible memory leak fix 2015-01-30 17:01:58 +00:00
elie 3c1ceee64a clean up request queue on pysnmp-level processing failure, not just
StatusInformation
2014-03-24 17:18:05 +00:00
elie ce56f1b40f Execution Observer facility implemented to give app an inside view
of SNMP engine inner workings. This is thought to be a generic
framework for viewing (and modifying) various internal states
of pysnmp engine. Previously introduced non-RFC APIs (like
getting peer's transport endpoint) will be gradually migrated to
this new framework.
2013-11-09 22:01:33 +00:00
elie 5df996f4cf missing imports, non-existing variables as suggested by linter 2013-06-03 21:58:52 +00:00
elie fe72b2e9a1 fix to exceptions handling at MsgAndPduDispatcher.sendPdu() to avoid
sendPduHandle miss (followed by system crash) on cache expiration run
2013-05-04 14:59:28 +00:00
elie ff34cc9494 timing reporting in debug mode improved 2013-03-15 20:54:33 +00:00
elie 22ba8503ce better formatting 2012-08-16 07:00:24 +00:00
elie e7a8187e22 comment added 2012-07-22 19:27:56 +00:00
elie 933ef0db04 typo fix to snmpInASNParseErrs MIB variable 2012-05-15 11:01:34 +00:00
elie 9d90ddc80e fix to exception handling at decodeMessageVersion() caller to prevent
ASN.1 parsing errors crashing the whole app
2012-05-14 11:28:59 +00:00
elie 6051a4d86d transport dispatcher now provides its own time expressed in
fractions of second. SNMP engine uses this notion of time for
handling requests timeout to make packet flow time bound
2011-11-27 08:10:43 +00:00
elie 0df571a7b1 exlicit repr() calls replaced with '%r' 2011-11-08 15:04:59 +00:00
elie f0406dd01c major overhawl aimed at Python 2.4 through 3.2 compatibility 2011-11-06 20:37:09 +00:00
elie 634c0f03c7 MsgAndPduDsp expectResponse parameters passing reworked. 2011-02-12 07:21:59 +00:00
elie 84620b6aa5 randomize initials in numeric sequences; grow serial number ranges 2011-02-11 21:38:19 +00:00
elie de6e3d447e cache is an external object 2011-02-11 16:45:58 +00:00
elie 2d34d4d970 all dict.has_key() & dict.get() invocations replaced with modern syntax
(this breaks compatibility with Python 2.1 and older).
2011-01-20 17:11:43 +00:00
elie 4a38ebbe9f The error-indication codes moved from literals to objects 2010-12-25 21:52:54 +00:00
elie 2476dc5084 log sendPdu() callback context in debug mode 2010-07-10 08:50:44 +00:00
elie 58e92dee1a SNMP message debugging printout improved 2010-06-23 15:47:43 +00:00
elie 58c16ad0d0 some more debugging added 2010-02-03 00:05:43 +00:00
elie baa044dd6b pass stateReference to NotificationReceiver app and let it browse
request details (transport details at the moment) using stateReference
2009-05-22 07:01:03 +00:00
elie a29473efb1 MsgAndPduDispatcher now takes optional MibInstrumController instance 2008-02-05 20:13:53 +00:00
elie c70e11c36a don't import unused modules 2007-04-06 15:54:11 +00:00
elie 56659fb764 handle possibly empty PDU in debugging 2007-02-14 09:59:07 +00:00
elie 4fcfa69c6c PDU debugging added 2006-09-29 13:13:26 +00:00
elie f4acbcf39c debugging added 2006-09-06 16:41:47 +00:00
elie 03ccf65f26 cache more details on request before sending it out to make sure
it could be expired properly
2006-09-05 14:16:58 +00:00
elie ae4fac402e still need to figure out how to best release state info 2006-07-12 08:35:34 +00:00
elie 048a79a2bf work with Managed Objects instances rather than with their
specification
2005-10-26 21:32:39 +00:00
elie 4250497319 * do not default contextEngineId to anything
* contextEngineID -> contextEngineId
2005-10-12 16:03:42 +00:00
elie 097415b4ef app registration fixes 2005-10-11 19:23:34 +00:00
elie 3bb7f0f84e do not cache requests if response is not expected 2005-10-09 09:59:44 +00:00
elie 8e3906c504 layout fix 2005-10-07 21:18:01 +00:00
elie 44adb319e6 unused import dropped 2005-10-07 19:53:32 +00:00
elie a53164a264 comments cleaned up 2005-06-28 20:25:11 +00:00
elie 2d628e4bdc caches management logic might need a re-work 2005-06-22 21:50:28 +00:00
elie 7eff1b73d2 MsgAndPduDispatcher.releaseStateInformation() added 2005-06-22 18:49:29 +00:00
elie 3265782ef5 check for uninitialized transport 2005-06-17 13:57:56 +00:00
elie bffd6ea38a * adjusted to new transport registration API
* excessive exceptions rediced
* MP-models registration moved to SnmpEngine scope
* request re-trying code moved to SnmpEngine scope
2005-06-14 10:09:16 +00:00
elie 5895190d84 Moved from the top-level under the roof of v4 API 2004-11-12 14:21:27 +00:00