7727fc07e6
Co-Authored-By: Slawek Kaplonski <skaplons@redhat.com> Related-Bug: #1843218 Change-Id: Ie8b6eb88e046c172d99212f966bdee327f42ed37
19 lines
736 B
Plaintext
19 lines
736 B
Plaintext
function configure_dns_extension {
|
|
neutron_ml2_extension_driver_add "dns_domain_keywords"
|
|
}
|
|
function configure_dns_integration {
|
|
iniset $NEUTRON_CONF DEFAULT external_dns_driver designate
|
|
|
|
# Use new /dns based uri by default if no port is set.
|
|
if [[ -z "$DESIGNATE_SERVICE_PORT" ]]; then
|
|
iniset $NEUTRON_CONF designate url "$DESIGNATE_SERVICE_PROTOCOL://$DESIGNATE_SERVICE_HOST/dns/v2"
|
|
else
|
|
iniset $NEUTRON_CONF designate url "$DESIGNATE_SERVICE_PROTOCOL://$DESIGNATE_SERVICE_HOST:$DESIGNATE_SERVICE_PORT/v2"
|
|
fi
|
|
|
|
configure_keystone_authtoken_middleware $NEUTRON_CONF designate designate
|
|
}
|
|
function post_config_dns_extension {
|
|
iniset $NEUTRON_CONF DEFAULT dns_domain openstackgate.local
|
|
}
|