Set new parameter in OVS to support ODL Oxygen

ODL oxygen provides a new framework to configure tunnels called autotunnels.
SFC requires tunnels to be flow-based and to arrange that in the autotunnel
framework, the OVS internal parameter of-tunnel must be set to true.

That parameter is not read in previous ODL versions. Therefore, this patch
does not break backwards compatibility.

Change-Id: Iec6a741d1e1081da547fe6fc0a67dd723e714d60
Signed-off-by: Manuel Buil <mbuil@suse.com>
This commit is contained in:
Manuel Buil 2018-03-15 12:14:52 +01:00
parent 34da3d0eaa
commit a5b370130c
2 changed files with 7 additions and 0 deletions

View File

@ -5,3 +5,4 @@ features:
You can set the ``neutron_plugin_type`` to
``ml2.opendaylight`` to utilize this code path.
The usage of ``OpenDaylight`` is currently experimental.
Two versions are currently supported: Nitrogen and Oxygen.

View File

@ -44,3 +44,9 @@
when:
- neutron_provider_networks.network_mappings is defined
- (neutron_plugin_base == 'odl-router' or neutron_plugin_base == 'odl-router_v2')
- name: Set the of-tunnel to true
command: "ovs-vsctl set Open_vSwitch . external_ids:of-tunnel=true"
when:
- neutron_plugin_base == 'networking_sfc.services.sfc.plugin.SfcPlugin'