examples/ip_pipeline: add bulk update of firewall rules
authorMarcin Kerlin <marcinx.kerlin@intel.com>
Tue, 20 Oct 2015 13:01:26 +0000 (15:01 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 25 Nov 2015 23:32:12 +0000 (00:32 +0100)
commit67ebdbef0c315cc4165e95e34e57362d894d2ce1
treeb30a6ea1849da259d1dc91a4fa698e14d0192d7f
parent48f2543cf0a88fc6f47b4e8ce3c736420c64bb92
examples/ip_pipeline: add bulk update of firewall rules

Added two new cli commands to firewall pipeline. Commands bulk add and
bulk delete takes as argument a file with rules to add/delete. The file
is parsed, and then rules are passed to backend functions which
add/delete records from pipeline tables.

Signed-off-by: Maciej Gajdzica <maciejx.t.gajdzica@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/ip_pipeline/pipeline/pipeline_firewall.c
examples/ip_pipeline/pipeline/pipeline_firewall.h
examples/ip_pipeline/pipeline/pipeline_firewall_be.c
examples/ip_pipeline/pipeline/pipeline_firewall_be.h