New dev cloud defined stacks
Change-Id: Iaf4efa717900c7be9d297ffe9b6e5d7a177aee24
diff --git a/classes/cluster/os_aio_contrail/opencontrail/control.yml b/classes/cluster/os_aio_contrail/opencontrail/control.yml
new file mode 100644
index 0000000..8bf437f
--- /dev/null
+++ b/classes/cluster/os_aio_contrail/opencontrail/control.yml
@@ -0,0 +1,66 @@
+classes:
+- system.linux.system.lowmem
+- system.linux.system.repo.cassandra
+- system.linux.system.repo.mcp.contrail
+- system.linux.system.repo.mcp.openstack
+- system.linux.system.repo.mcp.extra
+- system.linux.system.repo.saltstack.trusty
+- system.opencontrail.client.resource.edge_router
+- system.opencontrail.control.cluster
+- system.opencontrail.client.cluster
+- system.opencontrail.client.resource.control_node
+- system.opencontrail.client.resource.config_node
+- system.opencontrail.client.resource.database_node
+- system.opencontrail.client.resource.analytics_node
+- system.haproxy.proxy.listen.opencontrail.analytics
+- cluster.os_aio_contrail
+parameters:
+ _param:
+ openstack_version: mitaka
+ keepalived_vip_interface: eth1
+ cluster_vip_address: ${_param:opencontrail_control_address}
+ cluster_local_address: ${_param:single_address}
+ cluster_node01_hostname: ntw01
+ cluster_node01_address: ${_param:opencontrail_control_node01_address}
+ cluster_node02_hostname: ntw02
+ cluster_node02_address: ${_param:opencontrail_control_node02_address}
+ cluster_node03_hostname: ntw03
+ cluster_node03_address: ${_param:opencontrail_control_node03_address}
+ opencontrail_router01_hostname: vsrx01.${_param:cluster_domain}
+ opencontrail_router01_address: 172.16.10.131
+ linux:
+ network:
+ interface:
+ eth1:
+ enabled: true
+ type: eth
+ proto: static
+ address: ${_param:single_address}
+ netmask: 255.255.255.0
+ keepalived:
+ cluster:
+ instance:
+ VIP:
+ virtual_router_id: 144
+ opencontrail:
+ web:
+ database:
+ port: 9042
+ network:
+ host: ${_param:openstack_control_address}
+ identity:
+ host: ${_param:openstack_control_address}
+ common:
+ network:
+ host: ${_param:openstack_control_address}
+ identity:
+ host: ${_param:openstack_control_address}
+ config:
+ network:
+ host: ${_param:openstack_control_address}
+ identity:
+ host: ${_param:openstack_control_address}
+ message_queue:
+ engine: rabbitmq
+ host: ${_param:openstack_control_address}
+ port: 5672
diff --git a/classes/cluster/os_aio_contrail/opencontrail/init.yml b/classes/cluster/os_aio_contrail/opencontrail/init.yml
new file mode 100644
index 0000000..cee0b50
--- /dev/null
+++ b/classes/cluster/os_aio_contrail/opencontrail/init.yml
@@ -0,0 +1,37 @@
+parameters:
+ _param:
+ opencontrail_analytics_address: ${_param:openstack_control_address}
+ opencontrail_analytics_node01_address: ${_param:openstack_control_node01_address}
+ opencontrail_analytics_node02_address: ${_param:openstack_control_node02_address}
+ opencontrail_analytics_node03_address: ${_param:openstack_control_node03_address}
+
+ opencontrail_control_address: 172.16.10.252
+ opencontrail_control_node01_hostname: ntw01
+ opencontrail_control_node02_hostname: ntw02
+ opencontrail_control_node03_hostname: ntw03
+ opencontrail_control_node01_address: 172.16.10.111
+ opencontrail_control_node02_address: 172.16.10.112
+ opencontrail_control_node03_address: 172.16.10.113
+ linux:
+ network:
+ host:
+ ntw:
+ address: ${_param:opencontrail_control_address}
+ names:
+ - ntw
+ - ntw.${_param:cluster_domain}
+ ntw01:
+ address: ${_param:opencontrail_control_node01_address}
+ names:
+ - ${_param:opencontrail_control_node01_hostname}
+ - ${_param:opencontrail_control_node01_hostname}.${_param:cluster_domain}
+ ntw02:
+ address: ${_param:opencontrail_control_node02_address}
+ names:
+ - ${_param:opencontrail_control_node02_hostname}
+ - ${_param:opencontrail_control_node02_hostname}.${_param:cluster_domain}
+ ntw03:
+ address: ${_param:opencontrail_control_node03_address}
+ names:
+ - ${_param:opencontrail_control_node03_hostname}
+ - ${_param:opencontrail_control_node03_hostname}.${_param:cluster_domain}
\ No newline at end of file