manila-CI: Use 'capability_snapshot_support' opt

The newly introduced Tempest config option,
'capability_snapshot_support' allows glusterfs_native driver
that can support snapshot support to run with snapshot Tempest tests
disabled. Set this option to True to let the glusterfs_native driver
CI not run snapshot tests - the present status-quo of the
glusterfs_native driver CI, and yet succeed to run.

Change-Id: I7e605502a9d6d3a42a26313a7c3bbb53ec08d8bc
This commit is contained in:
Ramana Raja 2015-09-23 19:10:04 +05:30
parent daeb29f125
commit 8f92d69980
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ if [[ "$JOB_NAME" =~ "glusterfs-native" ]]; then
# rules by default during tempest test runs. # rules by default during tempest test runs.
iniset $BASE/new/tempest/etc/tempest.conf share enable_ip_rules_for_protocols iniset $BASE/new/tempest/etc/tempest.conf share enable_ip_rules_for_protocols
iniset $BASE/new/tempest/etc/tempest.conf share enable_cert_rules_for_protocols glusterfs iniset $BASE/new/tempest/etc/tempest.conf share enable_cert_rules_for_protocols glusterfs
iniset $BASE/new/tempest/etc/tempest.conf share capability_snapshot_support True
else else
local BACKEND_NAME="GLUSTERFS" local BACKEND_NAME="GLUSTERFS"
iniset $BASE/new/tempest/etc/tempest.conf share enable_protocols nfs iniset $BASE/new/tempest/etc/tempest.conf share enable_protocols nfs