[dpdk-dev] [PATCH v6 1/2] examples/ipsec-secgw: add configuration file support

De Lara Guarch, Pablo pablo.de.lara.guarch at intel.com
Wed Sep 7 20:13:34 CEST 2016


Hi Fan,

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Fan Zhang
> Sent: Tuesday, August 23, 2016 7:47 AM
> To: dev at dpdk.org
> Cc: Gonzalez Monroy, Sergio
> Subject: [dpdk-dev] [PATCH v6 1/2] examples/ipsec-secgw: add configuration
> file support
> 
> This patch adds the configuration file support to ipsec_secgw
> sample application. Instead of hard-coded rules, the users can
> specify their own SP, SA, and routing rules in the configuration
> file. An command line option "-f" is added to pass the
> configuration file location to the application.
> 
> Configuration item formats:
> 
> SP rule format:
> sp <ip_ver> <dir> esp <action> <priority> <src_ip> <dst_ip> \
> <proto> <sport> <dport>
> 
> SA rule format:
> sa <dir> <spi> <cipher_algo> <cipher_key> <auth_algo> <auth_key> \
> <mode> <src_ip> <dst_ip>
> 
> Routing rule format:
> rt <ip_ver> <src_ip> <dst_ip> <port>
> 
> Signed-off-by: Fan Zhang <roy.fan.zhang at intel.com>

This probably deserves an update in release notes doc.

Thanks,
Pablo


More information about the dev mailing list