[dts] [PATCH V2] add test suite inline_ipsec

Liu, Yong yong.liu at intel.com
Wed Jan 3 17:58:55 CET 2018


Gang,
Please replace hard coded folder to  self.dut.base_dir which can be 
changed by input parameter.
BTW, test plan has been merged. Please only send out test suite in the 
next time.

Thanks,
Marvin

On 01/03/2018 02:39 PM, xu,gang wrote:
> +    def set_cfg(self, filename, cfg):
> +        """
> +        open file and write cfg, scp it to dut/root/dpdk/   
> +        """
> +        for i in cfg:
> +            with open(filename, 'w') as f:
> +                f.write(cfg)
> +        self.dut.session.copy_file_to(filename, '/root/dpdk/')

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dpdk.org/ml/archives/dts/attachments/20180104/af0776ae/attachment.html>


More information about the dts mailing list