2 charm: "./{{ ubuntu.release }}/neutron-api"
3 num_units: {{ unit_qty() }}
4 {% if os.service.bindings %}
8 shared-db: internal-api
9 {% if opnfv.spaces_dict.public is defined %}
16 openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
17 region: {{ os.region }}
18 neutron-security-groups: true
19 {% if os.beta.public_api %}
20 #use-internal-endpoints: true
22 {% if os.network.ipv6 %}
23 prefer-ipv6: {{ os.network.ipv6 }}
25 {% if os.api.worker_multiplier %}
26 worker-multiplier: {{ os.api.worker_multiplier }}
28 {% if os.ha.mode == 'ha' %}
29 vip: {{ opnfv.vip.neutron }}
31 {% if os.network.controller == 'nosdn' %}
32 flat-network-providers: physnet1
33 {% if os.network.dvr %}
34 overlay-network-type: vxlan
36 overlay-network-type: vxlan gre
37 default-tenant-network-type: vxlan
39 {% elif os.network.controller == 'odl' %}
40 manage-neutron-plugin-legacy-mode: False
41 flat-network-providers: physnet1
42 {% elif os.network.controller == 'onos' %}
43 flat-network-providers: physnet1
44 manage-neutron-plugin-legacy-mode: False
46 {% if os.beta.public_api %}
47 os-public-hostname: api.{{ opnfv.domain }}
49 {% if os.network.dvr %}
52 {% if os.network.l2_population %}
56 {% for unit_id in to_select() %}
57 - "lxd:nodes/{{ unit_id }}"