diff options
author | Miroslav Miklus <mmiklus@cisco.com> | 2016-05-08 14:11:51 +0200 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2016-06-28 00:15:03 +0000 |
commit | cbd47fbe97945e9dc6584d08cd2266e3a7536a68 (patch) | |
tree | 9344a863606381b2ce8069d82f0731440c31b295 /resources/libraries/robot/gre.robot | |
parent | 1689b0781206d874fd2b664cdd7d770f1e3932c8 (diff) |
Use interface key instead of interface name.
JIRA: CSIT-141
Change-Id: I75cef6d570ab45ea9c4af838b6bf68cefc7c1a91
Signed-off-by: Miroslav Miklus <mmiklus@cisco.com>
Diffstat (limited to 'resources/libraries/robot/gre.robot')
-rw-r--r-- | resources/libraries/robot/gre.robot | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/resources/libraries/robot/gre.robot b/resources/libraries/robot/gre.robot index b2036b840d..23d6ff9098 100644 --- a/resources/libraries/robot/gre.robot +++ b/resources/libraries/robot/gre.robot @@ -75,7 +75,9 @@ | | ... | ${tx_dst_mac} | ${rx_dst_mac} | | ... | ${inner_src_ip} | ${inner_dst_ip} | | ... | ${outer_src_ip} | ${outer_dst_ip} -| | ${args}= | Catenate | --tx_if | ${tx_if} | --rx_if | ${rx_if} +| | ${tx_if_name}= | Get interface name | ${tg_node} | ${tx_if} +| | ${rx_if_name}= | Get interface name | ${tg_node} | ${rx_if} +| | ${args}= | Catenate | --tx_if | ${tx_if_name} | --rx_if | ${rx_if_name} | | | ... | --tx_dst_mac | ${tx_dst_mac} | --rx_dst_mac | ${rx_dst_mac} | | | ... | --inner_src_ip | ${inner_src_ip} | --inner_dst_ip | ${inner_dst_ip} | | | ... | --outer_src_ip | ${outer_src_ip} | --outer_dst_ip | ${outer_dst_ip} @@ -115,7 +117,9 @@ | | ... | ${tx_dst_mac} | ${rx_dst_mac} | | ... | ${inner_src_ip} | ${inner_dst_ip} | | ... | ${outer_src_ip} | ${outer_dst_ip} -| | ${args}= | Catenate | --tx_if | ${tx_if} | --rx_if | ${rx_if} +| | ${tx_if_name}= | Get interface name | ${tg_node} | ${tx_if} +| | ${rx_if_name}= | Get interface name | ${tg_node} | ${rx_if} +| | ${args}= | Catenate | --tx_if | ${tx_if_name} | --rx_if | ${rx_if_name} | | | ... | --tx_dst_mac | ${tx_dst_mac} | --rx_dst_mac | ${rx_dst_mac} | | | ... | --inner_src_ip | ${inner_src_ip} | --inner_dst_ip | ${inner_dst_ip} | | | ... | --outer_src_ip | ${outer_src_ip} | --outer_dst_ip | ${outer_dst_ip} |