Reset kernel version to xenial image default one
[fuel.git] / mcp / patches / 0013-dpdk-Support-ovs-bridge-tagging.patch
1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2 : Copyright (c) 2018 Mirantis Inc., Enea AB and others.
3 :
4 : All rights reserved. This program and the accompanying materials
5 : are made available under the terms of the Apache License, Version 2.0
6 : which accompanies this distribution, and is available at
7 : http://www.apache.org/licenses/LICENSE-2.0
8 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
9 From: Michael Polenchuk <mpolenchuk@mirantis.com>
10 Date: Mon, 22 Jan 2018 15:22:47 +0400
11 Subject: [PATCH] [dpdk] Support ovs bridge tagging
12
13 Bring in "tag" option for dpdk/ovs bridges
14 to support vlan-tagged vxlan mode.
15
16 Change-Id: I7f1f88233694f2c8b968a6cf55584f32879ec042
17
18 diff --git a/linux/network/dpdk.sls b/linux/network/dpdk.sls
19 index 1ac9e25..05fe05f 100644
20 --- a/linux/network/dpdk.sls
21 +++ b/linux/network/dpdk.sls
22 @@ -110,7 +110,7 @@ linux_network_dpdk_bond_mode_{{ interface_name }}:
23
24  linux_network_dpdk_bridge_interface_{{ interface_name }}:
25    cmd.run:
26 -    - name: "ovs-vsctl add-br {{ interface_name }} -- set bridge {{ interface_name }} datapath_type=netdev"
27 +    - name: "ovs-vsctl add-br {{ interface_name }} -- set bridge {{ interface_name }} datapath_type=netdev{% if interface.tag is defined %} -- set port {{ interface_name }} tag={{ interface.tag }}{% endif %}"
28      - unless: "ovs-vsctl show | grep {{ interface_name }}"
29
30      {# OVS dpdk needs ip address for vxlan termination on bridge br-prv #}