X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fshared%2Fdefault.robot;h=11640e085d800a52d1853c16efd0538f282bffc0;hb=484cb0bddf8ad75129ac20b955a72f36f4241ad2;hp=0bacb53a5d87de28e8f007f1e2d3d635cc644a50;hpb=f88a3d9178dfbd73d0479f9aa2f5224e0c89ca1f;p=csit.git diff --git a/resources/libraries/robot/shared/default.robot b/resources/libraries/robot/shared/default.robot index 0bacb53a5d..11640e085d 100644 --- a/resources/libraries/robot/shared/default.robot +++ b/resources/libraries/robot/shared/default.robot @@ -37,11 +37,21 @@ | Library | resources.libraries.python.VPPUtil | ... | Resource | resources/libraries/robot/crypto/ipsec.robot +| Resource | resources/libraries/robot/features/gbp.robot +| Resource | resources/libraries/robot/features/policer.robot +| Resource | resources/libraries/robot/ip/ip4.robot +| Resource | resources/libraries/robot/ip/ip6.robot +| Resource | resources/libraries/robot/l2/l2_bridge_domain.robot +| Resource | resources/libraries/robot/l2/l2_patch.robot +| Resource | resources/libraries/robot/l2/l2_xconnect.robot +| Resource | resources/libraries/robot/l2/tagging.robot +| Resource | resources/libraries/robot/overlay/srv6.robot | Resource | resources/libraries/robot/performance/performance_configuration.robot | Resource | resources/libraries/robot/performance/performance_limits.robot | Resource | resources/libraries/robot/performance/performance_utils.robot +| Resource | resources/libraries/robot/shared/counters.robot +| Resource | resources/libraries/robot/shared/interfaces.robot | Resource | resources/libraries/robot/shared/container.robot -| Resource | resources/libraries/robot/features/policer.robot | Resource | resources/libraries/robot/shared/suite_teardown.robot | Resource | resources/libraries/robot/shared/suite_setup.robot | Resource | resources/libraries/robot/shared/test_teardown.robot @@ -374,6 +384,45 @@ | | :FOR | ${dut} | IN | @{duts} | | | Run keyword | ${dut}.Add DPDK Uio Driver | ${uio_driver} +| Add VLAN strip offload switch off +| | [Documentation] +| | ... | Add VLAN Strip Offload switch off on all PCI devices. +| | ... +| | :FOR | ${dut} | IN | @{duts} +| | | ${dut_str}= | Convert To Lowercase | ${dut} +| | | ${if1_pci}= | Get Interface PCI Addr | ${nodes['${dut}']} +| | | ... | ${${dut_str}_if1} +| | | ${if2_pci}= | Get Interface PCI Addr | ${nodes['${dut}']} +| | | ... | ${${dut_str}_if2} +| | | Run keyword | ${dut}.Add DPDK Dev Parameter | ${if1_pci} +| | | ... | vlan-strip-offload | off +| | | Run keyword | ${dut}.Add DPDK Dev Parameter | ${if2_pci} +| | | ... | vlan-strip-offload | off + +| Add VLAN strip offload switch off between DUTs in 3-node single link topology +| | [Documentation] +| | ... | Add VLAN Strip Offload switch off on PCI devices between DUTs to VPP +| | ... | configuration file. +| | ... +| | Run keyword | DUT1.Add DPDK Dev Parameter | ${dut1_if2_pci} +| | ... | vlan-strip-offload | off +| | Run keyword | DUT2.Add DPDK Dev Parameter | ${dut2_if1_pci} +| | ... | vlan-strip-offload | off + +| Add VLAN strip offload switch off between DUTs in 3-node double link topology +| | [Documentation] +| | ... | Add VLAN Strip Offload switch off on PCI devices between DUTs to VPP +| | ... | configuration file +| | ... +| | Run keyword | DUT1.Add DPDK Dev Parameter | ${dut1_if2_1_pci} +| | ... | vlan-strip-offload | off +| | Run keyword | DUT1.Add DPDK Dev Parameter | ${dut1_if2_2_pci} +| | ... | vlan-strip-offload | off +| | Run keyword | DUT2.Add DPDK Dev Parameter | ${dut2_if1_1_pci} +| | ... | vlan-strip-offload | off +| | Run keyword | DUT2.Add DPDK Dev Parameter | ${dut2_if1_2_pci} +| | ... | vlan-strip-offload | off + | Add NAT to all DUTs | | [Documentation] | Add NAT configuration to all DUTs. | | ...