2 charm: "./{{ ubuntu.release }}/neutron-gateway"
4 {% if os.service.bindings %}
5 {% if opnfv.spaces_dict.data is defined %}
14 openstack-origin: "cloud:{{ ubuntu.release }}-{{ os.release }}"
15 {% if os.git_repo.origin_git %}
16 openstack-origin-git: "{{ os.git_repo.branch }}"
18 {% if os.api.worker_multiplier %}
19 worker-multiplier: {{ os.api.worker_multiplier }}
21 {% if os.network.controller == 'nosdn' %}
22 {% if opnfv.ext_port is defined %}
23 {% if opnfv.data_port is defined %}
24 bridge-mappings: physnet1:br-ex physnet2:br-data
25 data-port: br-ex:{{ opnfv.ext_port }} br-data:{{ opnfv.data_port }}
27 bridge-mappings: physnet1:br-ex
28 data-port: br-ex:{{ opnfv.ext_port }}
31 {% elif os.network.controller == 'onos' %}
33 {% if opnfv.ext_port is defined %}
34 {% if opnfv.data_port is defined %}
35 bridge-mappings: physnet1:br-data external:br-ex
36 data-port: br-data:{{ opnfv.data_port }} br-ex:{{ opnfv.ext_port }}
38 bridge-mappings: external:br-ex
39 data-port: br-ex:{{ opnfv.ext_port }}
42 {% if os.network.sfc %}
45 {% elif os.network.controller == 'odl' %}
47 {% if opnfv.ext_port is defined %}
48 {% if opnfv.data_port is defined %}
49 bridge-mappings: physnet1:br-ex physnet2:br-data
50 data-port: br-ex:{{ opnfv.ext_port }} br-data:{{ opnfv.data_port }}
52 bridge-mappings: physnet1:br-ex
53 data-port: br-ex:{{ opnfv.ext_port }}
57 {% if opnfv.ext_port is defined %}
58 ext-port: {{ opnfv.ext_port }}
64 {# Empty block to avoid bad block trim #}