From f58467f6bb90c5954bdf0de1f132c48d227710f8 Mon Sep 17 00:00:00 2001 From: Miroslav Miklus Date: Tue, 28 Jun 2016 19:00:12 +0200 Subject: [PATCH 1/1] FIX: refactor https://gerrit.fd.io/r/#/c/1032 Change-Id: If4585e9a586696ce583c356c7567dc68750bc08d Signed-off-by: Miroslav Miklus --- resources/libraries/robot/tagging.robot | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/resources/libraries/robot/tagging.robot b/resources/libraries/robot/tagging.robot index 3ae02b5740..7d1d2feb81 100644 --- a/resources/libraries/robot/tagging.robot +++ b/resources/libraries/robot/tagging.robot @@ -80,10 +80,12 @@ | | ... | \| ${nodes['DUT1']} \| ${dut1_if2} \| ${nodes['DUT2']} \ | | ... | \| ${dut1_if2} \| 10 \| | | ... +| | ${INT1_NAME}= | Get interface name | ${DUT1} | ${INT1} +| | ${INT2_NAME}= | Get interface name | ${DUT2} | ${INT2} | | ${subif_name_1} | ${subif_index_1}= | Create Vlan Subinterface -| | | ... | ${DUT1} | ${INT1} | ${SUB_ID} +| | | ... | ${DUT1} | ${INT1_NAME} | ${SUB_ID} | | ${subif_name_2} | ${subif_index_2}= | Create Vlan Subinterface -| | | ... | ${DUT2} | ${INT2} | ${SUB_ID} +| | | ... | ${DUT2} | ${INT2_NAME} | ${SUB_ID} | | Set Interface State | ${DUT1} | ${subif_index_1} | up | | Set Interface State | ${DUT2} | ${subif_index_2} | up | | Set Test Variable | ${subif_name_1} -- 2.16.6