summaryrefslogtreecommitdiffstats
path: root/ci/config_tpl/juju2/bundle_tpl/neutron-gateway.yaml
blob: dd1471d2fd3180b0a1c9b6261c4b07d24d33819a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
    neutron-gateway:
      charm: "./{{ ubuntu.release }}/neutron-gateway"
{% if os.ha.mode == 'ha' %}
      num_units: 2
{% else %}
      num_units: 1
{% endif %}
{% if os.service.bindings %}
      bindings:
        "": *oam-space
        data: *overlay-space
{% endif %}
      options:
        openstack-origin: *openstack-origin
{% if os.git_repo.origin_git %}
        openstack-origin-git: "{{ os.git_repo.branch }}"
{% endif %}
        worker-multiplier: *worker-multiplier
{% if os.network.controller == 'nosdn' %}
        bridge-mappings: physnet1:br-data
        data-port: *data-port
{% elif os.network.controller == 'onos' %}
        plugin: onos
        bridge-mappings: physnet1:br-data
        data-port: *data-port
{% if os.network.sfc %}
        profile: onos-sfc
{% endif %}
{% elif os.network.controller == 'odl' %}
        plugin: ovs-odl
        bridge-mappings: physnet1:br-data
        data-port: *data-port
{% endif %}
        instance-mtu: 1300
      to:
        - "nodes/0"
{% if os.ha.mode == 'ha' %}
        - "nodes/1"
{% endif %}
{# Empty block to avoid bad block trim #}