Merge "Setting available_features for stable branch" into stable/train

This commit is contained in:
Zuul 2021-01-19 00:08:52 +00:00 committed by Gerrit Code Review
commit c2a1660295
1 changed files with 11 additions and 0 deletions

View File

@ -683,6 +683,17 @@ function configure_tempest {
object_storage_api_extensions=$(remove_disabled_extensions $object_storage_api_extensions $DISABLE_STORAGE_API_EXTENSIONS)
fi
iniset $TEMPEST_CONFIG object-storage-feature-enabled discoverable_apis $object_storage_api_extensions
# This feature list for Neutron used from Victoria, the aim is to skip tests
# for features in Neutron that has no API extension, or can't be detected
# otherwise from the API.
# It is added here to avoid stable gating to run these tests (like for IPv6 metadata
# in neutron-tempest-plugin or updating min_bw QoS values for ports already attached
# to VMs).
# To check new features grep neutron-tempest-plugin and tempest for
# is_network_feature_enabled, and please check with Neutron team.
local network_available_features=""
iniset $TEMPEST_CONFIG network-feature-enabled available_features $network_available_features
# Cinder API Extensions
DEFAULT_VOL_EXT="OS-SCH-HNT,backups,capabilities,cgsnapshots,consistencygroups"
DEFAULT_VOL_EXT+=",encryption,os-admin-actions,os-availability-zone"