cinder/cinder/tests/unit/targets
Gorka Eguileor 88a87b2d48 Fix LVM IPv6 target portals
The LVM driver is reporting incorrect target_portal and target_portals
entries for IPv6 with all the targets, as it is not enclosing the
address in square brackets making it impossible for iscsiadm in OS-Brick
to tell the port appart from the IP address.

This patch makes sure that IPv6 addresses in target_portal and
target_portals are properly formatted in the [IPv6_address]:port when
the IPv6_address does not already include the square brackets.

This fix affects all the targets: IET, LIO, TGT, CXT, and SCST.

Closes-Bug: #1696866
Change-Id: Ie7053c813af8c99b5545222d4724b71061348a09
(cherry picked from commit fddb9b7962)
2019-08-26 15:43:09 +00:00
..
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
targets_fixture.py Rename iSCSI target config options to more general 2017-12-18 08:55:01 +00:00
test_base_iscsi_driver.py Fix LVM IPv6 target portals 2019-08-26 15:43:09 +00:00
test_cxt_driver.py Rename iSCSI target config options to more general 2017-12-18 08:55:01 +00:00
test_iet_driver.py Switch ietadm to use olso.privsep 2019-01-11 13:30:55 +00:00
test_iser_driver.py Rename iSCSI target config options to more general 2017-12-18 08:55:01 +00:00
test_lio_driver.py Rename iSCSI target config options to more general 2017-12-18 08:55:01 +00:00
test_nvmeof_driver.py Adding abstract class NVMeOF 2018-04-17 15:52:16 +03:00
test_nvmet_driver.py Adding NVMET target for NVMeOF 2018-05-02 20:43:11 +03:00
test_scst_driver.py Fix LVM IPv6 target portals 2019-08-26 15:43:09 +00:00
test_spdknvmf.py Adding SPDK NVMe-oF target driver 2018-11-13 13:22:24 +01:00
test_tgt_driver.py Move tgt targets to privsep 2018-10-24 14:28:59 -04:00