Browse Source

Merge "[devstack][ci] Set public network ID in tempest.conf" into stable/queens

stable/queens
Zuul 1 month ago
committed by Gerrit Code Review
parent
commit
5196d6b8c3
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      devstack/plugin.sh

+ 8
- 0
devstack/plugin.sh View File

@@ -859,6 +859,14 @@ function install_manila_tempest_plugin {
# update_tempest - Function used for updating Tempest config if Tempest service enabled
function update_tempest {
if is_service_enabled tempest; then

if [[ "$(trueorfalse False MANILA_SETUP_IPV6)" == "True" ]]; then
# The public network was created by us, so set it explicitly in
# tempest.conf
public_net_id=$(openstack network list --name $PUBLIC_NETWORK_NAME -f value -c ID )
iniset $TEMPEST_CONFIG network public_network_id $public_net_id
fi

TEMPEST_CONFIG=${TEMPEST_CONFIG:-$TEMPEST_DIR/etc/tempest.conf}
ADMIN_TENANT_NAME=${ADMIN_TENANT_NAME:-"admin"}
ADMIN_DOMAIN_NAME=${ADMIN_DOMAIN_NAME:-"Default"}


Loading…
Cancel
Save