Add hosts metadata for share, telemetry and barbican services
Change-Id: I8a969e675331da5920b0e38ff0db6e267c8c2679
Related-Pord: PROD-24975
diff --git a/defaults/openstack/init.yml b/defaults/openstack/init.yml
index f40654b..cd8c070 100644
--- a/defaults/openstack/init.yml
+++ b/defaults/openstack/init.yml
@@ -6,7 +6,13 @@
cluster_public_protocol: https
cluster_internal_protocol: http
openstack_service_hostname: os-ctl-vip
+ openstack_share_service_hostname: os-share-vip
+ openstack_kmn_service_hostname: os-kmn-vip
+ openstack_telemetry_service_hostname: os-telemetry-vip
openstack_service_host: ${_param:openstack_service_hostname}.${linux:system:domain}
+ openstack_share_service_host: ${_param:openstack_share_service_hostname}.${linux:system:domain}
+ openstack_kmn_service_host: ${_param:openstack_kmn_service_hostname}.${linux:system:domain}
+ openstack_telemetry_service_host: ${_param:openstack_telemetry_service_hostname}.${linux:system:domain}
# SSL
ceilometer_agent_ssl_enabled: False
openstack_mysql_x509_enabled: False
diff --git a/linux/network/hosts/openstack.yml b/linux/network/hosts/openstack/init.yml
similarity index 100%
rename from linux/network/hosts/openstack.yml
rename to linux/network/hosts/openstack/init.yml
diff --git a/linux/network/hosts/openstack/kmn.yml b/linux/network/hosts/openstack/kmn.yml
new file mode 100644
index 0000000..a6c7663
--- /dev/null
+++ b/linux/network/hosts/openstack/kmn.yml
@@ -0,0 +1,9 @@
+parameters:
+ linux:
+ network:
+ host:
+ openstack_kmn_control_vip:
+ address: ${_param:openstack_barbican_address}
+ names:
+ - ${_param:openstack_kmn_service_hostname}
+ - ${_param:openstack_kmn_service_host}
diff --git a/linux/network/hosts/openstack/share.yml b/linux/network/hosts/openstack/share.yml
new file mode 100644
index 0000000..75a6449
--- /dev/null
+++ b/linux/network/hosts/openstack/share.yml
@@ -0,0 +1,9 @@
+parameters:
+ linux:
+ network:
+ host:
+ openstack_share_control_vip:
+ address: ${_param:openstack_share_address}
+ names:
+ - ${_param:openstack_share_service_hostname}
+ - ${_param:openstack_share_service_host}
diff --git a/linux/network/hosts/openstack/telemetry.yml b/linux/network/hosts/openstack/telemetry.yml
new file mode 100644
index 0000000..77f48b0
--- /dev/null
+++ b/linux/network/hosts/openstack/telemetry.yml
@@ -0,0 +1,9 @@
+parameters:
+ linux:
+ network:
+ host:
+ openstack_telemetry_control_vip:
+ address: ${_param:openstack_telemetry_address}
+ names:
+ - ${_param:openstack_telemetry_service_hostname}
+ - ${_param:openstack_telemetry_service_host}