JOID: move os-public-hostname from overrides to endpoints config
[joid.git] / ci / 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.network.controller == 'nosdn' %}
7         flat-network-providers: "*"
8         #overlay-network-type: gre vxlan
9 {% elif os.network.controller == 'odl' %}
10         manage-neutron-plugin-legacy-mode: False
11 {% elif os.network.controller == 'onos' %}
12         flat-network-providers: "*"
13         manage-neutron-plugin-legacy-mode: False
14 {% endif %}
15 {% if os.ha.mode == 'ha' %}
16         vip: {{ opnfv.vip.neutron }}
17 {% endif %}
18 {% if os.beta.public_api %}
19         os-public-hostname: api.{{ opnfv.domain }}
20 {% endif %}
21       to:
22 {% for unit_id in to_select() %}
23         - "lxc:nodes={{ unit_id }}"
24 {% endfor %}