d9a2f00d2d
This patch implements designate integration. Added: * 'use_designate' and 'nameservers' configs * 'domain_name' column to Cluster and Cluster Templates and 'dns_hostname' to Instance in DB * get_management_ip() method for Instance for properly setup hostnames in cluster info and use it in ambari, cdh, mapr, spark, storm and vanilla plugins * method for change /etc/resolv.conf on all cluster instances according to 'nameservers' config * method for generate heat template for designate A and PTR records * validation check for cluster template creation because now it contains new field - 'domain_name' * fix unit tests appropriatly and new tests added * updated heat_template_version to '2016-04-08' (because we use 'str_split' method) NOTE: in spec we proposed to use two domains: one for internal resolution and another for external. But we decided to use only one domain for both sides so an instance will have one hostname in the domain and two appropriate A records because it's more convenient. bp: designate-integration Change-Id: I66525c0305450d8ba08840be1c95bfe79f21fff7 |
||
---|---|---|
.. | ||
alembic_migrations | ||
__init__.py | ||
alembic.ini | ||
cli.py |