2148fd79d1a3b56a8bb2819e6d5fe266a9325ecb
[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         ext-port: {{ opnfv.ext_port }}
21 {% endif %}
22 {% if os.network.controller == 'odl' %}
23         plugin: ovs-odl
24 {% elif os.network.controller == 'onos' %}
25         plugin: onos
26 {% if os.network.sfc %}
27         profile: onos-sfc
28 {% endif %}
29 {% endif %}
30         instance-mtu: 1400
31       to:
32         - "nodes=0"
33 {# Empty block to avoid bad block trim #}