1 # Copyright (c) 2018 Intel Corporation.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
15 - name: Create folders
20 - /etc/kolla/config/nova
21 - /etc/kolla/config/neutron
24 filter_ops: RetryFilter,AvailabilityZoneFilter,RamFilter,DiskFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,SameHostFilter
26 - name: Configure OpenStack Nova
30 enabled_filters = {{ filter_ops }}
32 cpu_mode = host-passthrough
33 dest: /etc/kolla/config/nova.conf
35 - name: Configure OpenStack Neutron
39 service_plugins=neutron.services.l3_router.l3_router_plugin.L3RouterPlugin
41 firewall_driver = neutron.agent.firewall.NoopFirewallDriver
43 extension_drivers=port_security
45 extensions=port_security
46 dest: /etc/kolla/config/neutron.conf
48 - name: Configure OpenStack ml2_plugin.ini
52 tenant_network_types = vxlan
53 extension_drivers = port_security
54 type_drivers = vlan,flat,local,vxlan
55 mechanism_drivers = openvswitch
57 flat_networks = physnet1
59 network_vlan_ranges = physnet1
61 firewall_driver = iptables_hybrid
63 datapath_type = system
64 bridge_mappings = physnet1:br-ex
65 tunnel_bridge = br-tun
66 local_ip = {{ deployvm_ip }}
67 dest: /etc/kolla/config/neutron/ml2_plugin.ini