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.
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 | 155 ++++++++++++++++++
9 files changed, 306 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
Show replies by date