diff options
author | Miroslav Miklus <mmiklus@cisco.com> | 2016-06-28 19:00:12 +0200 |
---|---|---|
committer | Miroslav Miklus <mmiklus@cisco.com> | 2016-06-29 09:52:14 +0200 |
commit | f58467f6bb90c5954bdf0de1f132c48d227710f8 (patch) | |
tree | 9bb6e02739e8dd4e654278b3b78a867d5dbfe904 /resources/libraries | |
parent | 4f5f136f8d445c60db38c9f59622f379f04ff3bb (diff) |
FIX: refactor https://gerrit.fd.io/r/#/c/1032
Change-Id: If4585e9a586696ce583c356c7567dc68750bc08d
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Diffstat (limited to 'resources/libraries')
-rw-r--r-- | resources/libraries/robot/tagging.robot | 6 |
1 files 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} |