[ovs] Start ovs services before networking
[fuel.git] / mcp / reclass / classes / cluster / mcp-ovs-dpdk-noha / openstack / gateway.yml.j2
1 ##############################################################################
2 # Copyright (c) 2018 Mirantis Inc., Enea AB and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 {%- import 'net_map.j2' as nm with context %}
9 ---
10 classes:
11   - cluster.mcp-common-noha.openstack_gateway
12   - service.neutron.gateway.single
13   - cluster.mcp-ovs-dpdk-noha
14 parameters:
15   neutron:
16     gateway:
17       backend:
18         tenant_network_types: ${_param:neutron_tenant_network_types}
19   linux:
20     network:
21       interface:
22         {{ nm.ctl01.nic_private }}:
23           ovs_port_type: OVSPort
24           type: ovs_port
25           bridge: br-prv
26           ovs_bridge: br-prv
27         br-prv:
28           enabled: true
29           type: ovs_bridge
30           mtu: ${_param:interface_mtu}
31           use_interfaces:
32             - {{ nm.ctl01.nic_private }}