From e34a8720bfb263a0b4d585929ef9f035c3ba0f36 Mon Sep 17 00:00:00 2001 From: elajkat Date: Thu, 7 Jan 2021 14:22:03 +0100 Subject: [PATCH] Setting available_features for stable branch available_features for Neutron tempest tests is default to "all" and used from Victoria to enable/disable tests that has no API extension. It is added here to make sure that stable gating will not execute these tests (like for IPv6 metadata in neutron-tempest-plugin or updating min_bw QoS values for port already attached to VMs) Change-Id: Id1db503c8842477b0716fb75e953240f7982e74b Related-Bug: #1882804 --- lib/tempest | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/tempest b/lib/tempest index e906b548dc..537b0aa3e9 100644 --- a/lib/tempest +++ b/lib/tempest @@ -682,6 +682,17 @@ function configure_tempest { network_api_extensions+=",$ADDITIONAL_NETWORK_API_EXTENSIONS" fi iniset $TEMPEST_CONFIG network-feature-enabled api_extensions $network_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="ipv6_metadata" + iniset $TEMPEST_CONFIG network-feature-enabled available_features $network_available_features # Swift API Extensions DEFAULT_SWIFT_OPT="account_quotas,bulk_delete,bulk_upload,container_quotas" DEFAULT_SWIFT_OPT+=",container_sync,crossdomain,formpost,ratelimit,slo"