Add capability of adding additional network API extensions
Currently, devstack has NETWORK_API_EXTENSIONS var to define the network API extensions. NETWORK_API_EXTENSIONS is defaulted to 'all' for master and hard coded list of extensions per release. Zuul jobs of network extensions (for example neutron-fwaas) need add the some extra extensions in the default list. To do so, they need to duplicate all the defaults extensions and then add the extra extensions. Much difficult situation is when defaults extensions list vary from release to release so they have to keep updating the NETWORK_API_EXTENSIONS per release. This commit defines a new var ADDITIONAL_NETWORK_API_EXTENSIONS which will take extra extensions and append into the default list. This way Zuul jobs do not need to duplicate the default extensions. Change-Id: I7270c9b9e047a851970439522c0356c9089a5b74
This commit is contained in:
parent
fc9b41d733
commit
52c2886f7e
@ -618,6 +618,9 @@ function configure_tempest {
|
||||
# Remove disabled extensions
|
||||
network_api_extensions=$(remove_disabled_extensions $network_api_extensions $DISABLE_NETWORK_API_EXTENSIONS)
|
||||
fi
|
||||
if [[ -n "$ADDITIONAL_NETWORK_API_EXTENSIONS" ]] && [[ "$network_api_extensions" != "all" ]]; then
|
||||
network_api_extensions+=",$ADDITIONAL_NETWORK_API_EXTENSIONS"
|
||||
fi
|
||||
iniset $TEMPEST_CONFIG network-feature-enabled api_extensions $network_api_extensions
|
||||
# Swift API Extensions
|
||||
local object_storage_api_extensions=${OBJECT_STORAGE_API_EXTENSIONS:-"all"}
|
||||
|
Loading…
x
Reference in New Issue
Block a user