neutron/devstack/lib/dns
Jens Harbott 6a8f3b9b0d Add dns-integration setup to devstack plugin
This will be used in a job that will run neutron designate integration
tests from the neutron-tempest-plugin repo.

Change-Id: Ib380d8a98e991a475b20140f5c37e3747aa5fc0c
Needed-By: I9c2eadf1dc86cb60190fb22393a02ffa02770620
2017-11-22 07:50:06 +00:00

12 lines
514 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_auth_token_middleware $NEUTRON_CONF designate $NEUTRON_AUTH_CACHE_DIR designate
}
function post_config_dns_extension {
iniset $NEUTRON_CONF DEFAULT dns_domain openstackgate.local
}