diff options
author | Ilya Etingof <etingof@gmail.com> | 2018-08-12 17:22:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-12 17:22:58 +0200 |
commit | ac0b956d006a4b7b32780e852740b56ecd826c7e (patch) | |
tree | 4576911add0e18525991109acdb2a91bc4b2fde8 /docs/source/examples/hlapi/asyncore/sync/agent/ntforg/common-notifications.rst | |
parent | 488ec26798a4493ee0fc45e730f88f1365f56df7 (diff) | |
download | pysnmp-git-ac0b956d006a4b7b32780e852740b56ecd826c7e.tar.gz |
Add `hlapi.v1arch` API (#186)
* Add `hlapi.v1arch` API
Introduce new sub-package `pysnmp.hlapi.v1arch` which
wraps otherwise very detailed packet-level SNMP
messaging into a handful of convenience functions.
As a side effect, the `pysnmp.hlapi.*` sub-packages
moved under `pysnmp.hlapi.v3arch` though `pysnmp.hlapi`
still exposes `pysnmp.hlappi.v3arch.*` symbols to
retain some degree of backward compatibility.
The signature of the hlapi `.sendNotification()` call
has changed to accept `*varBinds` instead of a sequence
of `varBinds`. The rationale is to unify this method
call with similar methods of CommandGenerator.
* Add v1arch docs and reshuffle hlapi docs
Diffstat (limited to 'docs/source/examples/hlapi/asyncore/sync/agent/ntforg/common-notifications.rst')
-rw-r--r-- | docs/source/examples/hlapi/asyncore/sync/agent/ntforg/common-notifications.rst | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/docs/source/examples/hlapi/asyncore/sync/agent/ntforg/common-notifications.rst b/docs/source/examples/hlapi/asyncore/sync/agent/ntforg/common-notifications.rst deleted file mode 100644 index 7b09fa90..00000000 --- a/docs/source/examples/hlapi/asyncore/sync/agent/ntforg/common-notifications.rst +++ /dev/null @@ -1,49 +0,0 @@ -.. toctree:: - :maxdepth: 2 - -Common notifications --------------------- - -.. include:: /../../examples/hlapi/asyncore/sync/agent/ntforg/v2c-trap-with-notification-objects.py - :start-after: """ - :end-before: """# - -.. literalinclude:: /../../examples/hlapi/asyncore/sync/agent/ntforg/v2c-trap-with-notification-objects.py - :start-after: """# - :language: python - -:download:`Download</../../examples/hlapi/asyncore/sync/agent/ntforg/v2c-trap-with-notification-objects.py>` script. - - -.. include:: /../../examples/hlapi/asyncore/sync/agent/ntforg/v3-inform.py - :start-after: """ - :end-before: """# - -.. literalinclude:: /../../examples/hlapi/asyncore/sync/agent/ntforg/v3-inform.py - :start-after: """# - :language: python - -:download:`Download</../../examples/hlapi/asyncore/sync/agent/ntforg/v3-inform.py>` script. - - -.. include:: /../../examples/hlapi/asyncore/sync/agent/ntforg/default-v1-trap.py - :start-after: """ - :end-before: """# - -.. literalinclude:: /../../examples/hlapi/asyncore/sync/agent/ntforg/default-v1-trap.py - :start-after: """# - :language: python - -:download:`Download</../../examples/hlapi/asyncore/sync/agent/ntforg/default-v1-trap.py>` script. - -.. include:: /../../examples/hlapi/asyncore/sync/agent/ntforg/v3-trap.py - :start-after: """ - :end-before: """# - -.. literalinclude:: /../../examples/hlapi/asyncore/sync/agent/ntforg/v3-trap.py - :start-after: """# - :language: python - -:download:`Download</../../examples/hlapi/asyncore/sync/agent/ntforg/v3-trap.py>` script. - -See also: :doc:`library reference </docs/api-reference>`. |