Start Packet Capture on Nodes
[Arguments] ${tag}=${EMPTY} ${filter}=${EMPTY} ${ips}=@{EMPTY}
[Documentation] Start packet captures on the given list of node ips.
... The captures will be named with the tag and ip.
@{conn_ids} = BuiltIn.Create List @{EMPTY}
Start Packet Capture on Nodes
[Arguments] ${tag}=${EMPTY} ${filter}=${EMPTY} ${ips}=@{EMPTY}
[Documentation] Start packet captures on the given list of node ips.
... The captures will be named with the tag and ip.
@{conn_ids} = BuiltIn.Create List @{EMPTY}
- : FOR ${ip} IN @{ips}
- \ ${fname} = BuiltIn.Catenate SEPARATOR=__ ${tag} ${ip}
- \ ${conn_id} = Tcpdump.Start Packet Capture on Node ${ip} file_Name=${fname} filter=${filter}
- \ Collections.Append To List ${conn_ids} ${conn_id}
+ FOR ${ip} IN @{ips}
+ ${fname} = BuiltIn.Catenate SEPARATOR=__ ${tag} ${ip}
+ ${conn_id} = Tcpdump.Start Packet Capture on Node ${ip} file_Name=${fname} filter=${filter}
+ Collections.Append To List ${conn_ids} ${conn_id}
+ END