From 5a8326edb8c5b4a265261dbe3c7244b84557cfa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20=22WanzenBug=22=20Wanzenb=C3=B6ck?= Date: Wed, 3 Feb 2021 11:35:03 +0100 Subject: [PATCH] Add install docs for LINSTOR driver dependencies Depends-On: Icfe13df75440eeaf6f5b1601f629c3230b119bb2 Change-Id: I4eadd5c06eac0b2361e56699385267ea6fb08374 --- .../block-storage/drivers/linstor-driver.rst | 10 ++++++++++ driver-requirements.txt | 3 +++ setup.cfg | 3 +++ 3 files changed, 16 insertions(+) diff --git a/doc/source/configuration/block-storage/drivers/linstor-driver.rst b/doc/source/configuration/block-storage/drivers/linstor-driver.rst index c628c78a593..84453d80123 100644 --- a/doc/source/configuration/block-storage/drivers/linstor-driver.rst +++ b/doc/source/configuration/block-storage/drivers/linstor-driver.rst @@ -4,6 +4,16 @@ LINSTOR driver The LINSTOR driver allows Cinder to use DRBD/LINSTOR instances. +External package installation +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +The driver requires the ``python-linstor`` package for communication with the +LINSTOR Controller. Install the package from PYPI using the following command: + +.. code-block:: console + + $ python -m pip install python-linstor + Configuration ~~~~~~~~~~~~~ diff --git a/driver-requirements.txt b/driver-requirements.txt index f501e9fcd45..2f05bc94e35 100644 --- a/driver-requirements.txt +++ b/driver-requirements.txt @@ -49,3 +49,6 @@ dfs_sdk>=1.2.25 # Apache-2.0 # DataCore SANsymphony websocket-client>=1.3.2 # LGPLv2+ + +# LINSTOR +python-linstor>=1.7.0 # LGPLv3 diff --git a/setup.cfg b/setup.cfg index 7d3525a8dc5..2ada720ae28 100644 --- a/setup.cfg +++ b/setup.cfg @@ -89,6 +89,7 @@ all = storpool.spopenstack>=2.2.1 # Apache-2.0 dfs-sdk>=1.2.25 # Apache-2.0 rbd-iscsi-client>=0.1.8 # Apache-2.0 + python-linstor>=1.7.0 # LGPLv3 datacore = websocket-client>=1.3.2 # LGPLv2+ powermax = @@ -118,6 +119,8 @@ datera = dfs-sdk>=1.2.25 # Apache-2.0 rbd_iscsi = rbd-iscsi-client>=0.1.8 # Apache-2.0 +linstor = + python-linstor>=1.7.0 # LGPLv3 [mypy]