FIX: Apply revert routing in case interfaces are reverted 15/17515/2
authorPeter Mikus <pmikus@cisco.com>
Tue, 12 Feb 2019 13:01:23 +0000 (13:01 +0000)
committerPeter Mikus <pmikus@cisco.com>
Wed, 13 Feb 2019 07:15:36 +0000 (07:15 +0000)
Change-Id: Iecd4606f000aa49a16a07fb02ae1b6f1c52a52d8
Signed-off-by: Peter Mikus <pmikus@cisco.com>
resources/libraries/python/DPDK/L3fwdTest.py

index d4b9f16..0a22fe6 100644 (file)
@@ -102,6 +102,7 @@ class L3fwdTest(object):
         # detect which is the port 0
         if min(if_pci0, if_pci1) != if_pci0:
             if_key0, if_key1 = if_key1, if_key0
+            L3fwdTest.patch_l3fwd(dut_node, 'patch_l3fwd_flip_routes')
 
         adj_node0, adj_if_key0 = Topology.get_adjacent_node_and_interface( \
                                  nodes_info, dut_node, if_key0)

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.