-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
SRBuilds
committed
Nov 1, 2024
1 parent
eaa7793
commit 235bb92
Showing
26 changed files
with
1,498 additions
and
348 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
|
||
The :mod:`pysros.esm` module provides functionality obtain data from the | ||
specific event that triggered the execution of a Python application from | ||
the SR OS subscriber management system. | ||
|
||
.. Reviewed by PLM 20240828 | ||
.. note:: This module is available when executing on SR OS only. On a remote | ||
machine, subscriber management functionality is not supported. | ||
|
||
.. Reviewed by PLM 20240828 | ||
.. py:function:: pysros.esm.get_event | ||
The subscriber management event that triggered the execution of the Python application. | ||
|
||
:return: The Event object or None. | ||
:rtype: :py:class:`pysros.esm.Event` or ``None`` | ||
|
||
.. Reviewed by PLM 20240828 | ||
.. class:: pysros.esm.Event | ||
|
||
The ESM :py:class:`pysros.esm.Event` Class for the event that triggered the execution of the | ||
Python application. | ||
|
||
.. 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 20240828 | ||
.. class:: pysros.esm.EventParams | ||
|
||
The additional parameters of the specific :py:class:`pysros.esm.Event`. | ||
This class is *read-only*. Specific additional parameters may be | ||
accessed using standard Python subscript syntax. | ||
|
||
.. Reviewed by PLM 20240828 | ||
.. py:method:: keys | ||
Obtain the additional parameters names. | ||
|
||
:return: Additional parameters names for the Event. | ||
:rtype: tuple(str) | ||
|
||
.. Reviewed by PLM 20240828 | ||
.. describe:: params[key] | ||
|
||
Return the value of the parameter *key*. If the parameter does not exist, | ||
a :exc:`KeyError` is raised. | ||
|
||
.. Reviewed by PLM 20240828 | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
Release 24.7 | ||
************ | ||
|
||
24.7.2 | ||
###### | ||
|
||
* No additional features | ||
|
||
.. Reviewed by PLM 20240814 | ||
24.7.1 | ||
###### | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Release 24.10 | ||
************* | ||
|
||
24.10.1 | ||
####### | ||
|
||
* Provides the :py:meth:`.Connection.list_paths` method to describe supported JSON instance | ||
paths for the given :py:class:`.Connection` object. Returns an iterator that can be used | ||
to analyze or print the supported paths. | ||
* Provides :py:mod:`pysros` support from remote servers for alternative operating systems | ||
using standards-based NETCONF implementations, specifically, SR Linux. | ||
* Introduces the :py:mod:`pysros.esm` module to provide integration with Enhanced Subscriber | ||
Management (ESM) of SR OS. This module is available on SR OS only. It is not supported | ||
on a remote machine. | ||
|
||
* Provides the :py:meth:`pysros.esm.get_event` method to obtain the data provided from the ESM | ||
system that called the Python application. | ||
|
||
.. Reviewed by PLM 20240828 | ||
.. Reviewed by TechComms 20240927 | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.