Skip to content

Commit

Permalink
22.10.1 released
Browse files Browse the repository at this point in the history
  • Loading branch information
SRBuilds committed Nov 1, 2022
1 parent 051b113 commit 17a7bdd
Show file tree
Hide file tree
Showing 37 changed files with 2,900 additions and 449 deletions.
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Sphinx~=4.0.2
Sphinx~=5.1.1
sphinx-rtd-theme~=0.5.2
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
author = 'Nokia'

# The full version, including alpha/beta/rc tags
version = '22.7.1'
release = '22.7.1'
version = '22.10.1'
release = '22.10.1'


# -- General configuration ---------------------------------------------------
Expand Down
56 changes: 46 additions & 10 deletions docs/source/ehs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ the event handling system (EHS).
.. Reviewed by PLM 20220117
.. Reviewed by TechComms 20220124
.. py:function:: get_event
.. py:function:: pysros.ehs.get_event
The EHS event that triggered the execution of the Python application.

Expand All @@ -23,11 +23,20 @@ the event handling system (EHS).
.. Reviewed by PLM 20220118
.. Reviewed by TechComms 20220124
.. class:: Event
.. class:: pysros.ehs.Event

The EHS event Class for the event that triggered the execution of the
The EHS :py:class:`pysros.ehs.Event` Class for the event that triggered the execution of the
Python application.

.. py:attribute:: name
The name of the event.

:type: str

.. Reviewed by PLM 20220930
.. Reviewed by TechComms 20221005
.. py:attribute:: appid
The name of the application that generated the event.
Expand Down Expand Up @@ -55,6 +64,16 @@ the event handling system (EHS).
.. Reviewed by PLM 20220118
.. Reviewed by TechComms 20220124
.. py:attribute:: sequence
The sequence number of the event in the syslog collector.

:type: int
:raises ValueError: for negative values.

.. Reviewed by PLM 20220930
.. Reviewed by TechComms 20221005
.. py:attribute:: subject
The subject or affected object of the event.
Expand All @@ -64,9 +83,19 @@ the event handling system (EHS).
.. Reviewed by PLM 20220118
.. Reviewed by TechComms 20220124
.. py:attribute:: router_name
The name of the SR OS router-instance (For example, ``Base``) in which this
event was triggered.

:type: str

.. Reviewed by PLM 20220930
.. Reviewed by TechComms 20221005
.. py:attribute:: gentime
The formatted time, in ISO 8601 format, that the event was generated.
The time, in ISO 8601 format, that the event was generated.

:type: str

Expand All @@ -82,15 +111,22 @@ the event handling system (EHS).
.. Reviewed by PLM 20220118
.. Reviewed by TechComms 20220124
.. function:: eventparameters
.. py:attribute:: text
The event specific body, formatted as a string. By default, this
is generated from the :py:attr:`eventparameters`.

:type: str

.. py:attribute:: eventparameters
The additional parameters specific to the event that caused the
Python application to execute.

:type: :py:class:`pysros.ehs.EventParams`

.. Reviewed by PLM 20220118
.. Reviewed by TechComms 20220124
.. Reviewed by PLM 20220930
.. Reviewed by TechComms 20221005
.. py:method:: format_msg
Expand Down Expand Up @@ -121,11 +157,11 @@ the event handling system (EHS).
.. Reviewed by PLM 20220118
.. Reviewed by TechComms 20220124
.. describe:: params[key]
.. describe:: params[key]

Return the value of the parameter *key*. If the parameter does not exist,
a :exc:`KeyError` is raised.

.. Reviewed by PLM 20220118
.. Reviewed by TechComms 20220124
.. Reviewed by PLM 20220930
.. Reviewed by TechComms 20221005
Loading

0 comments on commit 17a7bdd

Please sign in to comment.