From f45cd0ceb17f33376a04edf9b4fb5a37d9ebfb89 Mon Sep 17 00:00:00 2001 From: Miroslav Miklus Date: Fri, 15 Jul 2016 15:16:34 +0200 Subject: CSIT-106 Vpp config - use only test-related interfaces Current behaviour is to add all interfaces from topology, we only want to add interfaces from computed path. Change-Id: I9c5d4e765dbe399ee06dd13f0d25c48d3d8e5127 Signed-off-by: Miroslav Miklus --- resources/libraries/robot/default.robot | 1 + resources/libraries/robot/performance.robot | 12 ++++++++---- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'resources/libraries/robot') diff --git a/resources/libraries/robot/default.robot b/resources/libraries/robot/default.robot index ad5d69dfed..3135ef0041 100644 --- a/resources/libraries/robot/default.robot +++ b/resources/libraries/robot/default.robot @@ -146,3 +146,4 @@ | | ${duts}= | Get Matches | ${nodes} | DUT* | | :FOR | ${dut} | IN | @{duts} | | | Apply Config | ${nodes['${dut}']} +| | Update All Interface Data On All Nodes | ${nodes} | skip_tg=${TRUE} diff --git a/resources/libraries/robot/performance.robot b/resources/libraries/robot/performance.robot index 8bc0dbec24..2099deef77 100644 --- a/resources/libraries/robot/performance.robot +++ b/resources/libraries/robot/performance.robot @@ -357,7 +357,6 @@ | | ... | \| 2-node Performance Suite Setup \| L2 \| | | [Arguments] | ${topology_type} | | Setup default startup configuration of VPP on all DUTs -| | Update All Interface Data On All Nodes | ${nodes} | | Show vpp version on all DUTs | | Setup performance rate Variables | | Setup performance global Variables @@ -381,7 +380,6 @@ | | ... | \| 3-node Performance Suite Setup \| L2 \| | | [Arguments] | ${topology_type} | | Setup default startup configuration of VPP on all DUTs -| | Update All Interface Data On All Nodes | ${nodes} | | Show vpp version on all DUTs | | Setup performance rate Variables | | Setup performance global Variables @@ -407,7 +405,6 @@ | | ... | \| 2-node Performance Suite Setup \| L2 \| Intel-X520-DA2 \| | | [Arguments] | ${topology_type} | ${nic_model} | | Setup default startup configuration of VPP on all DUTs -| | Update All Interface Data On All Nodes | ${nodes} | | Show vpp version on all DUTs | | Setup performance rate Variables | | Setup performance global Variables @@ -434,7 +431,6 @@ | | ... | \| 3-node Performance Suite Setup \| L2 \| Intel-X520-DA2 \| | | [Arguments] | ${topology_type} | ${nic_model} | | Setup default startup configuration of VPP on all DUTs -| | Update All Interface Data On All Nodes | ${nodes} | | Show vpp version on all DUTs | | Setup performance rate Variables | | Setup performance global Variables @@ -831,3 +827,11 @@ | | Sleep | ${duration} | | Show runtime counters on all DUTs | | Stop traffic on tg + +| Add PCI devices to DUTs from 3-node single link topology +| | ${dut1_if1_pci}= | Get Interface PCI Addr | ${dut1} | ${dut1_if1} +| | ${dut1_if2_pci}= | Get Interface PCI Addr | ${dut1} | ${dut1_if2} +| | ${dut2_if1_pci}= | Get Interface PCI Addr | ${dut2} | ${dut2_if1} +| | ${dut2_if2_pci}= | Get Interface PCI Addr | ${dut2} | ${dut2_if2} +| | Add PCI device | ${dut1} | ${dut1_if1_pci} | ${dut1_if2_pci} +| | Add PCI device | ${dut2} | ${dut2_if1_pci} | ${dut2_if2_pci} -- cgit 1.2.3-korg