modify the lab definition as per new changes.
[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         overlay-network-type: vxlan
8 {% elif os.network.controller == 'odl' %}
9         manage-neutron-plugin-legacy-mode: False
10 {% elif os.network.controller == 'onos' %}
11         flat-network-providers: "*"
12         manage-neutron-plugin-legacy-mode: False
13 {% endif %}
14 {% if os.ha.mode == 'ha' %}
15         vip: {{ opnfv.vip.neutron }}
16 {% endif %}
17       to:
18 {% for unit_id in to_select() %}
19         - "lxc:nodes={{ unit_id }}"
20 {% endfor %}