fetch the correct ceilometer.
[joid.git] / ci / config_tpl / bundle_tpl / neutron-gateway.yaml
1     neutron-gateway:
2       charm: "local:{{ ubuntu.release }}/neutron-gateway"
3       options:
4         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
5 {% if os.api.worker_multiplier %}
6         worker-multiplier: {{ os.api.worker_multiplier }}
7 {% endif %}
8 {% if opnfv.spaces_dict.data is defined %}
9         os-data-network: {{ opnfv.spaces_dict.data.cidr }}
10 {% endif %}
11 {% if os.network.controller == 'nosdn' %}
12 {% if opnfv.ext_port is defined  %}
13 {% if opnfv.data_port is defined  %}
14         bridge-mappings: physnet1:br-data external:br-ex
15         data-port: br-data:{{ opnfv.data_port }} br-ex:{{ opnfv.ext_port }}
16 {% else %}
17         bridge-mappings: external:br-ex
18         data-port: br-ex:{{ opnfv.ext_port }}
19 {% endif %}
20 {% endif %}
21 {% elif os.network.controller == 'onos' %}
22         plugin: onos
23 {% if opnfv.ext_port is defined  %}
24 {% if opnfv.data_port is defined  %}
25         bridge-mappings: physnet1:br-data external:br-ex
26         data-port: br-data:{{ opnfv.data_port }} br-ex:{{ opnfv.ext_port }}
27 {% else %}
28         bridge-mappings: external:br-ex
29         data-port: br-ex:{{ opnfv.ext_port }}
30 {% endif %}
31 {% endif %}
32 {% if os.network.sfc %}
33         profile: onos-sfc
34 {% endif %}
35 {% elif os.network.controller == 'odl' %}
36         plugin: ovs-odl
37 {% if opnfv.ext_port is defined  %}
38         ext-port: {{ opnfv.ext_port }}
39 {% endif %}
40 {% else %}
41 {% if opnfv.ext_port is defined  %}
42         ext-port: {{ opnfv.ext_port }}
43 {% endif %}
44 {% endif %}
45         instance-mtu: 1400
46       to:
47         - "nodes=0"
48 {# Empty block to avoid bad block trim #}