aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-09-20 13:39:56 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-09-20 16:36:45 +0200
commit0026043552c2db4b754320b00c2cbc6699f6c500 (patch)
tree6cf0d591f658bb9e5db2f086f8fa990b67881407 /functest/utils
parent4c6bdfbbbd1e560d41031de713dd3658bf9ec12b (diff)
Allow overriding default storage protocol
It adds a new env var STORAGE_PROTOCOL to override storage_protocol in tempest. The default value is unchanged [1]. [1] https://docs.openstack.org/tempest/latest/sampleconf.html Co-Authored-By: Viktor Tikkanen <viktor.tikkanen@nokia.com> Change-Id: I19e4e25212b6f6176e3b967e01eb634c15e4d474 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit a561c6ca316feb1a203327aa729ac0317f70df48)
Diffstat (limited to 'functest/utils')
-rw-r--r--functest/utils/env.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/functest/utils/env.py b/functest/utils/env.py
index 1f649834d..3d8154ca9 100644
--- a/functest/utils/env.py
+++ b/functest/utils/env.py
@@ -34,7 +34,8 @@ INPUTS = {
'VOLUME_DEVICE_NAME': 'vdb',
'NAMESERVER': '8.8.8.8',
'NEW_USER_ROLE': 'Member',
- 'USE_DYNAMIC_CREDENTIALS': 'True'
+ 'USE_DYNAMIC_CREDENTIALS': 'True',
+ 'STORAGE_PROTOCOL': 'iSCSI'
}