From 76c5d9a6c86d77c66de2bf9b14740cd7912dff2d Mon Sep 17 00:00:00 2001 From: Harm Weites Date: Fri, 29 May 2015 20:21:47 +0200 Subject: Add the Designate DNSaaS services. This is a complete DNS solution, with hidden master and bind9 slave. It lacks the designate-sink service, because there is no true specification to implement that. It listens for Nova/Neutron events and creates records though adding those to just 1 domain isn't helping much in an environment with multiple tenants. Change-Id: I500fb6058b118d25a4ccfd1d3479830c36af7e2a Blueprint: designate-container --- tools/genenv | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'tools') diff --git a/tools/genenv b/tools/genenv index 3b0c4d2b8..69a3b13fc 100755 --- a/tools/genenv +++ b/tools/genenv @@ -125,6 +125,27 @@ MAGNUM_KEYSTONE_PASSWORD=magnum MAGNUM_API_SERVICE_HOST=$HOST_IP MAGNUM_API_SERVICE_PORT=9511 +# Designate +DESIGNATE_DB_NAME=designate +DESIGNATE_DB_USER=designate +DESIGNATE_DB_PASSWORD=designatedns +DESIGNATE_KEYSTONE_USER=designate +DESIGNATE_KEYSTONE_PASSWORD=designate +DESIGNATE_BIND9_RNDC_KEY=$(openssl rand -base64 24) +DESIGNATE_MASTERNS=$HOST_IP +DESIGNATE_BACKEND=bind9 +DESIGNATE_SLAVENS=$HOST_IP +DESIGNATE_API_SERVICE_HOST=$HOST_IP +DESIGNATE_API_SERVICE_PORT=9001 +DESIGNATE_MDNS_PORT=5354 +DESIGNATE_DNS_PORT=53 +# The POOLID is hardcoded, upstream ships pre-configured with this uuid: +DESIGNATE_POOLMAN_POOLID=794ccc2c-d751-44fe-b57f-8894c9f5c842 +DESIGNATE_POOLMAN_TARGETS=$(uuidgen) +DESIGNATE_POOLMAN_NSS=$(uuidgen) +DESIGNATE_INITDB=true +DESIGNATE_ALLOW_RECURSION=true + cat > ./openrc <