summaryrefslogtreecommitdiff
path: root/examples/v3arch
Commit message (Collapse)AuthorAgeFilesLines
* Add SNMP agent with multiple SNMP context example scriptIlya Etingof2019-11-121-0/+76
|
* Fix malformed OBJECT-TYPE MAX-ACCESS constantsIlya Etingof2019-08-051-6/+6
|
* Release 4.4.10Ilya Etingof2019-07-301-1/+1
|
* Rework VACM access control function (#287)Ilya Etingof2019-07-291-0/+117
| | | | | | | | | Most important changes include: * Added subtree match negation support (vacmViewTreeFamilyType) * Added subtree family mask support (vacmViewTreeFamilyMask) * Added prefix content name matching support (vacmAccessContextMatch) * Added key VACM tables caching for better lookup performance
* Fix some ntforg example scripts not using trapOIDIlya Etingof2019-02-252-2/+2
|
* Reformat example scripts for easier reading (#241)Ilya Etingof2019-02-1253-100/+213
|
* Uppercase global constants (#238)Ilya Etingof2019-02-1057-163/+163
| | | | | | | | | This is a massive patch essentially upper-casing global/class attributes that mean to be constants. Some previously exposed constants have been preserved for compatibility reasons (notably, in `hlapi`), though the rest might break user code relying on pysnmp 4.
* Redesigned SMI objects management model (#214)Ilya Etingof2018-12-293-3/+3
| | | | | | | | | | | | | | The primary motivation behind this redesign is to allow asynchronous operations between SNMP responder and the data source feeding its MIB. This is achieved by redesigning all `read*`, `write*`, `create*` and `destroy*` methods of the `SNMPv2-SMI` MIB objects to return immediately and deliver their results via a call back. This modification brings significant and backward incompatible changes to the low-level MIB operations. The pysnmp MIB modules compiled for older pysnmp remain compatible.
* Refactor MIB state machine into asynchronous operations (#210)Ilya Etingof2018-10-245-5/+5
| | | | | | | | | | | | | | Convert to async MIB instrumentation API (#210) MIB instrumentation API changed to allow for asynchronous managed objects access. The MIB instrumentation methods called by the state machine now return immediately and resume once the callback is called. The built-in SNMPv2-SMI objects are still synchronous. This change is a prerequisite for fully asynchronous managed objects implementation.
* Convert to async MIB instrumentation API (#209)Ilya Etingof2018-10-131-1/+3
| | | | | | | | | | | | | | | | MIB instrumentation API changed to allow for asynchronous managed objects access. Although built-in SNMPv2-SMI objects are still synchronous, the MIB instrumentation API is async what allows users to replace default MIB instrumentation with their own, potentially asynchronous. CommandResponder refactored to facilitate asynchronous MIB instrumentation routines. The `readVars`, `readNextVars` and `writeVars` MIB controller methods return immediately and deliver their results via a call back. SMI/MIB managed objects API overhauled for simplicity and flexibility breaking backward compatibility.
* Simplify SNMPv3 TRAP receiver exampleIlya Etingof2018-09-021-22/+3
|
* Overhaul SMI/MIB instrumentation API (#161)Ilya Etingof2018-06-302-4/+4
| | | | | | | | | | | Overhaul SMI/MIB instrumentation API SMI/MIB managed objects API overhauled for simplicity and flexibility breaking backward compatibility. This change would allow way more control over custom MIB managed objects and also is the prerequisite for asynchronous MIB instrumentation.
* encode IPv6 requirement into example scripts names (#102)Ilya Etingof2017-11-063-0/+0
|
* Sphinx theme changed to Alabaster, minor documentation tweaksIlya Etingof2017-10-062-127/+0
|
* NotificationReceiver reports SNMPv1 TRAP community stringIlya Etingof2017-10-051-1/+0
|
* fail gracefully when sha2 suite is not availableIlya Etingof2017-08-032-0/+127
|
* updated IP address for demo.snmplabs.com in examplesIlya Etingof2016-07-3031-98/+98
|
* fixes to end-of-docstring sentinelIlya Etingof2016-04-081-1/+1
|
* pep8 reformattedIlya Etingof2016-04-051-2/+2
|
* pep8 reformattedIlya Etingof2016-04-0158-336/+341
|
* pep8 fixesIlya Etingof2016-03-3037-0/+40
|
* example on implicit notification objects initialization improvedIlya Etingof2016-03-081-0/+0
|
* changed/removed quoteselie2015-12-193-3/+3
|
* notification origination examples debugged and adjusted to workelie2015-12-197-21/+3
| | | | with demo.snmplabs.com out-of-the-box
* fix to snmptrap c/lelie2015-12-191-1/+1
|
* notification originator examples re-pointed to Notification Receiverelie2015-12-1312-44/+44
| | | | at demo.snmplabs.com
* proper markup and fixeselie2015-09-172-18/+31
|
* * synchronous oneliner apps redesigned to offer Python generator-basedelie2015-09-1457-1012/+1198
| | | | | API along with a more comprehensive set of accepted parameters. * massively documented (in Sphinx, NumPy style)
* use named enumerarion for clarityelie2015-07-051-1/+1
|
* RowStatus needs initializationelie2015-07-051-1/+1
|
* - original asynsock transport and AsyncsockDispatcher renamed intoelie2015-07-0550-52/+52
| | | | | | asyncore and AsyncoreDispatcher respectively to provide better hint to fellow devs on the underlying transport being used - backward compatibility preserved through dummy asynsock symbols
* * default /usr/share/mibs MIB source addedelie2015-07-041-0/+3
| | | | | | | | * 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
* ignore send notification ID when sending trapelie2015-06-031-2/+2
|
* initial revisionelie2015-06-011-0/+84
|
* Major overhaul related to PySMI integration and Standard SNMP Applicationselie2015-05-3112-207/+220
| | | | | | | | | 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
* make config.delTransport() returning detached transport objectelie2015-03-071-0/+5
|
* - The asyncore-based transport subsystem extended to support POSIXelie2015-01-203-1/+189
| | | | | | | | | | | | 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.
* note on python version addedelie2014-11-162-0/+4
|
* initial support for asyncio network transport addedelie2014-11-042-0/+148
|
* converted to the latest API that supports more data to be usedelie2014-06-1724-156/+222
|
* converted to the latest PDU-level APIelie2014-06-154-105/+93
|
* echo back an OCTET STRING, not request valueselie2014-06-151-2/+2
|
* fix to test OIDselie2014-06-151-3/+3
|
* updatedelie2014-01-251-0/+9
|
* example script explaining incoming message's communityName re-writing addedelie2014-01-251-0/+77
|
* updated to include agent-side table populationelie2014-01-251-15/+41
|
* minor fixeselie2013-11-102-1/+8
|
* Execution Observer facility implemented to give app an inside viewelie2013-11-099-38/+363
| | | | | | | | 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.
* memory leak fixedelie2013-10-254-0/+8
|
* examples adjusted to work with fixed-EngineID SNMP simulatorelie2013-09-303-7/+8
|