aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2019-08-07 21:21:58 +0200
committerJan Gelety <jgelety@cisco.com>2019-08-12 12:31:50 +0000
commit02eccf396f8b1e10c6513cb1bd580a7241609aa0 (patch)
treeee6502c06bc38fb03eb328048b6805131cd0780b /resources/libraries/robot
parent87a7b234cd8301ed9240d8719201e3009fd76e55 (diff)
FIX: if MAC address must be updated after AVF interface creation
Change-Id: I9fc26a7d1bf8d9eed620173a73febe3d874a1351 Signed-off-by: Jan Gelety <jgelety@cisco.com> (cherry picked from commit 3e664d4a46aecf847659df2fe3d2572697b582a7)
Diffstat (limited to 'resources/libraries/robot')
-rw-r--r--resources/libraries/robot/shared/interfaces.robot6
1 files changed, 6 insertions, 0 deletions
diff --git a/resources/libraries/robot/shared/interfaces.robot b/resources/libraries/robot/shared/interfaces.robot
index 2ec44cca73..29698dddb0 100644
--- a/resources/libraries/robot/shared/interfaces.robot
+++ b/resources/libraries/robot/shared/interfaces.robot
@@ -162,10 +162,16 @@
| | ... | ${${dut}_if2_vf0}
| | ${dut_eth_vf_if1}= | VPP Create AVF Interface | ${nodes['${dut}']}
| | ... | ${if1_pci} | ${rxq_count_int}
+| | ${dut_eth_vf_if1_mac}= | Get Interface MAC | ${nodes['${dut}']}
+| | ... | ${dut_eth_vf_if1}
| | ${dut_eth_vf_if2}= | VPP Create AVF Interface | ${nodes['${dut}']}
| | ... | ${if2_pci} | ${rxq_count_int}
+| | ${dut_eth_vf_if2_mac}= | Get Interface MAC | ${nodes['${dut}']}
+| | ... | ${dut_eth_vf_if2}
| | Set Test Variable | ${${dut_str}_if1} | ${dut_eth_vf_if1}
| | Set Test Variable | ${${dut_str}_if2} | ${dut_eth_vf_if2}
+| | Set Test Variable | ${${dut_str}_if1_mac} | ${dut_eth_vf_if1_mac}
+| | Set Test Variable | ${${dut_str}_if2_mac} | ${dut_eth_vf_if2_mac}
| Initialize AVF interfaces
| | [Documentation]