add pod19 without vlan.
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / neutron-api.yaml
1     neutron-api:
2       charm: "./{{ ubuntu.release }}/neutron-api"
3       num_units: {{ unit_qty() }}
4 {% if os.service.bindings %}
5       bindings:
6         "": *oam-space
7         public: *public-space
8         admin: *admin-space
9         internal: *internal-space
10         shared-db: *internal-space
11 {% endif %}
12       options:
13         openstack-origin: *openstack-origin
14 {% if os.git_repo.origin_git %}
15         openstack-origin-git: "{{ os.git_repo.branch }}"
16 {% endif %}
17         region: *openstack-region
18         neutron-security-groups: true
19         worker-multiplier: *worker-multiplier
20 {% if os.network.ipv6 %}
21         prefer-ipv6: {{ os.network.ipv6 }}
22 {% endif %}
23 {% if os.ha.mode == 'ha' %}
24         vip: {{ opnfv.vip.neutron }}
25 {% endif %}
26 {% if os.network.controller == 'nosdn' %}
27         flat-network-providers: physnet1
28 {% if os.network.dvr %}
29         overlay-network-type: vxlan
30 {% else %}
31         overlay-network-type: vxlan gre
32         default-tenant-network-type: vxlan
33 {% endif %}
34 {% elif os.network.controller == 'odl' %}
35         manage-neutron-plugin-legacy-mode: False
36         flat-network-providers: physnet1
37 {% elif os.network.controller == 'onos' %}
38         flat-network-providers: physnet1
39         manage-neutron-plugin-legacy-mode: False
40 {% elif os.network.controller == 'ocl' %}
41         flat-network-providers: physnet1
42         manage-neutron-plugin-legacy-mode: False
43 {% endif %}
44 {% if os.network.dvr %}
45         enable-dvr: true
46 {% endif %}
47 {% if os.network.l2_population %}
48         l2-population: true
49 {% endif %}
50       to:
51 {% for unit_id in to_select() %}
52         - "lxd:nodes/{{ unit_id }}"
53 {% endfor %}