blob: ad73241fe8a7c4505d91679abd624927a0e133a9 [file] [log] [blame]
parameters:
_param:
infra_kvm01_hostname: kvm01
infra_kvm02_hostname: kvm02
infra_kvm03_hostname: kvm03
opencontrail_control_node01_hostname: ntw01
opencontrail_control_node02_hostname: ntw02
opencontrail_control_node03_hostname: ntw03
opencontrail_analytics_node01_hostname: nal01
opencontrail_analytics_node02_hostname: nal02
opencontrail_analytics_node03_hostname: nal03
opencontrail_control_backend_image: ${_param:salt_control_xenial_image_backend}
opencontrail_analytics_backend_image: ${_param:salt_control_xenial_image_backend}
salt_control_cluster_node_cloud_init_opencontrail_analytics:
user_data:
write_files:
- content: |
${salt:control:size:opencontrail.analytics:image_layout}
owner: root:root
path: /usr/share/growlvm/image-layout.yml
salt_control_cluster_node_cloud_init_opencontrail_control:
user_data:
write_files:
- content: |
${salt:control:size:opencontrail.control:image_layout}
owner: root:root
path: /usr/share/growlvm/image-layout.yml
salt:
control:
cluster:
internal:
node:
ntw01:
name: ${_param:opencontrail_control_node01_hostname}
image: ${_param:salt_control_xenial_image}
backend: ${_param:opencontrail_control_backend_image}
provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
size: opencontrail.control
cloud_init: ${_param:salt_control_cluster_node_cloud_init_opencontrail_control}
ntw02:
name: ${_param:opencontrail_control_node02_hostname}
image: ${_param:salt_control_xenial_image}
backend: ${_param:opencontrail_control_backend_image}
provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
size: opencontrail.control
cloud_init: ${_param:salt_control_cluster_node_cloud_init_opencontrail_control}
ntw03:
name: ${_param:opencontrail_control_node03_hostname}
image: ${_param:salt_control_xenial_image}
backend: ${_param:opencontrail_control_backend_image}
provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
size: opencontrail.control
cloud_init: ${_param:salt_control_cluster_node_cloud_init_opencontrail_control}
nal01:
name: ${_param:opencontrail_analytics_node01_hostname}
image: ${_param:salt_control_xenial_image}
backend: ${_param:opencontrail_analytics_backend_image}
provider: ${_param:infra_kvm_node01_hostname}.${_param:cluster_domain}
size: opencontrail.analytics
cloud_init: ${_param:salt_control_cluster_node_cloud_init_opencontrail_analytics}
nal02:
name: ${_param:opencontrail_analytics_node02_hostname}
image: ${_param:salt_control_xenial_image}
backend: ${_param:opencontrail_analytics_backend_image}
provider: ${_param:infra_kvm_node02_hostname}.${_param:cluster_domain}
size: opencontrail.analytics
cloud_init: ${_param:salt_control_cluster_node_cloud_init_opencontrail_analytics}
nal03:
name: ${_param:opencontrail_analytics_node03_hostname}
image: ${_param:salt_control_xenial_image}
backend: ${_param:opencontrail_analytics_backend_image}
provider: ${_param:infra_kvm_node03_hostname}.${_param:cluster_domain}
size: opencontrail.analytics
cloud_init: ${_param:salt_control_cluster_node_cloud_init_opencontrail_analytics}