From 6debc120faf6aa5ad82f8dd2d005be2b8c7d4930 Mon Sep 17 00:00:00 2001
From: Lukasz Pawlik <lukaszx.pawlik@intel.com>
Date: Thu, 10 Oct 2019 10:11:54 +0100
Subject: integration fix ovsdpdk_mq_pvp_rxqs_linux_bridge

Fix flow setup by adding action that do something with
packet.

Signed-off-by: Lukasz Pawlik <lukaszx.pawlik@intel.com>
Change-Id: Ia219d46238be9373ed02349fbd15d89f22670c4e
---
 conf/integration/01b_dpdk_regression_tests.conf | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/conf/integration/01b_dpdk_regression_tests.conf b/conf/integration/01b_dpdk_regression_tests.conf
index e84a6165..a6f854d9 100644
--- a/conf/integration/01b_dpdk_regression_tests.conf
+++ b/conf/integration/01b_dpdk_regression_tests.conf
@@ -512,11 +512,12 @@ INTEGRATION_TESTS = INTEGRATION_TESTS + [
             "TRAFFICGEN_DURATION" : 5,
             "TRAFFICGEN" : "IxNet",
             "TRAFFIC" : {
-                "bidir" : "false",
+                "bidir" : "False",
                 "traffic_type" : "rfc2544_continuous",
                 "multistream" : 6,
                 "stream_type" : "L3",
                 "frame_rate" : 1,
+                "learning_frames" : False,
                 'l2': {
                     'srcmac': "00:00:07:00:0E:00",
                     'dstmac': "00:00:00:00:00:01"
@@ -526,7 +527,7 @@ INTEGRATION_TESTS = INTEGRATION_TESTS + [
                     'proto': 'udp',
                     'srcip': '6.6.6.6',
                     'dstip': '1.1.1.1',
-                },
+                }
             }
         },
         "TestSteps": STEP_VSWITCH_PVP_INIT + [
@@ -537,6 +538,7 @@ INTEGRATION_TESTS = INTEGRATION_TESTS + [
                         # so send_traffic() will end with success
                         ['vswitch', 'add_flow', 'int_br0',
                          {'in_port': '#STEP[2][1]', 'actions': ['output:#STEP[1][1]'], 'idle_timeout': '0'}],
+                        ['vswitch', 'add_flow', 'int_br0', {'priority' : '0', 'actions' : ['NORMAL']}],
                         ['vnf', 'start'],
                         # configure two channels, so multiple cores could be used
                         ['vnf', 'execute_and_wait', 'ethtool -L eth0 combined 2'],
@@ -561,7 +563,6 @@ INTEGRATION_TESTS = INTEGRATION_TESTS + [
                         ['vnf', 'execute_and_wait', 'route add default gw 1.1.1.5 eth0'],
                         ['vnf', 'execute_and_wait', 'arp -s 1.1.1.5 DE:AD:BE:EF:CA:FC'],
                         ['vnf', 'execute_and_wait', 'ip a'],
-
                         ['trafficgen', 'send_traffic',{}],
                         # check interrupts to verify that traffic was corectly dispatched...
                         ['#result', 'vnf', 'execute_and_wait', 'cat /proc/interrupts',
-- 
cgit