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.public is defined %}
10 {% if opnfv.spaces_dict.data is defined %}
21 openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
22 region: {{ os.region }}
23 neutron-security-groups: true
24 {% if os.beta.public_api %}
25 #use-internal-endpoints: true
27 {% if os.network.ipv6 %}
28 prefer-ipv6: {{ os.network.ipv6 }}
30 {% if os.api.worker_multiplier %}
31 worker-multiplier: {{ os.api.worker_multiplier }}
33 {% if os.ha.mode == 'ha' %}
34 vip: {{ opnfv.vip.neutron }}
36 {% if os.network.controller == 'nosdn' %}
37 flat-network-providers: physnet1
38 {% if os.network.dvr %}
39 overlay-network-type: vxlan
41 overlay-network-type: vxlan gre
42 default-tenant-network-type: vxlan
44 {% elif os.network.controller == 'odl' %}
45 manage-neutron-plugin-legacy-mode: False
46 flat-network-providers: physnet1
47 {% elif os.network.controller == 'onos' %}
48 flat-network-providers: physnet1
49 manage-neutron-plugin-legacy-mode: False
51 {% if os.beta.public_api %}
52 os-public-hostname: api.{{ opnfv.domain }}
54 {% if os.network.dvr %}
57 {% if os.network.l2_population %}
61 {% for unit_id in to_select() %}
62 - "lxd:nodes/{{ unit_id }}"