X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fshared%2Fdefault.robot;h=9c8ad458cf69a55232415241932bdd0c34f17ddd;hb=f7f3d8bcaf06a41ab481fd32463694ee6c9ae98c;hp=89609f563b8780531409256f0abf5eea5b33d83a;hpb=248d1a52e06622dc9eb1dfdd6ca9f6670b4c0bc3;p=csit.git diff --git a/resources/libraries/robot/shared/default.robot b/resources/libraries/robot/shared/default.robot index 89609f563b..9c8ad458cf 100644 --- a/resources/libraries/robot/shared/default.robot +++ b/resources/libraries/robot/shared/default.robot @@ -114,6 +114,7 @@ | | | Run keyword | ${dut}.Add Unix CLI Listen | | | Run keyword | ${dut}.Add Unix Nodaemon | | | Run keyword | ${dut}.Add Unix Coredump +| | | Run keyword | ${dut}.Add Socksvr | | | Run keyword | ${dut}.Add DPDK No Tx Checksum Offload | | | Run keyword | ${dut}.Add DPDK Log Level | debug | | | Run keyword | ${dut}.Add DPDK Uio Driver @@ -373,6 +374,31 @@ | | :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 NAT to all DUTs | | [Documentation] | Add NAT configuration to all DUTs. | | ... @@ -429,7 +455,7 @@ | | ... | ${thr_count_int} | Write startup configuration on all VPP DUTs -| | [Documentation] | Write VPP startup configuration on all DUTs. +| | [Documentation] | Write VPP startup configuration without restarting VPP. | | ... | | :FOR | ${dut} | IN | @{duts} | | | Run keyword | ${dut}.Write Config