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 #}