summaryrefslogtreecommitdiffstats
path: root/mcp/reclass/classes/cluster/virtual-mcp-pike-ovs/openstack
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/openstack
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/openstack')
-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
4 files changed, 73 insertions, 0 deletions
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"