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 {% if os.git_repo.origin_git %}
18 openstack-origin-git: "{{ os.git_repo.branch }}"
20 region: {{ os.region }}
21 neutron-security-groups: true
22 {% if os.beta.public_api %}
23 #use-internal-endpoints: true
25 {% if os.network.ipv6 %}
26 prefer-ipv6: {{ os.network.ipv6 }}
28 {% if os.api.worker_multiplier %}
29 worker-multiplier: {{ os.api.worker_multiplier }}
31 {% if os.ha.mode == 'ha' %}
32 vip: {{ opnfv.vip.neutron }}
34 {% if os.network.controller == 'nosdn' %}
35 flat-network-providers: physnet1
36 {% if os.network.dvr %}
37 overlay-network-type: vxlan
39 overlay-network-type: vxlan gre
40 default-tenant-network-type: vxlan
42 {% elif os.network.controller == 'odl' %}
43 manage-neutron-plugin-legacy-mode: False
44 flat-network-providers: physnet1
45 {% elif os.network.controller == 'onos' %}
46 flat-network-providers: physnet1
47 manage-neutron-plugin-legacy-mode: False
49 {% if os.beta.public_api %}
50 os-public-hostname: api.{{ opnfv.domain }}
52 {% if os.network.dvr %}
55 {% if os.network.l2_population %}
59 {% for unit_id in to_select() %}
60 - "lxd:nodes/{{ unit_id }}"