aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot
diff options
context:
space:
mode:
authorMatej Klotton <mklotton@cisco.com>2016-09-06 13:46:30 +0200
committerJan Gelety <jgelety@cisco.com>2016-09-06 15:39:40 +0000
commitc4dcb15036386cafac8ffe4c512dea931f9d5349 (patch)
tree16efd172fbc73348589475f162a108ede5cf7dc6 /resources/libraries/robot
parent7cc7a7d0c2d7fa1e398fc2c14d77a6bf67d24eff (diff)
CSIT-353: MAP-T FIX: Add tx src mac to traffic script
Change-Id: I011231c68dc470590323933dbdb3f33c3026559b Signed-off-by: Matej Klotton <mklotton@cisco.com>
Diffstat (limited to 'resources/libraries/robot')
-rw-r--r--resources/libraries/robot/map.robot7
1 files changed, 4 insertions, 3 deletions
diff --git a/resources/libraries/robot/map.robot b/resources/libraries/robot/map.robot
index fc7744e361..ac086b4511 100644
--- a/resources/libraries/robot/map.robot
+++ b/resources/libraries/robot/map.robot
@@ -274,6 +274,7 @@
| | ... | - tx_if - Interface from where to send IPv4 UDP packet. Type: string
| | ... | - rx_if - Interface where to receive IPv6 UDP packet. Type: string
| | ... | - tx_dst_mac - Destination MAC address of IPv4 packet. Type: string
+| | ... | - tx_src_mac - Source MAC address of IPv4 packet. Type: string
| | ... | - tx_dst_ipv6 - Destination IPv6 address. Type: string
| | ... | - tx_src_ipv6 - Source IPv6 address. Type: string
| | ... | - tx_src_udp_port - Source UDP port. Type: integer
@@ -293,15 +294,15 @@
| | ... | \| 08:00:27:66:b8:57 \| 100.0.0.1 \| 20.169.201.219 \|
| | ...
| | [Arguments]
-| | ... | ${tg_node} | ${tx_if} | ${rx_if}
-| | ... | ${tx_dst_mac} | ${tx_dst_ipv6} | ${tx_src_ipv6} | ${tx_src_udp_port}
+| | ... | ${tg_node} | ${tx_if} | ${rx_if} | ${tx_dst_mac} | ${tx_src_mac}
+| | ... | ${tx_dst_ipv6} | ${tx_src_ipv6} | ${tx_src_udp_port}
| | ... | ${rx_dst_mac} | ${rx_src_mac} | ${dst_ipv4} | ${src_ipv4}
| | ...
| | ${tx_name}= | Get interface name | ${tg_node} | ${tx_if}
| | ${rx_name}= | Get interface name | ${tg_node} | ${rx_if}
| | ${args}= | Catenate
| | ... | --tx_if | ${tx_name} | --rx_if | ${rx_name}
-| | ... | --tx_dst_mac | ${tx_dst_mac}
+| | ... | --tx_dst_mac | ${tx_dst_mac} | --tx_src_mac | ${tx_src_mac}
| | ... | --tx_src_ipv6 | ${tx_src_ipv6} | --tx_dst_ipv6 | ${tx_dst_ipv6}
| | ... | --tx_src_udp_port | ${tx_src_udp_port}
| | ... | --rx_dst_mac | ${rx_dst_mac} | --rx_src_mac | ${rx_src_mac}