Re: [PATCH v6 1/2] examples/ipsec-secgw: add configuration file support
From: De Lara Guarch, Pablo <hidden>
Date: 2016-09-07 18:13:37
From: De Lara Guarch, Pablo <hidden>
Date: 2016-09-07 18:13:37
Hi Fan,
-----Original Message----- From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Fan Zhang Sent: Tuesday, August 23, 2016 7:47 AM To: dev@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 <redacted>
This probably deserves an update in release notes doc. Thanks, Pablo