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 {%- import 'net_macros.j2' as ma with context %}
10 {%- set vlan_private_start = (nm.vlan_private | string).rsplit('-')[0] %}
13 - service.neutron.compute.ovn.single
14 - cluster.mcp-common-noha.openstack_compute
15 - cluster.mcp-ovn-noha
19 controller_vip: ${_param:cluster_local_address}
24 ovs_port_{{ nm.cmp001.nic_public }}:
26 name: {{ ma.interface_str(nm.cmp001.nic_public, nm.vlan_public) }}
27 mtu: ${_param:interface_mtu}
29 ovs_port_type: OVSPort
31 ovs_bridge: br-floating
37 address: ${_param:tenant_address}
38 netmask: ${_param:opnfv_net_private_mask}
40 - {{ ma.interface_str(nm.cmp001.nic_private, vlan_private_start) }}
44 mtu: ${_param:interface_mtu}
46 address: ${_param:external_address}
47 netmask: ${_param:opnfv_net_public_mask}
49 - {{ ma.interface_str(nm.cmp001.nic_public, nm.vlan_public) }}
50 gateway: ${_param:opnfv_net_public_gw}
51 name_servers: {{ nm.dns_public }}