From cff5ea63c1a32c3e396e4aa47d54cb9e56748d7d Mon Sep 17 00:00:00 2001 From: pmikus Date: Mon, 22 Aug 2016 13:47:11 +0100 Subject: CSIT-275 IPv4 DP - QoS - performance - Add libraries for DUT setup - Add test cases with various packet size and DUT startup setup Change-Id: I52a19f8e398f515cc231bb7190cd98299ca989ce Signed-off-by: pmikus --- resources/libraries/robot/performance.robot | 30 +++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'resources/libraries/robot') diff --git a/resources/libraries/robot/performance.robot b/resources/libraries/robot/performance.robot index e9ec948772..5619d003a1 100644 --- a/resources/libraries/robot/performance.robot +++ b/resources/libraries/robot/performance.robot @@ -605,6 +605,36 @@ | | Vpp Route Add | ${dut2} | 10.10.10.0 | 24 | 5.5.5.2 | ${dut2_vif2} | | ... | vrf=${fib_table_2} +| IPv4 policer 2r3c-${t} initialized in a 3-node circular topology +| | [Documentation] +| | ... | Setup of 2r3c color-aware or color-blind policer with dst ip match +| | ... | on all DUT nodes in 3-node circular topology. Policer is applied on +| | ... | links TG - DUT1 and DUT2 - TG. +| | ... +| | ${dscp}= | DSCP AF22 +| | Policer Set Name | policer1 +| | Policer Set CIR | ${cir} +| | Policer Set EIR | ${eir} +| | Policer Set CB | ${cb} +| | Policer Set EB | ${eb} +| | Policer Set Rate Type pps +| | Policer Set Round Type Closest +| | Policer Set Type 2R3C 2698 +| | Policer Set Conform Action Transmit +| | Policer Set Exceed Action Mark and Transmit | ${dscp} +| | Policer Set Violate Action Transmit +| | Policer Enable Color Aware +| | Run Keyword If | ${t} == 'ca' | Policer Enable Color Aware +| | Policer Classify Set Precolor Exceed +| | Policer Set Node | ${dut1} +| | Policer Classify Set Interface | ${dut1_if1} +| | Policer Classify Set Match IP | 20.20.20.2 | ${False} +| | Policer Set Configuration +| | Policer Set Node | ${dut2} +| | Policer Classify Set Interface | ${dut2_if2} +| | Policer Classify Set Match IP | 10.10.10.2 | ${False} +| | Policer Set Configuration + | IPv6 forwarding initialized in a 3-node circular topology | | [Documentation] | | ... | Set UP state on VPP interfaces in path on nodes in 3-node circular -- cgit 1.2.3-korg