integration fix ovsdpdk_mq_pvp_rxqs_linux_bridge 75/68675/3
authorLukasz Pawlik <lukaszx.pawlik@intel.com>
Thu, 10 Oct 2019 09:11:54 +0000 (10:11 +0100)
committerEmma Finn <emma.finn@intel.com>
Tue, 29 Oct 2019 11:04:56 +0000 (11:04 +0000)
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

index e84a616..a6f854d 100644 (file)
@@ -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',