X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fperformance%2Fperformance_configuration.robot;h=ad91d9903affc9e6d39febf27041754b56b7664e;hp=19e42690ed45664285e83fbb7ee2489960923406;hb=62af070d1834d71405600b930f3c7607dffecbe4;hpb=5f1749877b1fbd57c616933625aede0fb1243db7 diff --git a/resources/libraries/robot/performance/performance_configuration.robot b/resources/libraries/robot/performance/performance_configuration.robot index 19e42690ed..ad91d9903a 100644 --- a/resources/libraries/robot/performance/performance_configuration.robot +++ b/resources/libraries/robot/performance/performance_configuration.robot @@ -1123,26 +1123,7 @@ | | Configure L2XC | ${dut2} | ${subif_index_2} | ${vhost_if1} | | Configure L2XC | ${dut2} | ${dut2_if2} | ${vhost_if2} -| Initialize L2 bridge domain in 2-node circular topology -| | [Documentation] -| | ... | Setup L2 DB topology by adding two interfaces on DUT into BD -| | ... | that is created automatically with index 1. Learning is enabled. -| | ... | Interfaces are brought up. -| | ... -| | ... | *Arguments:* -| | ... | - bd_id - Bridge domain ID. Type: integer -| | ... -| | ... | *Example:* -| | ... -| | ... | \| Initialize L2 bridge domain in 2-node circular topology \| 1 \| -| | ... -| | [Arguments] | ${bd_id}=${1} -| | ... -| | Set interfaces in path up -| | Add interface to bridge domain | ${dut1} | ${dut1_if1} | ${bd_id} -| | Add interface to bridge domain | ${dut1} | ${dut1_if2} | ${bd_id} - -| Initialize L2 bridge domain in 3-node circular topology +| Initialize L2 bridge domain in circular topology | | [Documentation] | | ... | Setup L2 DB topology by adding two interfaces on each DUT into BD | | ... | that is created automatically with index 1. Learning is enabled. @@ -1153,15 +1134,21 @@ | | ... | | ... | *Example:* | | ... -| | ... | \| Initialize L2 bridge domain in 3-node circular topology \| 1 \| +| | ... | \| Initialize L2 bridge domain in circular topology \| 1 \| | | ... | | [Arguments] | ${bd_id}=${1} | | ... +| | ${dut2_status} | ${value}= | Run Keyword And Ignore Error +| | ... | Variable Should Exist | ${dut2} +| | ... | | Set interfaces in path up +| | ... | | Add interface to bridge domain | ${dut1} | ${dut1_if1} | ${bd_id} | | Add interface to bridge domain | ${dut1} | ${dut1_if2} | ${bd_id} -| | Add interface to bridge domain | ${dut2} | ${dut2_if1} | ${bd_id} -| | Add interface to bridge domain | ${dut2} | ${dut2_if2} | ${bd_id} +| | Run Keyword If | '${dut2_status}' == 'PASS' +| | ... | Add interface to bridge domain | ${dut2} | ${dut2_if1} | ${bd_id} +| | Run Keyword If | '${dut2_status}' == 'PASS' +| | ... | Add interface to bridge domain | ${dut2} | ${dut2_if2} | ${bd_id} | Configure IPv4 ACLs | | [Documentation]