X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fperformance%2Fperformance_setup.robot;h=e9f155533ec9f0aca4b43c7211ce3985bf7c4b88;hb=89620b26d6bbf3dd9d9707851d8d140471d40b56;hp=0a1eeec955eaa290c46489d00d87e71879785e8c;hpb=b456176a07ae1a3721407693d75931db6b1cd14e;p=csit.git diff --git a/resources/libraries/robot/performance/performance_setup.robot b/resources/libraries/robot/performance/performance_setup.robot index 0a1eeec955..e9f155533e 100644 --- a/resources/libraries/robot/performance/performance_setup.robot +++ b/resources/libraries/robot/performance/performance_setup.robot @@ -437,6 +437,68 @@ | | Initialize DPDK Environment | ${dut1} | ${dut1_if1} | ${dut1_if2} | | Initialize DPDK Environment | ${dut2} | ${dut2_if1} | ${dut2_if2} +| Set up SRIOV 2-node performance topology with DUT's NIC model +| | [Documentation] +| | ... | Suite preparation phase that sets default startup configuration of +| | ... | VPP on all DUTs. Updates interfaces on all nodes and sets global +| | ... | variables used in test cases based on interface model provided as an +| | ... | argument. Initializes traffic generator. +| | ... | It configures PCI device with VFs on all DUTs. +| | ... +| | ... | *Arguments:* +| | ... | - topology_type - Topology type. Type: string +| | ... | - nic_model - Interface model. Type: string +| | ... | - vf_driver - Virtual function driver. Type: string +| | ... | - numvfs - Number of VFs. Type: integer +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Set up SRIOV 2-node performance topology with DUT's NIC model \ +| | ... | \| L2 \| Intel-X520-DA2 \| AVF \| +| | ... +| | [Arguments] | ${topology_type} | ${nic_model} | ${vf_driver} +| | ... | ${numvfs}=${1} +| | ... +| | Set variables in 2-node circular topology with DUT interface model +| | ... | ${nic_model} +| | Run Keyword If | '${vf_driver}' == 'AVF' +| | ... | Configure AVF interfaces on all DUTs | numvfs=${numvfs} +| | ... | topology_type=${topology_type} +| | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2} +| | ... | ${dut1} | ${dut1_if1_vf0} | ${dut1} | ${dut1_if2_vf0} +| | ... | ${topology_type} + +| Set up SRIOV 3-node performance topology with DUT's NIC model +| | [Documentation] +| | ... | Suite preparation phase that sets default startup configuration of +| | ... | VPP on all DUTs. Updates interfaces on all nodes and sets global +| | ... | variables used in test cases based on interface model provided as an +| | ... | argument. Initializes traffic generator. +| | ... | It configures PCI device with VFs on all DUTs. +| | ... +| | ... | *Arguments:* +| | ... | - topology_type - Topology type. Type: string +| | ... | - nic_model - Interface model. Type: string +| | ... | - vf_driver - Virtual function driver. Type: string +| | ... | - numvfs - Number of VFs. Type: integer +| | ... +| | ... | *Example:* +| | ... +| | ... | \| Set up SRIOV 3-node performance topology with DUT's NIC model \ +| | ... | \| L2 \| Intel-X520-DA2 \| AVF \| +| | ... +| | [Arguments] | ${topology_type} | ${nic_model} | ${vf_driver} +| | ... | ${numvfs}=${1} +| | ... +| | Set variables in 3-node circular topology with DUT interface model +| | ... | ${nic_model} +| | Run Keyword If | '${vf_driver}' == 'AVF' +| | ... | Configure AVF interfaces on all DUTs | numvfs=${numvfs} +| | ... | topology_type=${topology_type} +| | Initialize traffic generator | ${tg} | ${tg_if1} | ${tg_if2} +| | ... | ${dut1} | ${dut1_if1_vf0} | ${dut2} | ${dut2_if2_vf0} +| | ... | ${topology_type} + | Set up IPSec performance test suite | | [Documentation] | | ... | Suite preparation phase that sets default startup configuration of @@ -499,6 +561,13 @@ | | Set Suite Variable | @{plugins_to_enable} | | Append To List | ${plugins_to_enable} | acl_plugin.so +| Set up performance test suite with AVF driver +| | [Documentation] +| | ... | Append avf_plugin.so to the list of enabled plugins. +| | ... +| | Set Suite Variable | @{plugins_to_enable} +| | Append To List | ${plugins_to_enable} | avf_plugin.so + | Set up performance test suite with Static SRv6 proxy | | [Documentation] | | ... | Append srv6as_plugin.so to the list of enabled plugins.