OpenStack DNS As A Service (Designate)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

settings 4.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. # Default options
  2. DESIGNATE_BACKEND_DRIVER=${DESIGNATE_BACKEND_DRIVER:=bind9}
  3. DESIGNATE_AGENT_BACKEND_DRIVER=${DESIGNATE_AGENT_BACKEND_DRIVER:-"fake"}
  4. DESIGNATE_POOL_MANAGER_CACHE_DRIVER=${DESIGNATE_POOL_MANAGER_CACHE_DRIVER:-memcache}
  5. DESIGNATE_POOL_ID=${DESIGNATE_POOL_ID:-794ccc2c-d751-44fe-b57f-8894c9f5c842}
  6. DESIGNATE_DEFAULT_NS_RECORD=${DESIGNATE_DEFAULT_NS_RECORD:-ns1.devstack.org.}
  7. DESIGNATE_NOTIFICATION_DRIVER=${DESIGNATE_NOTIFICATION_DRIVER:-}
  8. DESIGNATE_NOTIFICATION_TOPICS=${DESIGNATE_NOTIFICATION_TOPICS:-notifications}
  9. DESIGNATE_PERIODIC_RECOVERY_INTERVAL=${DESIGNATE_PERIODIC_RECOVERY_INTERVAL:-120}
  10. DESIGNATE_PERIODIC_SYNC_INTERVAL=${DESIGNATE_PERIODIC_SYNC_INTERVAL:-1800}
  11. DESIGNATE_COORDINATION_URL=${DESIGNATE_COORDINATION_URL:-}
  12. DESIGNATE_POLL_INTERVAL=${DESIGNATE_POLL_INTERVAL:-5}
  13. DESIGNATE_POLL_RETRIES=${DESIGNATE_POLL_RETRIES:-6}
  14. # Quota Options
  15. DESIGNATE_QUOTA_ZONES=${DESIGNATE_QUOTA_ZONES:-100}
  16. DESIGNATE_QUOTA_ZONE_RECORDSETS=${DESIGNATE_QUOTA_ZONE_RECORDSETS:-500}
  17. DESIGNATE_QUOTA_ZONE_RECORDS=${DESIGNATE_QUOTA_ZONE_RECORDS:-500}
  18. DESIGNATE_QUOTA_RECORDSET_RECORDS=${DESIGNATE_QUOTA_RECORDSET_RECORDS:-20}
  19. DESIGNATE_QUOTA_API_EXPORT_SIZE=${DESIGNATE_QUOTA_API_EXPORT_SIZE:-1000}
  20. # Default APIs and Extensions
  21. DESIGNATE_ENABLE_API_V1=${DESIGNATE_ENABLE_API_V1:-"True"}
  22. DESIGNATE_ENABLE_API_V2=${DESIGNATE_ENABLE_API_V2:-"True"}
  23. DESIGNATE_ENABLE_API_ADMIN=${DESIGNATE_ENABLE_API_ADMIN:-"True"}
  24. DESIGNATE_ENABLED_EXTENSIONS_V1=${DESIGNATE_ENABLED_EXTENSIONS_V1:-"quotas"}
  25. DESIGNATE_ENABLED_EXTENSIONS_V2=${DESIGNATE_ENABLED_EXTENSIONS_V2:-""}
  26. DESIGNATE_ENABLED_EXTENSIONS_ADMIN=${DESIGNATE_ENABLED_EXTENSIONS_ADMIN:-"quotas"}
  27. # Public facing bits
  28. if is_service_enabled tls-proxy; then
  29. DESIGNATE_SERVICE_PROTOCOL="https"
  30. fi
  31. # Default IP/port settings
  32. DESIGNATE_SERVICE_PROTOCOL=${DESIGNATE_SERVICE_PROTOCOL:-$SERVICE_PROTOCOL}
  33. DESIGNATE_SERVICE_HOST=${DESIGNATE_SERVICE_HOST:-$SERVICE_HOST}
  34. DESIGNATE_SERVICE_PORT=${DESIGNATE_SERVICE_PORT:-9001}
  35. DESIGNATE_SERVICE_PORT_INT=${DESIGNATE_SERVICE_PORT_INT:-19001}
  36. DESIGNATE_SERVICE_PORT_DNS=${DESIGNATE_SERVICE_PORT_DNS:-53}
  37. DESIGNATE_SERVICE_PORT_MDNS=${DESIGNATE_SERVICE_PORT_MDNS:-5354}
  38. DESIGNATE_SERVICE_PORT_AGENT=${DESIGNATE_SERVICE_PORT_AGENT:-5358}
  39. # Default directories
  40. DESIGNATE_BIN_DIR=$(get_python_exec_prefix)
  41. DESIGNATE_DIR=$DEST/designate
  42. DESIGNATEDASHBOARD_DIR=$DEST/designate-dashboard
  43. DESIGNATE_CONF_DIR=/etc/designate
  44. DESIGNATE_STATE_PATH=${DESIGNATE_STATE_PATH:=$DATA_DIR/designate}
  45. DESIGNATE_CONF=$DESIGNATE_CONF_DIR/designate.conf
  46. DESIGNATE_LOG_DIR=/var/log/designate
  47. DESIGNATE_AUTH_CACHE_DIR=${DESIGNATE_AUTH_CACHE_DIR:-/var/cache/designate}
  48. DESIGNATE_ROOTWRAP_CONF=$DESIGNATE_CONF_DIR/rootwrap.conf
  49. DESIGNATE_APIPASTE_CONF=$DESIGNATE_CONF_DIR/api-paste.ini
  50. DESIGNATE_PLUGINS=$DESIGNATE_DIR/devstack/designate_plugins
  51. # Default repositories
  52. DESIGNATE_REPO=${DESIGNATE_REPO:-${GIT_BASE}/openstack/designate.git}
  53. DESIGNATE_BRANCH=${DESIGNATE_BRANCH:-master}
  54. GITREPO["designate-dashboard"]=${DESIGNATEDASHBOARD_REPO:-${GIT_BASE}/openstack/designate-dashboard.git}
  55. GITBRANCH["designate-dashboard"]=${DESIGNATEDASHBOARD_BRANCH:-master}
  56. GITDIR["designate-dashboard"]=$DEST/designate-dashboard
  57. GITREPO["python-designateclient"]=${DESIGNATECLIENT_REPO:-${GIT_BASE}/openstack/python-designateclient.git}
  58. GITBRANCH["python-designateclient"]=${DESIGNATECLIENT_BRANCH:-master}
  59. GITDIR["python-designateclient"]=$DEST/python-designateclient
  60. GITREPO["designate-tempest-plugin"]=${DESIGNATETEMPEST_REPO:-${GIT_BASE}/openstack/designate-tempest-plugin.git}
  61. GITBRANCH["designate-tempest-plugin"]=${DESIGNATETEMPEST_BRANCH:-master}
  62. GITDIR["designate-tempest-plugin"]=$DEST/designate-tempest-plugin
  63. # Tell Tempest this project is present
  64. TEMPEST_SERVICES+=,designate
  65. # Turn on all Designate services by default
  66. enable_service designate
  67. enable_service designate-central
  68. enable_service designate-api
  69. enable_service designate-pool-manager
  70. enable_service designate-zone-manager
  71. enable_service designate-mdns
  72. enable_service designate-agent
  73. enable_service designate-sink