2 charm: "./{{ ubuntu.release }}/neutron-api"
3 num_units: {{ unit_qty() }}
5 openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
6 region: {{ os.region }}
7 neutron-security-groups: true
8 {% if os.beta.public_api %}
9 use-internal-endpoints: true
11 {% if os.network.ipv6 %}
12 prefer-ipv6: {{ os.network.ipv6 }}
14 {% if os.api.worker_multiplier %}
15 worker-multiplier: {{ os.api.worker_multiplier }}
17 {% if os.ha.mode == 'ha' %}
18 vip: {{ opnfv.vip.neutron }}
20 {% if os.network.controller == 'nosdn' %}
21 flat-network-providers: "*"
22 {% if os.network.dvr %}
23 overlay-network-type: vxlan
25 {% elif os.network.controller == 'odl' %}
26 manage-neutron-plugin-legacy-mode: False
27 {% elif os.network.controller == 'onos' %}
28 flat-network-providers: "*"
29 manage-neutron-plugin-legacy-mode: False
31 {% if os.beta.public_api %}
32 os-public-hostname: api.{{ opnfv.domain }}
34 {% if os.network.dvr %}
37 {% if os.network.l2_population %}
41 {% for unit_id in to_select() %}
42 - "lxd:nodes/{{ unit_id }}"