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: physnet1
22 {% if os.network.dvr %}
23 overlay-network-type: vxlan
25 {% elif os.network.controller == 'odl' %}
26 manage-neutron-plugin-legacy-mode: False
27 flat-network-providers: physnet1
28 {% elif os.network.controller == 'onos' %}
29 flat-network-providers: physnet1
30 manage-neutron-plugin-legacy-mode: False
32 {% if os.beta.public_api %}
33 os-public-hostname: api.{{ opnfv.domain }}
35 {% if os.network.dvr %}
38 {% if os.network.l2_population %}
42 {% for unit_id in to_select() %}
43 - "lxd:nodes/{{ unit_id }}"