1 # Copyright (c) 2016 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
6 # http://www.apache.org/licenses/LICENSE-2.0
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
14 """Traffic keywords"""
17 | Library | resources.libraries.python.IPv6Util
18 | Library | resources.libraries.python.IPv6Setup
19 | Library | resources.libraries.python.TrafficScriptExecutor
20 | Library | resources.libraries.python.NodePath
21 | Library | resources.libraries.python.Routing
22 | Library | resources.libraries.python.InterfaceUtil
23 | Library | resources.libraries.python.topology.Topology
24 | Resource | resources/libraries/robot/default.robot
25 | Resource | resources/libraries/robot/counters.robot
26 | Documentation | Traffic keywords
29 | Send packet and verify headers
30 | | [Documentation] | Sends packet from IP (with source mac) to IP
31 | | ... | (with dest mac). There has to be 4 MAC addresses
32 | | ... | when using 2 node +
33 | | ... | xconnect (one for each eth).
35 | | ... | *Arguments:*
37 | | ... | _NOTE:_ Arguments are based on topology:
38 | | ... | TG(if1)->(if1)DUT(if2)->TG(if2)
40 | | ... | - tg_node - Node to execute scripts on (TG). Type: dictionary
41 | | ... | - src_ip - IP of source interface (TG-if1). Type: string
42 | | ... | - dst_ip - IP of destination interface (TG-if2). Type: string
43 | | ... | - tx_src_port - Interface of TG-if1. Type: string
44 | | ... | - tx_src_mac - MAC address of TG-if1. Type: string
45 | | ... | - tx_dst_mac - MAC address of DUT-if1. Type: string
46 | | ... | - rx_port - Interface of TG-if1. Type: string
47 | | ... | - rx_src_mac - MAC address of DUT1-if2. Type: string
48 | | ... | - rx_dst_mac - MAC address of TG-if2. Type: string
49 | | ... | - encaps_tx - Expected encapsulation on TX side: Dot1q or Dot1ad
50 | | ... | (Optional). Type: string
51 | | ... | - vlan_tx - VLAN (inner) tag on TX side (Optional). Type: integer
52 | | ... | - vlan_outer_tx - .1AD VLAN (outer) tag on TX side (Optional).
53 | | ... | Type: integer
54 | | ... | - encaps_rx - Expected encapsulation on RX side: Dot1q or Dot1ad
55 | | ... | (Optional). Type: string
56 | | ... | - vlan_rx - VLAN (inner) tag on RX side (Optional). Type: integer
57 | | ... | - vlan_outer_rx - .1AD VLAN (outer) tag on RX side (Optional).
58 | | ... | Type: integer
61 | | ... | - No value returned
65 | | ... | \| Send packet and verify headers \| ${nodes['TG']} \| 10.0.0.1 \
66 | | ... | \| 32.0.0.1 \| eth2 \| 08:00:27:ee:fd:b3 \| 08:00:27:a2:52:5b \
67 | | ... | \| eth3 \| 08:00:27:4d:ca:7a \| 08:00:27:7d:fd:10 \|
69 | | [Arguments] | ${tg_node} | ${src_ip} | ${dst_ip} | ${tx_src_port} |
70 | | ... | ${tx_src_mac} | ${tx_dst_mac} | ${rx_port} | ${rx_src_mac}
71 | | ... | ${rx_dst_mac}
72 | | ... | ${encaps_tx}=${EMPTY} | ${vlan_tx}=${EMPTY} | ${vlan_outer_tx}=${EMPTY}
73 | | ... | ${encaps_rx}=${EMPTY} | ${vlan_rx}=${EMPTY} | ${vlan_outer_rx}=${EMPTY}
74 | | ${tx_port_name}= | Get interface name | ${tg_node} | ${tx_src_port}
75 | | ${rx_port_name}= | Get interface name | ${tg_node} | ${rx_port}
76 | | ${args}= | Catenate | --tg_src_mac | ${tx_src_mac} | --tg_dst_mac |
77 | | ... | ${rx_dst_mac} | --dut_if1_mac | ${tx_dst_mac} | --dut_if2_mac |
78 | | ... | ${rx_src_mac} | --src_ip | ${src_ip} | --dst_ip | ${dst_ip} |
79 | | ... | --tx_if | ${tx_port_name} | --rx_if | ${rx_port_name}
80 | | ${args}= | Run Keyword If | '${encaps_tx}' == '${EMPTY}'
81 | | | ... | Set Variable | ${args}
82 | | ... | ELSE | Catenate
83 | | ... | ${args} | --encaps_tx ${encaps_tx} | --vlan_tx ${vlan_tx}
84 | | ${args}= | Run Keyword If | '${encaps_rx}' == '${EMPTY}'
85 | | | ... | Set Variable | ${args}
86 | | ... | ELSE | Catenate
87 | | ... | ${args} | --encaps_rx ${encaps_rx} | --vlan_rx ${vlan_rx}
88 | | ${args}= | Run Keyword If | '${vlan_outer_tx}' == '${EMPTY}'
89 | | | ... | Set Variable | ${args}
90 | | ... | ELSE | Catenate | ${args} | --vlan_outer_tx ${vlan_outer_tx}
91 | | ${args}= | Run Keyword If | '${vlan_outer_rx}' == '${EMPTY}'
92 | | | ... | Set Variable | ${args}
93 | | ... | ELSE | Catenate | ${args} | --vlan_outer_rx ${vlan_outer_rx}
94 | | Run Traffic Script On Node | send_icmp_check_headers.py | ${tg_node} |
97 | Packet transmission from port to port should fail
98 | | [Documentation] | Sends packet from ip (with specified mac) to ip
99 | | ... | (with dest mac). Using keyword : Send packet And Check
100 | | ... | Headers and subsequently checks the return value
102 | | ... | *Arguments:*
104 | | ... | _NOTE:_ Arguments are based on topology:
105 | | ... | TG(if1)->(if1)DUT(if2)->TG(if2)
107 | | ... | - tg_node - Node to execute scripts on (TG). Type: dictionary
108 | | ... | - src_ip - IP of source interface (TG-if1). Type: string
109 | | ... | - dst_ip - IP of destination interface (TG-if2). Type: string
110 | | ... | - tx_src_port - Interface of TG-if1. Type: string
111 | | ... | - tx_src_mac - MAC address of TG-if1. Type: string
112 | | ... | - tx_dst_mac - MAC address of DUT-if1. Type: string
113 | | ... | - rx_port - Interface of TG-if1. Type: string
114 | | ... | - rx_src_mac - MAC address of DUT1-if2. Type: string
115 | | ... | - rx_dst_mac - MAC address of TG-if2. Type: string
118 | | ... | - No value returned
122 | | ... | \| Packet transmission from port to port should fail \| ${nodes['TG']} \
123 | | ... | \| 10.0.0.1 \ \| 32.0.0.1 \| eth2 \| 08:00:27:ee:fd:b3 \
124 | | ... | \| 08:00:27:a2:52:5b \| eth3 \| 08:00:27:4d:ca:7a \
125 | | ... | \| 08:00:27:7d:fd:10 \|
126 | | [Arguments] | ${tg_node} | ${src_ip} | ${dst_ip} | ${tx_src_port} |
127 | | ... | ${tx_src_mac} | ${tx_dst_mac} | ${rx_port} | ${rx_src_mac} |
128 | | ... | ${rx_dst_mac}
129 | | ${tx_port_name}= | Get interface name | ${tg_node} | ${tx_src_port}
130 | | ${rx_port_name}= | Get interface name | ${tg_node} | ${rx_port}
131 | | ${args}= | Catenate | --tg_src_mac | ${tx_src_mac} | --tg_dst_mac |
132 | | ... | ${rx_dst_mac} | --dut_if1_mac | ${tx_dst_mac} | --dut_if2_mac |
133 | | ... | ${rx_src_mac} | --src_ip | ${src_ip} | --dst_ip | ${dst_ip} |
134 | | ... | --tx_if | ${tx_port_name} | --rx_if | ${rx_port_name}
135 | | Run Keyword And Expect Error | ICMP echo Rx timeout |
136 | | ... | Run Traffic Script On Node | send_icmp_check_headers.py
137 | | ... | ${tg_node} | ${args}
139 | Send packet and verify ARP request
140 | | [Documentation] | Send IP packet from tx_port and check if ARP Request\
141 | | ... | packet is received on rx_port.
143 | | ... | *Arguments:*
145 | | ... | _NOTE:_ Arguments are based on topology:
146 | | ... | TG(if1)->(if1)DUT(if2)->TG(if2)
148 | | ... | - tg_node - Node to execute scripts on (TG). Type: dictionary
149 | | ... | - tx_src_ip - Source IP address of transferred packet (TG-if1).
150 | | ... | Type: string
151 | | ... | - tx_dst_ip - Destination IP address of transferred packet (TG-if2).
152 | | ... | Type: string
153 | | ... | - tx_port - Interface from which the IP packet is sent (TG-if1).
154 | | ... | Type: string
155 | | ... | - tx_dst_mac - Destination MAC address of IP packet (DUT-if1).
156 | | ... | Type: string
157 | | ... | - rx_port - Interface where the IP packet is received (TG-if2).
158 | | ... | Type: string
159 | | ... | - rx_src_mac - Source MAC address of ARP packet (DUT-if2).
160 | | ... | Type: string
161 | | ... | - rx_arp_src_ip - Source IP address of ARP packet (DUT-if2).
162 | | ... | Type: string
163 | | ... | - rx_arp_dst_ip - Destination IP address of ARP packet. Type: string
166 | | ... | - No value returned
170 | | ... | \| Send Packet And Check ARP Packet \| ${nodes['TG']} \| 16.0.0.1 \
171 | | ... | \| 32.0.0.1 \| eth2 \| 08:00:27:cc:4f:54 \
172 | | ... | \| eth4 \| 08:00:27:5b:49:dd \| 192.168.2.1 \| 192.168.2.2 \|
174 | | [Arguments] | ${tg_node} | ${tx_src_ip} | ${tx_dst_ip} | ${tx_port}
175 | | ... | ${tx_dst_mac} | ${rx_port} | ${rx_src_mac} | ${rx_arp_src_ip}
176 | | ... | ${rx_arp_dst_ip}
177 | | ${tx_port_name}= | Get interface name | ${tg_node} | ${tx_port}
178 | | ${rx_port_name}= | Get interface name | ${tg_node} | ${rx_port}
179 | | ${args}= | Catenate
180 | | ... | --tx_dst_mac | ${tx_dst_mac} | --rx_src_mac | ${rx_src_mac}
181 | | ... | --tx_src_ip | ${tx_src_ip} | --tx_dst_ip | ${tx_dst_ip}
182 | | ... | --tx_if | ${tx_port_name} | --rx_if | ${rx_port_name}
183 | | ... | --rx_arp_src_ip ${rx_arp_src_ip} | --rx_arp_dst_ip ${rx_arp_dst_ip}
184 | | Run Traffic Script On Node | send_icmp_check_arp.py | ${tg_node} | ${args}
186 | Send TCP or UDP packet and verify received packet
187 | | [Documentation] | Sends TCP or UDP packet with specified source
188 | | ... | and destination port.
190 | | ... | *Arguments:*
192 | | ... | _NOTE:_ Arguments are based on topology:
193 | | ... | TG(if1)->(if1)DUT(if2)->TG(if2)
195 | | ... | - tg_node - Node to execute scripts on (TG). Type: dictionary
196 | | ... | - src_ip - IP of source interface (TG-if1). Type: integer
197 | | ... | - dst_ip - IP of destination interface (TG-if2). Type: integer
198 | | ... | - tx_port - Source interface (TG-if1). Type: string
199 | | ... | - tx_mac - MAC address of source interface (TG-if1). Type: string
200 | | ... | - rx_port - Destionation interface (TG-if1). Type: string
201 | | ... | - rx_mac - MAC address of destination interface (TG-if1). Type: string
202 | | ... | - protocol - Type of protocol. Type: string
203 | | ... | - source_port - Source TCP/UDP port. Type: string or integer
204 | | ... | - destination_port - Destination TCP/UDP port. Type: string or integer
207 | | ... | - No value returned
211 | | ... | \| Send TCP or UDP packet and verify received packet \| ${nodes['TG']} \
212 | | ... | \| 16.0.0.1 \| 32.0.0.1 \| eth2 \| 08:00:27:cc:4f:54 \
213 | | ... | \| eth4 \| 08:00:27:c9:6a:d5 \| TCP \| 20 \| 80 \|
215 | | [Arguments] | ${tg_node} | ${src_ip} | ${dst_ip} | ${tx_port} |
216 | | ... | ${tx_mac} | ${rx_port} | ${rx_mac} | ${protocol} | ${source_port}
217 | | ... | ${destination_port}
218 | | ${tx_port_name}= | Get interface name | ${tg_node} | ${tx_port}
219 | | ${rx_port_name}= | Get interface name | ${tg_node} | ${rx_port}
220 | | ${args}= | Catenate | --tx_mac | ${tx_mac}
221 | | ... | --rx_mac | ${rx_mac}
222 | | ... | --src_ip | ${src_ip}
223 | | ... | --dst_ip | ${dst_ip}
224 | | ... | --tx_if | ${tx_port_name}
225 | | ... | --rx_if | ${rx_port_name}
226 | | ... | --protocol | ${protocol}
227 | | ... | --source_port | ${source_port}
228 | | ... | --destination_port | ${destination_port}
229 | | Run Traffic Script On Node | send_tcp_udp.py
230 | | ... | ${tg_node} | ${args}
232 | TCP or UDP packet transmission should fail
233 | | [Documentation] | Sends TCP or UDP packet with specified source
234 | | ... | and destination port.
236 | | ... | *Arguments:*
238 | | ... | _NOTE:_ Arguments are based on topology:
239 | | ... | TG(if1)->(if1)DUT(if2)->TG(if2)
241 | | ... | - tg_node - Node to execute scripts on (TG). Type: dictionary
242 | | ... | - src_ip - IP of source interface (TG-if1). Type: integer
243 | | ... | - dst_ip - IP of destination interface (TG-if2). Type: integer
244 | | ... | - tx_port - Source interface (TG-if1). Type: string
245 | | ... | - tx_mac - MAC address of source interface (TG-if1). Type: string
246 | | ... | - rx_port - Destionation interface (TG-if1). Type: string
247 | | ... | - rx_mac - MAC address of destination interface (TG-if1). Type: string
248 | | ... | - protocol - Type of protocol. Type: string
249 | | ... | - source_port - Source TCP/UDP port. Type: string or integer
250 | | ... | - destination_port - Destination TCP/UDP port. Type: string or integer
253 | | ... | - No value returned
257 | | ... | \| TCP or UDP packet transmission should fail \| ${nodes['TG']} \
258 | | ... | \| 16.0.0.1 \| 32.0.0.1 \| eth2 \| 08:00:27:cc:4f:54 \
259 | | ... | \| eth4 \| 08:00:27:c9:6a:d5 \| TCP \| 20 \| 80 \|
261 | | [Arguments] | ${tg_node} | ${src_ip} | ${dst_ip} | ${tx_port} |
262 | | ... | ${tx_mac} | ${rx_port} | ${rx_mac} | ${protocol} | ${source_port}
263 | | ... | ${destination_port}
264 | | ${tx_port_name}= | Get interface name | ${tg_node} | ${tx_port}
265 | | ${rx_port_name}= | Get interface name | ${tg_node} | ${rx_port}
266 | | ${args}= | Catenate | --tx_mac | ${tx_mac}
267 | | ... | --rx_mac | ${rx_mac}
268 | | ... | --src_ip | ${src_ip}
269 | | ... | --dst_ip | ${dst_ip}
270 | | ... | --tx_if | ${tx_port_name}
271 | | ... | --rx_if | ${rx_port_name}
272 | | ... | --protocol | ${protocol}
273 | | ... | --source_port | ${source_port}
274 | | ... | --destination_port | ${destination_port}
275 | | Run Keyword And Expect Error | TCP/UDP Rx timeout
276 | | ... | Run Traffic Script On Node | send_tcp_udp.py
277 | | ... | ${tg_node} | ${args}
279 | Receive and verify router advertisement packet
280 | | [Documentation] | Wait until RA packet is received and then verify\
281 | | ... | specific fields of received RA packet.
283 | | ... | *Arguments:*
285 | | ... | - node - Node where to check for RA packet. Type: dictionary
286 | | ... | - rx_port - Interface where the packet is received. Type: string
287 | | ... | - src_mac - MAC address of source interface from which the link-local\
288 | | ... | IPv6 address is constructed and checked. Type: string
289 | | ... | - interval - Configured retransmit interval. Optional. Type: integer
292 | | ... | - No value returned
296 | | ... | \| Receive and verify router advertisement packet \
297 | | ... | \| ${nodes['DUT1']} \| eth2 \| 08:00:27:cc:4f:54 \|
299 | | [Arguments] | ${node} | ${rx_port} | ${src_mac} | ${interval}=${0}
300 | | ${rx_port_name}= | Get interface name | ${node} | ${rx_port}
301 | | ${args}= | Catenate
302 | | ... | --rx_if ${rx_port_name}
303 | | ... | --src_mac ${src_mac}
304 | | ... | --interval ${interval}
305 | | Run Traffic Script On Node | check_ra_packet.py | ${node} | ${args}
307 | Send router solicitation and verify response
308 | | [Documentation] | Send RS packet, wait for response and then verify\
309 | | ... | specific fields of received RA packet.
311 | | ... | *Arguments:*
313 | | ... | - tg_node - TG node to send RS packet from. Type: dictionary
314 | | ... | - dut_node - DUT node to send RS packet to. Type: dictionary
315 | | ... | - rx_port - Interface where the packet is sent from. Type: string
316 | | ... | - tx_port - Interface where the packet is sent to. Type: string
317 | | ... | - src_ip - Source IP address of RS packet. Optional. If not provided,\
318 | | ... | link local address will be used. Type: string
321 | | ... | - No value returned
325 | | ... | \| Send router solicitation and verify response \
326 | | ... | \| ${nodes['TG']} \| ${nodes['DUT1']} \| eth2 \
327 | | ... | \| GigabitEthernet0/8/0 \| 10::10 \|
329 | | [Arguments] | ${tg_node} | ${dut_node} | ${tx_port} | ${rx_port}
330 | | ... | ${src_ip}=''
331 | | ${src_mac}= | Get Interface Mac | ${tg_node} | ${tx_port}
332 | | ${dst_mac}= | Get Interface Mac | ${dut_node} | ${rx_port}
333 | | ${src_int_name}= | Get interface name | ${tg_node} | ${tx_port}
334 | | ${dst_int_name}= | Get interface name | ${dut_node} | ${rx_port}
335 | | ${args}= | catenate
336 | | ... | --rx_if ${dst_int_name} --tx_if ${src_int_name}
337 | | ... | --src_mac ${src_mac} | --dst_mac ${dst_mac}
338 | | ... | --src_ip ${src_ip}
339 | | Run Traffic Script On Node | send_rs_check_ra.py
340 | | ... | ${tg_node} | ${args}
343 | | [Documentation] | Send ARP Request and check if the ARP Response is received.
345 | | ... | *Arguments:*
347 | | ... | _NOTE:_ Arguments are based on topology:
348 | | ... | TG(if1)<->(if1)DUT
350 | | ... | - tg_node - Node to execute scripts on (TG). Type: dictionary
351 | | ... | - tx_port - Interface from which the ARP packet is sent (TG-if1).
352 | | ... | Type: string
353 | | ... | - src_mac - Source MAC address of ARP packet (TG-if1).
354 | | ... | Type: string
355 | | ... | - tgt_mac - Target MAC address which is expected in the response
356 | | ... | (DUT-if1). Type: string
357 | | ... | - src_ip - Source IP address of ARP packet (TG-if1).
358 | | ... | Type: string
359 | | ... | - tgt_ip - Target IP address of ARP packet (DUT-if1).
360 | | ... | Type: string
363 | | ... | - No value returned
367 | | ... | \| Send ARP Request \| ${nodes['TG']} \| eth3 \
368 | | ... | \| 08:00:27:cc:4f:54 \| 08:00:27:c9:6a:d5 \
369 | | ... | \| 10.0.0.100 \| 192.168.1.5 \|
371 | | [Arguments] | ${tg_node} | ${tx_port}
372 | | ... | ${src_mac} | ${tgt_mac}
373 | | ... | ${src_ip} | ${tgt_ip}
374 | | ${args}= | Catenate | --tx_if | ${tx_port}
375 | | ... | --src_mac | ${src_mac} | --dst_mac | ${tgt_mac}
376 | | ... | --src_ip | ${src_ip} | --dst_ip | ${tgt_ip}
377 | | Run Traffic Script On Node | arp_request.py | ${tg_node} | ${args}
379 | ARP request should fail
380 | | [Documentation] | Send ARP Request and
381 | | ... | the ARP Response should not be received.
383 | | ... | *Arguments:*
385 | | ... | _NOTE:_ Arguments are based on topology:
386 | | ... | TG(if1)<->(if1)DUT
388 | | ... | - tg_node - Node to execute scripts on (TG). Type: dictionary
389 | | ... | - tx_port - Interface from which the ARP packet is sent (TG-if1).
390 | | ... | Type: string
391 | | ... | - src_mac - Source MAC address of ARP packet (TG-if1).
392 | | ... | Type: string
393 | | ... | - tgt_mac - Target MAC address which is expected in the response
394 | | ... | (DUT-if1). Type: string
395 | | ... | - src_ip - Source IP address of ARP packet (TG-if1).
396 | | ... | Type: string
397 | | ... | - tgt_ip - Target IP address of ARP packet (DUT-if1).
398 | | ... | Type: string
401 | | ... | - No value returned
405 | | ... | \| ARP request should fail \| ${nodes['TG']} \| eth3 \
406 | | ... | \| 08:00:27:cc:4f:54 \| 08:00:27:c9:6a:d5 \
407 | | ... | \| 10.0.0.100 \| 192.168.1.5 \|
409 | | [Arguments] | ${tg_node} | ${tx_port}
410 | | ... | ${src_mac} | ${tgt_mac}
411 | | ... | ${src_ip} | ${tgt_ip}
412 | | ${args}= | Catenate | --tx_if | ${tx_port}
413 | | ... | --src_mac | ${src_mac} | --dst_mac | ${tgt_mac}
414 | | ... | --src_ip | ${src_ip} | --dst_ip | ${tgt_ip}
415 | | Run Keyword And Expect Error | ARP reply timeout
416 | | ... | Run Traffic Script On Node | arp_request.py | ${tg_node} | ${args}
418 | Send packets and verify multipath routing
419 | | [Documentation] | Send 100 IP ICMP packets traffic and check if it is\
420 | | ... | divided into two paths.
422 | | ... | *Arguments:*
424 | | ... | _NOTE:_ Arguments are based on topology:
425 | | ... | TG(if1)->(if1)DUT(if2)->TG(if2)
427 | | ... | - tg_node - Node to execute scripts on (TG). Type: dictionary
428 | | ... | - src_port - Interface of TG-if1. Type: string
429 | | ... | - dst_port - Interface of TG-if2. Type: string
430 | | ... | - src_ip - IP of source interface (TG-if1). Type: string
431 | | ... | - dst_ip - IP of destination interface (TG-if2). Type: string
432 | | ... | - tx_src_mac - MAC address of TG-if1. Type: string
433 | | ... | - tx_dst_mac - MAC address of DUT-if1. Type: string
434 | | ... | - rx_src_mac - MAC address of DUT-if2. Type: string
435 | | ... | - rx_dst_mac_1 - MAC address of interface for path 1. Type: string
436 | | ... | - rx_dst_mac_2 - MAC address of interface for path 2. Type: string
439 | | ... | - No value returned
443 | | ... | \| Send Packet And Check Multipath Routing \| ${nodes['TG']} \
444 | | ... | \| eth2 \| eth3 \| 16.0.0.1 \| 32.0.0.1 \
445 | | ... | \| 08:00:27:cc:4f:54 \| 08:00:27:c9:6a:d5 \| 08:00:27:54:59:f9 \
446 | | ... | \| 02:00:00:00:00:02 \| 02:00:00:00:00:03 \|
448 | | [Arguments] | ${tg_node} | ${src_port} | ${dst_port} | ${src_ip} | ${dst_ip}
449 | | ... | ${tx_src_mac} | ${tx_dst_mac} | ${rx_src_mac}
450 | | ... | ${rx_dst_mac_1} | ${rx_dst_mac_2}
451 | | ${src_port_name}= | Get interface name | ${tg_node} | ${src_port}
452 | | ${dst_port_name}= | Get interface name | ${tg_node} | ${dst_port}
453 | | ${args}= | Catenate | --tx_if | ${src_port_name}
454 | | ... | --rx_if | ${dst_port_name} | --src_ip | ${src_ip}
455 | | ... | --dst_ip | ${dst_ip} | --tg_if1_mac | ${tx_src_mac}
456 | | ... | --dut_if1_mac | ${tx_dst_mac} | --dut_if2_mac | ${rx_src_mac}
457 | | ... | --path_1_mac | ${rx_dst_mac_1} | --path_2_mac | ${rx_dst_mac_2}
458 | | Run Traffic Script On Node | send_icmp_check_multipath.py | ${tg_node}