From 3f074f530223783e9e986dfe2f4b64af93483abc Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Wed, 25 Jul 2018 06:47:34 +0000 Subject: FIX: Interface up handling - Increase timeout when trying to check interface (this is useful if there are multiple interfaces and dump command take more than TIMEOUT/NR_IF which is happening quite often). - Reverse the order of applying MTU and interface UP to try to prevent API overload during interface initialization phase. Change-Id: I4e8623963d15b3c0d202172b4c58c43a972bb9cb Signed-off-by: Peter Mikus (cherry picked from commit 584345da4f7330f7517e5defd894b4995c2b57b0) --- .../libraries/robot/performance/performance_configuration.robot | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'resources/libraries/robot/performance') diff --git a/resources/libraries/robot/performance/performance_configuration.robot b/resources/libraries/robot/performance/performance_configuration.robot index 2e2eb84e2f..74b44b13c8 100644 --- a/resources/libraries/robot/performance/performance_configuration.robot +++ b/resources/libraries/robot/performance/performance_configuration.robot @@ -49,11 +49,11 @@ # library | | ${duts}= | Get Matches | ${nodes} | DUT* | | :FOR | ${dut} | IN | @{duts} -| | | Set Interface State | ${nodes['${dut}']} | ${${dut}_if1} | up | | | VPP Set Interface MTU | ${nodes['${dut}']} | ${${dut}_if1} -| | | Set Interface State | ${nodes['${dut}']} | ${${dut}_if2} | up +| | | Set Interface State | ${nodes['${dut}']} | ${${dut}_if1} | up | | | VPP Set Interface MTU | ${nodes['${dut}']} | ${${dut}_if2} -| | | VPP Node Interfaces Ready Wait | ${nodes['${dut}']} +| | | Set Interface State | ${nodes['${dut}']} | ${${dut}_if2} | up +| | All VPP Interfaces Ready Wait | ${nodes} | Initialize IPSec in 3-node circular topology | | [Documentation] @@ -997,6 +997,7 @@ | | ... | ${sock1} | ${sock2} | | Configure L2XC | ${dut2} | ${subif_index_2} | ${vhost_if1} | | Configure L2XC | ${dut2} | ${dut2_if2} | ${vhost_if2} +| | All VPP Interfaces Ready Wait | ${nodes} | Initialize L2 xconnect with Vhost-User and VLAN with VPP link bonding in 3-node circular topology | | [Documentation] -- cgit 1.2.3-korg