[dts] [PATCH] framework: fix ping6 parameter to interface name for link local address
Liu, Yong
yong.liu at intel.com
Thu Jan 12 03:25:31 CET 2017
Thanks, applied into master branch.
On 01/11/2017 07:44 PM, Gowrishankar wrote:
> From: Gowrishankar Muthukrishnan <gowrishankar.m at linux.vnet.ibm.com>
>
> Below patch adds scope identifier for link local address of remote ports while
> probing connecting port peers, instead of using -I option in ping6 command.
>
> This was to be broken atleast in Ubuntu 16.10 as DTS tester.
>
> Signed-off-by: Gowrishankar Muthukrishnan <gowrishankar.m at linux.vnet.ibm.com>
> ---
> framework/tester.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/framework/tester.py b/framework/tester.py
> index 4f54fcd..6a873e2 100644
> --- a/framework/tester.py
> +++ b/framework/tester.py
> @@ -370,7 +370,7 @@ class Tester(Crb):
> if self.ports_info[localPort]['type'] == 'ixia':
> return self.ixia_packet_gen.send_ping6(self.ports_info[localPort]['pci'], mac, ipv6)
> else:
> - return self.send_expect("ping6 -w 5 -c 5 -A -I %s %s" % (self.ports_info[localPort]['intf'], ipv6), "# ", 10)
> + return self.send_expect("ping6 -w 5 -c 5 -A %s%%%s" % (ipv6, self.ports_info[localPort]['intf']), "# ", 10)
>
> def get_port_numa(self, port):
> """
More information about the dts
mailing list