2 charm: "./{{ ubuntu.release }}/neutron-api"
3 num_units: {{ unit_qty() }}
4 {% if os.service.bindings %}
7 shared-db: internal-api
8 {% if opnfv.spaces_dict.data is defined %}
13 {% if opnfv.spaces_dict.public is defined %}
20 openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
21 region: {{ os.region }}
22 neutron-security-groups: true
23 {% if os.beta.public_api %}
24 #use-internal-endpoints: true
26 {% if os.network.ipv6 %}
27 prefer-ipv6: {{ os.network.ipv6 }}
29 {% if os.api.worker_multiplier %}
30 worker-multiplier: {{ os.api.worker_multiplier }}
32 {% if os.ha.mode == 'ha' %}
33 vip: {{ opnfv.vip.neutron }}
35 {% if os.network.controller == 'nosdn' %}
36 flat-network-providers: physnet1
37 {% if os.network.dvr %}
38 overlay-network-type: vxlan
40 {% elif os.network.controller == 'odl' %}
41 manage-neutron-plugin-legacy-mode: False
42 flat-network-providers: physnet1
43 {% elif os.network.controller == 'onos' %}
44 flat-network-providers: physnet1
45 manage-neutron-plugin-legacy-mode: False
47 {% if os.beta.public_api %}
48 os-public-hostname: api.{{ opnfv.domain }}
50 {% if os.network.dvr %}
53 {% if os.network.l2_population %}
57 {% for unit_id in to_select() %}
58 - "lxd:nodes/{{ unit_id }}"