Deploy StackLight v2 in mcp11-k8s-contrail

Change-Id: Iccc5f90533b3d1f52081619be72fe6ff863e641b
diff --git a/classes/cluster/virtual-mcp11-k8s-contrail/monitoring/client.yml b/classes/cluster/virtual-mcp11-k8s-contrail/monitoring/client.yml
new file mode 100644
index 0000000..518a3da
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-k8s-contrail/monitoring/client.yml
@@ -0,0 +1,16 @@
+classes:
+- system.elasticsearch.client.single
+- system.grafana.client
+- system.grafana.client.datasource.prometheus
+- system.kibana.client.single
+parameters:
+  _param:
+    # Elasticsearch/Kibana client parameters
+    stacklight_log_address: ${_param:docker_swarm_address}
+    # Grafana client parameters
+    grafana_address: ${_param:docker_swarm_address}
+    grafana_port: 15013
+    grafana_user: admin
+    grafana_password: ${_param:grafana_admin_password}
+    grafana_prometheus_address: ${_param:docker_swarm_address}
+    grafana_prometheus_port: 15010
diff --git a/classes/cluster/virtual-mcp11-k8s-contrail/monitoring/init.yml b/classes/cluster/virtual-mcp11-k8s-contrail/monitoring/init.yml
new file mode 100644
index 0000000..96c462b
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-k8s-contrail/monitoring/init.yml
@@ -0,0 +1,7 @@
+parameters:
+  _param:
+    # glusterfs
+    glusterfs_service_host: ${_param:docker_swarm_address}
+
+    # prometheus
+    prometheus_control_address: ${_param:docker_swarm_address}
diff --git a/classes/cluster/virtual-mcp11-k8s-contrail/monitoring/proxy.yml b/classes/cluster/virtual-mcp11-k8s-contrail/monitoring/proxy.yml
new file mode 100644
index 0000000..f09e157
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-k8s-contrail/monitoring/proxy.yml
@@ -0,0 +1,8 @@
+classes:
+- system.nginx.server.single
+- system.nginx.server.proxy.monitoring.prometheus_server
+- system.nginx.server.proxy.monitoring.prometheus_alertmanager
+- cluster.virtual-mcp11-k8s-calico.infra
+parameters:
+  _param:
+    cluster_public_host: ${_param:prometheus_control_address}
diff --git a/classes/cluster/virtual-mcp11-k8s-contrail/monitoring/server.yml b/classes/cluster/virtual-mcp11-k8s-contrail/monitoring/server.yml
new file mode 100644
index 0000000..5a62ed5
--- /dev/null
+++ b/classes/cluster/virtual-mcp11-k8s-contrail/monitoring/server.yml
@@ -0,0 +1,40 @@
+classes:
+- system.linux.system.repo.tcp_elastic
+- system.elasticsearch.server.cluster
+- system.elasticsearch.server.curator
+- system.kibana.server.single
+- system.haproxy.proxy.listen.stacklight.elasticsearch
+- system.haproxy.proxy.listen.stacklight.kibana
+- service.haproxy.proxy.single
+- system.glusterfs.client.cluster
+- system.glusterfs.client.volume.prometheus
+- system.glusterfs.server.cluster
+- system.glusterfs.server.volume.prometheus
+- system.salt.minion.cert.prometheus_server
+- system.keepalived.cluster.instance.prometheus_server_vip
+- system.prometheus.server.target.etcd
+- system.prometheus.server.target.kubernetes
+- system.prometheus.server.target.dns
+- system.docker.swarm.stack.monitoring
+- system.docker.swarm.service.dashboard.grafana_server
+- cluster.virtual-mcp11-k8s-calico.infra
+parameters:
+  _param:
+    cluster_vip_address: ${_param:docker_swarm_address}
+    docker_image_alertmanager: alertmanager:latest
+    docker_image_pushgateway: pushgateway:latest
+    docker_image_prometheus: prometheus:latest
+    docker_image_grafana: grafana/grafana:latest
+    grafana_admin_password: admin
+    keepalived_prometheus_vip_address: ${_param:cluster_vip_address}
+    keepalived_prometheus_vip_password: password
+    keepalived_prometheus_vip_interface: ens4
+    # Kibana
+    kibana_elasticsearch_host: ${_param:cluster_vip_address}
+    # Elasticsearch
+    cluster_node01_hostname: ${_param:docker_swarm_node01_hostname}
+    cluster_node01_address: ${_param:docker_swarm_node01_address}
+    cluster_node02_hostname: ${_param:docker_swarm_node02_hostname}
+    cluster_node02_address: ${_param:docker_swarm_node02_address}
+    cluster_node03_hostname: ${_param:docker_swarm_node03_hostname}
+    cluster_node03_address: ${_param:docker_swarm_node03_address}