X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fshared%2Fdefault.robot;h=1db0dcbaca77ea2ec66ef4af77938d5c4c211ccb;hb=c502f71306e0334eeb9726836105b3580c5a426e;hp=57ee1797af76d3a837d0221cf73180a538e258cc;hpb=d2a7114de8c307c152b119d2c153e1d75df78b65;p=csit.git diff --git a/resources/libraries/robot/shared/default.robot b/resources/libraries/robot/shared/default.robot index 57ee1797af..1db0dcbaca 100644 --- a/resources/libraries/robot/shared/default.robot +++ b/resources/libraries/robot/shared/default.robot @@ -20,31 +20,35 @@ | Library | OperatingSystem | Library | String | ... -| Library | resources.libraries.python.CoreDumpUtil +| Library | resources.libraries.python.Classify.Classify | Library | resources.libraries.python.CpuUtils +| Library | resources.libraries.python.CoreDumpUtil +| Library | resources.libraries.python.Cop | Library | resources.libraries.python.DUTSetup | Library | resources.libraries.python.L2Util | Library | resources.libraries.python.Namespaces +| Library | resources.libraries.python.PapiHistory | Library | resources.libraries.python.SchedUtils | Library | resources.libraries.python.Tap | Library | resources.libraries.python.TGSetup -| Library | resources.libraries.python.PapiHistory +| Library | resources.libraries.python.topology.Topology +| Library | resources.libraries.python.Trace | Library | resources.libraries.python.VppCounters | Library | resources.libraries.python.VPPUtil -| Library | resources.libraries.python.Trace -| Library | resources.libraries.python.topology.Topology | ... | 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/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/container.robot -| Resource | resources/libraries/robot/shared/qemu.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 | Resource | resources/libraries/robot/shared/test_setup.robot | Resource | resources/libraries/robot/shared/traffic.robot +| Resource | resources/libraries/robot/shared/vm.robot *** Keywords *** | Show Vpp Errors On All DUTs @@ -111,6 +115,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 @@ -370,6 +375,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. | | ... @@ -426,7 +470,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