Spdk/test/iscsi_tgt
Tomasz Zawadzki 7da3afd1f7 test/iscsi: use veth interfaces instead of loopback
At this time all iSCSI tests were using local address
127.0.0.1 for both sides of connection.

This patch changes iSCSI tests to use separate
veth (virtual ethernet) interfaces.
It will allow to actually verify functionality when using
different target and initiator IPs.
Veth are used as most closely resembling real enviroment
in single host and without any network hardware required.

This patch serves as a base for future VPP test changes,
where veth interfaces are used as well.

Note: Netmask changed to /30 temporarily and
verify_iscsi_connection_rpc_methods in rpc_config disabled.
Kernel will route trafic between two veth interfaces through
host stack. This causes target and initiator IPs
to be not as expected. Those are changed back in next patch
by adding namespaces.

Change-Id: Ida8fce107e8262bef94b2161e0197c45f6e3f070
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.gerrithub.io/405552
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-04-10 11:40:38 -04:00
..
calsoft test/iscsi: change target IP for calsoft tests 2018-04-03 13:11:17 -04:00
digests test/iscsi: use iSCSI configuration instead of hard coded values 2018-03-29 01:25:00 -04:00
ext4test test/iscsi: parametrize PORTAL_TAG 2018-03-29 01:25:00 -04:00
filesystem autotest: update iscsi filesystem test (porting from nightly to autotest) 2018-04-03 18:13:35 -04:00
fio test/iscsi: use iSCSI configuration instead of hard coded values 2018-03-29 01:25:00 -04:00
initiator test/iscsi: iSCSI initiator test now use common configuration 2018-04-06 13:19:08 -04:00
ip_migration test/iscsi: use iSCSI configuration instead of hard coded values 2018-03-29 01:25:00 -04:00
lvol test/iscsi: parametrize PORTAL_TAG 2018-03-29 01:25:00 -04:00
multiconnection test/iscsi: use iSCSI configuration instead of hard coded values 2018-03-29 01:25:00 -04:00
nvme_remote test/iscsi: use iSCSI configuration instead of hard coded values 2018-03-29 01:25:00 -04:00
pmem test/iscsi: parametrize PORTAL_TAG 2018-03-29 01:25:00 -04:00
rbd test/iscsi: use iSCSI configuration instead of hard coded values 2018-03-29 01:25:00 -04:00
reset test/iscsi: use iSCSI configuration instead of hard coded values 2018-03-29 01:25:00 -04:00
rpc_config test/iscsi: use veth interfaces instead of loopback 2018-04-10 11:40:38 -04:00
common.sh test/iscsi: use veth interfaces instead of loopback 2018-04-10 11:40:38 -04:00
iscsi_tgt.sh test/iscsi: use veth interfaces instead of loopback 2018-04-10 11:40:38 -04:00
test_plan.md test/iscsi: Add iscsi_tgt with NVML backend test 2017-10-19 13:00:27 -04:00