0780b6b8f67b8e57f574ce3cd2a064c72a3577f1
[joid.git] / ci / bundle_tpl / neutron-gateway.yaml
1     neutron-gateway:
2       charm: "local:{{ ubuntu.release }}/neutron-gateway"
3       options:
4 {% if opnfv.spaces_dict.data is defined %}
5         os-data-network: {{ opnfv.spaces_dict.data.cidr }}
6 {% else %}
7         #os-data-network: {{ opnfv.spaces_dict.data.cidr }}
8 {% endif %}
9 {% if os.network.controller == 'nosdn' %}
10 {% if opnfv.ext_port is defined  %}
11 {% if opnfv.data_port is defined  %}
12         bridge-mappings: physnet1:br-data external:br-ex
13         data-port: br-data:{{ opnfv.data_port }} br-ex:{{ opnfv.ext_port }}
14 {% else %}
15         bridge-mappings: external:br-ex
16         data-port: br-ex:{{ opnfv.ext_port }}
17 {% endif %}
18 {% endif %}
19 {% else %}
20 {% if opnfv.ext_port is defined  %}
21         ext-port: {{ opnfv.ext_port }}
22 {% endif %}
23 {% endif %}
24 {% if os.network.controller == 'odl' %}
25         plugin: ovs-odl
26 {% elif os.network.controller == 'onos' %}
27         plugin: onos
28 {% if os.network.sfc %}
29         profile: onos-sfc
30 {% endif %}
31 {% endif %}
32         instance-mtu: 1400
33       to:
34         - "nodes=0"
35 {# Empty block to avoid bad block trim #}