summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs
diff options
context:
space:
mode:
authorMichael Polenchuk <mpolenchuk@mirantis.com>2017-11-20 15:50:53 +0400
committerMichael Polenchuk <mpolenchuk@mirantis.com>2017-11-28 12:29:47 +0400
commit8726a0d7ed8286d1aa86523a4acf61d9d4b4c9cd (patch)
tree90830fb977f85da323281ea45d16ab83612e51ff /mcp/reclass/classes/cluster/virtual-mcp-pike-ovs
parent0cd4332f168052af8887d794b16efa7ba661d509 (diff)
[virtual] Update openstack version to pike
Change-Id: I1df0228cb44bf9122aaf93dd25fc16a0d26a5240 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/reclass/classes/cluster/virtual-mcp-pike-ovs')
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml11
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/init.yml19
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/openstack/compute.yml23
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/openstack/control.yml12
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/openstack/gateway.yml25
-rw-r--r--mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/openstack/init.yml13
6 files changed, 103 insertions, 0 deletions
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml
new file mode 100644
index 000000000..788fd2ffd
--- /dev/null
+++ b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/infra/config.yml
@@ -0,0 +1,11 @@
+##############################################################################
+# Copyright (c) 2017 Mirantis Inc., Enea AB and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+---
+classes:
+ - cluster.virtual-mcp-pike-common.infra.config
+ - cluster.virtual-mcp-pike-ovs
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/init.yml b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/init.yml
new file mode 100644
index 000000000..528125b30
--- /dev/null
+++ b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/init.yml
@@ -0,0 +1,19 @@
+##############################################################################
+# Copyright (c) 2017 Mirantis Inc., Enea AB and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+---
+classes:
+ - system.linux.system.single
+ - cluster.all-mcp-arch-common
+ - cluster.virtual-mcp-pike-common.init_options
+ - cluster.virtual-mcp-pike-common.infra
+ - cluster.virtual-mcp-pike-ovs.openstack
+
+parameters:
+ _param:
+ cluster_domain: virtual-mcp-pike-ovs.local
+ cluster_name: virtual-mcp-pike-ovs
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/openstack/compute.yml b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/openstack/compute.yml
new file mode 100644
index 000000000..ea64da140
--- /dev/null
+++ b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/openstack/compute.yml
@@ -0,0 +1,23 @@
+##############################################################################
+# Copyright (c) 2017 Mirantis Inc., Enea AB and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+---
+classes:
+ - cluster.virtual-mcp-pike-common.openstack_compute
+ - cluster.virtual-mcp-pike-ovs
+parameters:
+ linux:
+ network:
+ interface:
+ br-mesh:
+ enabled: true
+ type: bridge
+ proto: static
+ address: ${_param:tenant_address}
+ netmask: 255.255.255.0
+ use_interfaces:
+ - ${_param:tenant_interface}
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/openstack/control.yml b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/openstack/control.yml
new file mode 100644
index 000000000..070e48880
--- /dev/null
+++ b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/openstack/control.yml
@@ -0,0 +1,12 @@
+##############################################################################
+# Copyright (c) 2017 Mirantis Inc., Enea AB and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+---
+classes:
+ - system.neutron.control.openvswitch.single
+ - cluster.virtual-mcp-pike-common.openstack_control
+ - cluster.virtual-mcp-pike-ovs
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/openstack/gateway.yml b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/openstack/gateway.yml
new file mode 100644
index 000000000..fe2f01281
--- /dev/null
+++ b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/openstack/gateway.yml
@@ -0,0 +1,25 @@
+##############################################################################
+# Copyright (c) 2017 Mirantis Inc., Enea AB and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+---
+classes:
+ - cluster.virtual-mcp-pike-common.openstack_gateway
+ - service.neutron.gateway.single
+ - cluster.virtual-mcp-pike-ovs
+parameters:
+ linux:
+ network:
+ interface:
+ br-mesh:
+ enabled: true
+ type: bridge
+ mtu: ${_param:interface_mtu}
+ proto: static
+ address: ${_param:tenant_address}
+ netmask: 255.255.255.0
+ use_interfaces:
+ - ${_param:tenant_interface}
diff --git a/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/openstack/init.yml b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/openstack/init.yml
new file mode 100644
index 000000000..5a4c444de
--- /dev/null
+++ b/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/openstack/init.yml
@@ -0,0 +1,13 @@
+##############################################################################
+# Copyright (c) 2017 Mirantis Inc., Enea AB and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+---
+classes:
+ - cluster.virtual-mcp-pike-common.openstack_init
+parameters:
+ _param:
+ neutron_tenant_network_types: "flat,vxlan"