neutron/devstack/lib/dns
Slawek Kaplonski 538e663f0d Switch to use configure_keystone_authtoken_middleware in devstack plugin
Function "configure_auth_token_middleware" was deprecated in devstack
in [1].
Patch [1] also introduced regression which cause failures in neutron's
neutron-tempest-plugin-designate-scenario job.

New function configure_keystone_authtoken_middleware should be used
instead.
This patch switches to use this new function to solve problem
caused by patch [1] when old function is used.

[1] https://review.opendev.org/#/c/628651/

Change-Id: I96d69bc7a1489377b5e95965e95dc3d3f2f3a933
Closes-Bug: #1834849
2019-07-01 13:50:33 +02:00

12 lines
498 B
Plaintext

function configure_dns_extension {
neutron_ml2_extension_driver_add "dns_domain_ports"
}
function configure_dns_integration {
iniset $NEUTRON_CONF DEFAULT external_dns_driver designate
iniset $NEUTRON_CONF designate url "$DESIGNATE_SERVICE_PROTOCOL://$DESIGNATE_SERVICE_HOST:$DESIGNATE_SERVICE_PORT/v2"
configure_keystone_authtoken_middleware $NEUTRON_CONF designate designate
}
function post_config_dns_extension {
iniset $NEUTRON_CONF DEFAULT dns_domain openstackgate.local
}