Skip to content

Commit

Permalink
Updated manifest and docs contents.
Browse files Browse the repository at this point in the history
  • Loading branch information
lextm committed Oct 24, 2023
1 parent 0e80c40 commit bc87700
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 83 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ jobs:
- name: Set up Sphinx
uses: BSFishy/pip-action@v1
with:
packages: sphinx sphinx-autobuild sphinx_rtd_theme
packages: poetry

# Build the docs
- name: Build the docs
run: cd docs && make html
run: poetry install && cd docs && poetry run make html

- name: Build And Deploy
id: builddeploy
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
Revision 6.0.0, released 2023-10-21
-----------------------------------

- Python 12 only test release.
- Removed all legacy code so that the API surface is smaller and your code might break.

Revision 5.0.29, released 2023-09-12
------------------------------------

Expand Down
43 changes: 1 addition & 42 deletions docs/source/docs/api-reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,50 +15,9 @@ right into your Python interactive session.

Most of SNMP operations involve packet exchange over network. PySNMP
is shipped with a set of bindings to popular asynchronous Python I/O
frameworks that let you run PySNMP in parallel with other tasks your
framework that let you run PySNMP in parallel with other tasks your
application may perform.

Synchronous SNMP
----------------

Most simple and straightforward way to use PySNMP is by employing its
Synchronous, blocking API. It's also the default API offered by
users on *pysnmp.hlapi* sub-package import.

Command Generator

.. toctree::
:maxdepth: 2

/docs/hlapi/asyncio/manager/cmdgen/getcmd
/docs/hlapi/asyncio/manager/cmdgen/setcmd
/docs/hlapi/asyncio/manager/cmdgen/nextcmd
/docs/hlapi/asyncio/manager/cmdgen/bulkcmd

Notification Originator

.. toctree::
:maxdepth: 2

/docs/hlapi/asyncio/agent/ntforg/notification

Transport configuration
+++++++++++++++++++++++

The following shortcut classes convey configuration information to
SNMP engine's Local Configuration Datastore (:RFC:`2271#section-3.4.2`)
as well as to underlying socket API. Once committed to LCD, SNMP engine
saves its configuration for the lifetime of SNMP engine object.

.. toctree::
:maxdepth: 2

.. autoclass:: pysnmp.hlapi.UdpTransportTarget
:members: setLocalAddress

.. autoclass:: pysnmp.hlapi.Udp6TransportTarget
:members: setLocalAddress

Asynchronous: asyncio
---------------------

Expand Down
56 changes: 28 additions & 28 deletions docs/source/examples/hlapi/asyncio/manager/cmdgen/mib-tweaks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,45 +4,45 @@
MIB tweaks
----------

.. include:: /../../examples/hlapi/v3arch/asyncio/manager/cmdgen/waive-mib-lookup.py
:start-after: """
:end-before: """#
.. .. include:: /../../examples/hlapi/v3arch/asyncio/manager/cmdgen/waive-mib-lookup.py
.. :start-after: """
.. :end-before: """#
.. literalinclude:: /../../examples/hlapi/v3arch/asyncio/manager/cmdgen/waive-mib-lookup.py
:start-after: """#
:language: python
.. .. literalinclude:: /../../examples/hlapi/v3arch/asyncio/manager/cmdgen/waive-mib-lookup.py
.. :start-after: """#
.. :language: python
:download:`Download</../../examples/hlapi/v3arch/asynio/manager/cmdgen/waive-mib-lookup.py>` script.
.. :download:`Download</../../examples/hlapi/v3arch/asynio/manager/cmdgen/waive-mib-lookup.py>` script.
.. include:: /../../examples/hlapi/v3arch/asyncio/manager/cmdgen/preload-pysnmp-mibs.py
:start-after: """
:end-before: """#
.. .. include:: /../../examples/hlapi/v3arch/asyncio/manager/cmdgen/preload-pysnmp-mibs.py
.. :start-after: """
.. :end-before: """#
.. literalinclude:: /../../examples/hlapi/v3arch/asyncio/manager/cmdgen/preload-pysnmp-mibs.py
:start-after: """#
:language: python
.. .. literalinclude:: /../../examples/hlapi/v3arch/asyncio/manager/cmdgen/preload-pysnmp-mibs.py
.. :start-after: """#
.. :language: python
:download:`Download</../../examples/hlapi/v3arch/asyncio/manager/cmdgen/preload-pysnmp-mibs.py>` script.
.. :download:`Download</../../examples/hlapi/v3arch/asyncio/manager/cmdgen/preload-pysnmp-mibs.py>` script.
.. include:: /../../examples/hlapi/v3arch/asyncio/manager/cmdgen/custom-asn1-mib-search-path.py
:start-after: """
:end-before: """#
.. .. include:: /../../examples/hlapi/v3arch/asyncio/manager/cmdgen/custom-asn1-mib-search-path.py
.. :start-after: """
.. :end-before: """#
.. literalinclude:: /../../examples/hlapi/v3arch/asyncio/manager/cmdgen/custom-asn1-mib-search-path.py
:start-after: """#
:language: python
.. .. literalinclude:: /../../examples/hlapi/v3arch/asyncio/manager/cmdgen/custom-asn1-mib-search-path.py
.. :start-after: """#
.. :language: python
:download:`Download</../../examples/hlapi/v3arch/asyncio/manager/cmdgen/custom-asn1-mib-search-path.py>` script.
.. :download:`Download</../../examples/hlapi/v3arch/asyncio/manager/cmdgen/custom-asn1-mib-search-path.py>` script.
.. include:: /../../examples/hlapi/v3arch/asyncio/manager/cmdgen/custom-pysnmp-mibs-search-path.py
:start-after: """
:end-before: """#
.. .. include:: /../../examples/hlapi/v3arch/asyncio/manager/cmdgen/custom-pysnmp-mibs-search-path.py
.. :start-after: """
.. :end-before: """#
.. literalinclude:: /../../examples/hlapi/v3arch/asyncio/manager/cmdgen/custom-pysnmp-mibs-search-path.py
:start-after: """#
:language: python
.. .. literalinclude:: /../../examples/hlapi/v3arch/asyncio/manager/cmdgen/custom-pysnmp-mibs-search-path.py
.. :start-after: """#
.. :language: python
:download:`Download</../../examples/hlapi/v3arch/asyncio/manager/cmdgen/custom-pysnmp-mibs-search-path.py>` script.
.. :download:`Download</../../examples/hlapi/v3arch/asyncio/manager/cmdgen/custom-pysnmp-mibs-search-path.py>` script.
See also: :doc:`library reference </docs/api-reference>`.
22 changes: 11 additions & 11 deletions docs/source/examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -66,33 +66,33 @@ message and transport levels.
Command Generator
+++++++++++++++++

.. toctree::
.. .. toctree::

/examples/v1arch/asyncio/manager/cmdgen/fetching-variables
/examples/v1arch/asyncio/manager/cmdgen/modifying-variables
/examples/v1arch/asyncio/manager/cmdgen/walking-operations
/examples/v1arch/asyncio/manager/cmdgen/transport-tweaks
.. /examples/v1arch/asyncio/manager/cmdgen/fetching-variables
.. /examples/v1arch/asyncio/manager/cmdgen/modifying-variables
.. /examples/v1arch/asyncio/manager/cmdgen/walking-operations
.. /examples/v1arch/asyncio/manager/cmdgen/transport-tweaks

Command Responder
+++++++++++++++++

.. toctree::
.. .. toctree::

/examples/v1arch/asyncio/agent/cmdrsp/agent-side-mib-implementations
.. /examples/v1arch/asyncio/agent/cmdrsp/agent-side-mib-implementations

Notification Originator
+++++++++++++++++++++++

.. toctree::
.. .. toctree::

/examples/v1arch/asyncio/agent/ntforg/transport-tweaks
.. /examples/v1arch/asyncio/agent/ntforg/transport-tweaks

Notification Receiver
+++++++++++++++++++++

.. toctree::
.. .. toctree::

/examples/v1arch/asyncio/manager/ntfrcv/transport-tweaks
.. /examples/v1arch/asyncio/manager/ntfrcv/transport-tweaks

Low-level MIB access
--------------------
Expand Down

0 comments on commit bc87700

Please sign in to comment.