4de6e07e0e75981cf175a6527174908db630bc05
[joid.git] / ci / config_tpl / bundle_tpl / neutron-api.yaml
1     neutron-api:
2       charm: "local:{{ ubuntu.release }}/neutron-api"
3       num_units: {{ unit_qty() }}
4       options:
5         neutron-security-groups: true
6 {% if os.ha.mode == 'ha' %}
7         vip: {{ opnfv.vip.neutron }}
8 {% endif %}
9 {% if os.network.controller == 'nosdn' %}
10         flat-network-providers: "*"
11 {% if os.network.dvr %}
12         overlay-network-type: vxlan
13 {% endif %}
14 {% elif os.network.controller == 'odl' %}
15         manage-neutron-plugin-legacy-mode: False
16 {% elif os.network.controller == 'onos' %}
17         flat-network-providers: "*"
18         manage-neutron-plugin-legacy-mode: False
19 {% endif %}
20 {% if os.beta.public_api %}
21         os-public-hostname: api.{{ opnfv.domain }}
22 {% endif %}
23       to:
24 {% for unit_id in to_select() %}
25         - "lxc:nodes={{ unit_id }}"
26 {% endfor %}