pushed, thanks.
-Ondrej
On Mon, May 10, 2021 at 05:23:45PM +0200, Jan Tluka wrote:
This patch series implements L2TP support for the LNST recipes.
Due to the nature of the L2TP kernel subsystem the LNST L2TP API is
split into two parts.
First one is the L2TPManager, which provides an API to create and delete
the L2TP tunnels. The implementation is simply a wrapper fo the
pyroute's L2tp API.
The second one is the L2TPSessionDevice class that represents a session
within a previously configured L2TP tunnel. The class inherits from
Device class and thus provides all of the API that is available for the
other devices such as device link state operation, mtu setting, etc.
v2:
- L2TPManager.cleanup(): fixed list modification during iteration issue
Jan Tluka (4):
Devices.SoftDevice: remove unused _init_generic attribute
RecipeCommon: add L2TPManager
Devices: add L2TPSessionDevice
docs: add L2TP device API documentation
.../device_classes/l2tpsessiondevice.rst | 7 +
docs/source/devices.rst | 8 +
docs/source/l2tp_manager.rst | 5 +
docs/source/supported_devices.rst | 9 +
docs/source/tester_api.rst | 1 +
lnst/Devices/L2TPSessionDevice.py | 118 +++++++++++++
lnst/Devices/SoftDevice.py | 3 -
lnst/Devices/__init__.py | 4 +-
lnst/RecipeCommon/L2TPManager.py | 156 ++++++++++++++++++
9 files changed, 307 insertions(+), 4 deletions(-)
create mode 100644 docs/source/device_classes/l2tpsessiondevice.rst
create mode 100644 docs/source/devices.rst
create mode 100644 docs/source/l2tp_manager.rst
create mode 100644 docs/source/supported_devices.rst
create mode 100644 lnst/Devices/L2TPSessionDevice.py
create mode 100644 lnst/RecipeCommon/L2TPManager.py
--
2.26.3
_______________________________________________
LNST-developers mailing list -- lnst-developers(a)lists.fedorahosted.org
To unsubscribe send an email to lnst-developers-leave(a)lists.fedorahosted.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/lnst-developers@lists.fedora...
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure