diff options
author | pmikus <pmikus@cisco.com> | 2016-08-22 13:47:11 +0100 |
---|---|---|
committer | Miroslav Miklus <mmiklus@cisco.com> | 2016-08-25 12:54:40 +0000 |
commit | cff5ea63c1a32c3e396e4aa47d54cb9e56748d7d (patch) | |
tree | b465de456dd3bab5dc2ebcc0e94bcc1f01cb03de /resources | |
parent | 8ba801e005e6134f76cde3a909271d65bbe79eca (diff) |
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 <pmikus@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/libraries/robot/performance.robot | 30 |
1 files changed, 30 insertions, 0 deletions
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 |