FIX: Set MTU before configuring l2patch
[csit.git] / resources / libraries / robot / performance / performance_configuration.robot
index 74b44b1..4c01a1a 100644 (file)
 | | ... | maximal MTU.*
 | | ...
 # TODO: Rework KW to set all interfaces in path UP and set MTU (including
-# software interfaces. Run KW at the end phase of VPP setup to split
+# software interfaces. Run KW at the start phase of VPP setup to split
 # from other "functial" configuration. This will allow modularity of this
 # library
 | | ${duts}= | Get Matches | ${nodes} | DUT*
 | | :FOR | ${dut} | IN | @{duts}
-| | | VPP Set Interface MTU | ${nodes['${dut}']} | ${${dut}_if1}
 | | | Set Interface State | ${nodes['${dut}']} | ${${dut}_if1} | up
-| | | VPP Set Interface MTU | ${nodes['${dut}']} | ${${dut}_if2}
 | | | Set Interface State | ${nodes['${dut}']} | ${${dut}_if2} | up
 | | All VPP Interfaces Ready Wait | ${nodes}
+| | ${duts}= | Get Matches | ${nodes} | DUT*
+| | :FOR | ${dut} | IN | @{duts}
+| | | VPP Set Interface MTU | ${nodes['${dut}']} | ${${dut}_if1}
+| | | VPP Set Interface MTU | ${nodes['${dut}']} | ${${dut}_if2}
 
 | Initialize IPSec in 3-node circular topology
 | | [Documentation]
 | | ... | Setup L2 patch topology by cross connecting two interfaces on
 | | ... | each DUT. Interfaces are brought up.
 | | ...
+| | Set interfaces in path up
 | | ${duts}= | Get Matches | ${nodes} | DUT*
 | | :FOR | ${dut} | IN | @{duts}
 | | | Configure L2patch | ${nodes['${dut}']} | ${${dut}_if1} | ${${dut}_if2}
-| | Set interfaces in path up
 
 | Initialize L2 xconnect in 2-node circular topology
 | | [Documentation]