modified to use latest Carbon build release.
[joid.git] / ci / config_tpl / juju2 / bundle_tpl / neutron-gateway.yaml
1     neutron-gateway:
2       charm: "./{{ ubuntu.release }}/neutron-gateway"
3       num_units: 1
4 {% if os.service.bindings %}
5 {% if opnfv.spaces_dict.data is defined %}
6       bindings:
7         data: tenant-data
8 {% else %}
9       bindings:
10         data: internal-api
11 {% endif %}
12 {% endif %}
13       options:
14         openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
15 {% if os.git_repo.origin_git %}
16         openstack-origin-git: "{{ os.git_repo.branch }}"
17 {% endif %}
18 {% if os.api.worker_multiplier %}
19         worker-multiplier: {{ os.api.worker_multiplier }}
20 {% endif %}
21 {% if opnfv.ext_port is defined  %}
22         bridge-mappings: physnet1:br-data
23         data-port: br-data:{{ opnfv.ext_port }}
24 {% endif %}
25 {% if os.network.controller == 'onos' %}
26         plugin: onos
27 {% if os.network.sfc %}
28         profile: onos-sfc
29 {% endif %}
30 {% elif os.network.controller == 'odl' %}
31         plugin: ovs-odl
32 {% endif %}
33         instance-mtu: 1400
34       to:
35         - "nodes/0"
36 {# Empty block to avoid bad block trim #}