[dts] [PATCH] tests/vhost_user_live_migration: Optimize for multi-platform.
Liu, Yong
yong.liu at intel.com
Tue Jan 9 14:10:25 CET 2018
Phil,
There's one comment as below.
On 01/05/2018 06:29 PM, Phil Yang wrote:
> +
> + dirct_pat = re.compile(r"(\s+)\[ (\S+) in\|out\|inout \]")
> + vm_dut.send_expect("tcpdump -h", "# ")
> + out = vm_dut.get_session_output(timeout=1)
> + m = dirct_pat.search(out)
> + if m:
> + dirct_para = "-" + m.group(2)[1] + " in"
> + else:
> + dirct_para = ""
> +
Please change variable name to more meaning full name "direct_param".
Thanks,
Marvin
More information about the dts
mailing list