Add AIO telemetry model
Change-Id: I3b6602ca6a7f3e7e05c6d42a6073375db20f1d8a
diff --git a/classes/cluster/virtual-mcp11-aio-telemetry/.env b/classes/cluster/virtual-mcp11-aio-telemetry/.env
new file mode 100644
index 0000000..4b0236e
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-aio-telemetry/.env
@@ -0,0 +1 @@
+FORMULAS_SALT_MASTER+=(java openssh ntp nginx collectd sensu heka sphinx mysql galera grafana libvirt rsyslog glusterfs postfix xtrabackup freeipa prometheus telegraf elasticsearch kibana rundeck devops-portal libvirt rsyslog memcached rabbitmq redis apache keystone gnocchi glance nova neutron cinder ceilometer aodh panko heat horizon ironic tftpd-hpa bind powerdns designate barbican iptables)
diff --git a/classes/cluster/virtual-mcp11-aio-telemetry/infra/config.yml b/classes/cluster/virtual-mcp11-aio-telemetry/infra/config.yml
new file mode 100644
index 0000000..5a7314b
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-aio-telemetry/infra/config.yml
@@ -0,0 +1,8 @@
+classes:
+ - cluster.virtual-mcp11-aio-telemetry
+parameters:
+ linux:
+ system:
+ name: cfg01
+ domain: ${_param:cluster_domain}
+ purge_repos: ${_param:linux_system_purge_repos}
diff --git a/classes/cluster/virtual-mcp11-aio-telemetry/init.yml b/classes/cluster/virtual-mcp11-aio-telemetry/init.yml
new file mode 100755
index 0000000..cd75b17
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-aio-telemetry/init.yml
@@ -0,0 +1,12 @@
+classes:
+- cluster.virtual-mcp11-aio.infra.config
+- cluster.virtual-mcp11-aio-telemetry.openstack
+- cluster.overrides
+parameters:
+ _param:
+ cluster_domain: virtual-mcp11-aio-telemetry.local
+ cluster_name: virtual-mcp11-aio-telemetry
+ reclass_config_master: 192.168.10.90
+ single_address: 172.16.10.90
+ infra_config_address: ${_param:single_address}
+ infra_config_hostname: cfg01
\ No newline at end of file
diff --git a/classes/cluster/virtual-mcp11-aio-telemetry/openstack/init.yml b/classes/cluster/virtual-mcp11-aio-telemetry/openstack/init.yml
new file mode 100755
index 0000000..d098d5b
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-aio-telemetry/openstack/init.yml
@@ -0,0 +1,80 @@
+classes:
+- system.apache.server.site.gnocchi
+- system.apache.server.site.panko
+- system.galera.server.database.gnocchi
+- system.galera.server.database.aodh
+- system.galera.server.database.panko
+- system.keystone.client.service.aodh
+- system.keystone.client.service.panko
+- system.keystone.client.service.ceilometer
+- system.keystone.client.service.gnocchi
+- system.aodh.server.single
+- system.ceilometer.client
+- system.ceilometer.client.cinder_volume
+- system.ceilometer.client.neutron
+- system.ceilometer.client.nova_compute
+- system.gnocchi.common.storage.file
+- system.gnocchi.common.storage.incoming.redis
+- system.gnocchi.server.single
+- system.gnocchi.statsd.single
+- system.gnocchi.common.coordination.redis
+- service.redis.server.single
+- service.panko.server.single
+- service.ceilometer.server.single
+- service.ceilometer.agent.single
+parameters:
+ _param:
+ panko_version: ${_param:openstack_version}
+ ceilometer_version: ${_param:openstack_version}
+ aodh_version: ${_param:openstack_version}
+ gnocchi_version: 4.0
+ gnocchi_statsd_resource_id: 07f26121-5777-48ba-8a0b-d70468133dd9
+ ceilometer_secret_key: workshop
+ keystone_aodh_password: workshop
+ keystone_panko_password: workshop
+ keystone_ceilometer_password: workshop
+ keystone_gnocchi_password: workshop
+ mysql_ceilometer_password: workshop
+ mysql_panko_password: workshop
+ mysql_aodh_password: workshop
+ mysql_gnocchi_password: workshop
+ aodh_service_host: ${_param:single_address}
+ ceilometer_service_host: ${_param:single_address}
+ panko_service_host: ${_param:single_address}
+ gnocchi_service_host: ${_param:single_address}
+
+ gnocchi:
+ common:
+ database:
+ ssl:
+ enabled: ${_param:galera_ssl_enabled}
+ server:
+ identity:
+ protocol: https
+ aodh:
+ server:
+ identity:
+ protocol: https
+ database:
+ ssl:
+ enabled: ${_param:galera_ssl_enabled}
+ message_queue:
+ port: ${_param:rabbitmq_port}
+ ssl:
+ enabled: ${_param:rabbitmq_ssl_enabled}
+ ceilometer:
+ server:
+ database: ~
+ message_queue:
+ port: ${_param:rabbitmq_port}
+ ssl:
+ enabled: ${_param:rabbitmq_ssl_enabled}
+ identity:
+ protocol: https
+ panko:
+ server:
+ identity:
+ protocol: https
+ database:
+ ssl:
+ enabled: ${_param:galera_ssl_enabled}
diff --git a/classes/system b/classes/system
index 33a7e15..4891217 160000
--- a/classes/system
+++ b/classes/system
@@ -1 +1 @@
-Subproject commit 33a7e15093b0995ab26887b602d93f8d5c6e6318
+Subproject commit 4891217841b3cf27f247652b949ef28aa6068b87