[dpdk-dev] [PATCH v2 4/4] examples/ipsec-secgw: add scapy based unittests

Ananyev, Konstantin konstantin.ananyev at intel.com
Mon Jun 24 20:56:28 CEST 2019



> Add new unittest-like mechanism which uses scapy to craft custom
> packets and a set of assertions to check how ipsec-secgw example
> application is processing them. Python3 with scapy module is
> required by pkttest.sh to run test scripts.
> 
> A new mechanism is used to test IPv6 transport mode traffic with
> header extensions (trs_ipv6opts.py).
> 
> Fix incomplete test log problem by disabling buffering of ipsec-secgw
> standard output with stdbuf application.
> 
> Signed-off-by: Marcin Smoczynski <marcinx.smoczynski at intel.com>
> ---

Acked-by: Konstantin Ananyev <konstantin.ananyev at intel.com>
Tested-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

> 2.17.1



More information about the dev mailing list