X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fshared%2Finterfaces.robot;h=514ed91a5ba0529ec432dc846c8e1c560ad0c5c5;hp=f3fb3decd5ed2037af2a994c7867cf59f2767799;hb=20fa203481888929379cab4379a2ffbd17ca68ed;hpb=44051c9c1d7819760a95b0980bd3ef16066a33c0 diff --git a/resources/libraries/robot/shared/interfaces.robot b/resources/libraries/robot/shared/interfaces.robot index f3fb3decd5..514ed91a5b 100644 --- a/resources/libraries/robot/shared/interfaces.robot +++ b/resources/libraries/robot/shared/interfaces.robot @@ -444,7 +444,13 @@ | | ... | | ${vhost_1}= | Vpp Create Vhost User Interface | ${dut_node} | ${sock1} | | ${vhost_2}= | Vpp Create Vhost User Interface | ${dut_node} | ${sock2} +| | ${vhost_1_key}= | Get Interface By SW Index | ${dut_node} | ${vhost_1} +| | ${vhost_2_key}= | Get Interface By SW Index | ${dut_node} | ${vhost_2} +| | ${vhost_1_mac}= | Get Interface MAC | ${dut_node} | ${vhost_1_key} +| | ${vhost_2_mac}= | Get Interface MAC | ${dut_node} | ${vhost_2_key} | | Set Interface State | ${dut_node} | ${vhost_1} | up | | Set Interface State | ${dut_node} | ${vhost_2} | up | | Set Test Variable | ${${vhost_if1}} | ${vhost_1} | | Set Test Variable | ${${vhost_if2}} | ${vhost_2} +| | Set Test Variable | ${${vhost_if1}_mac} | ${vhost_1_mac} +| | Set Test Variable | ${${vhost_if2}_mac} | ${vhost_2_mac}