examples/ip_pipeline: check pipeline type
authorMaciej Gajdzica <maciejx.t.gajdzica@intel.com>
Thu, 17 Sep 2015 12:58:33 +0000 (14:58 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 7 Dec 2015 01:35:56 +0000 (02:35 +0100)
commit1091a99f6dbc721838e084239e095e650f811685
treedf400c4abca7cbc23507ac4b4491d9a5acd2f4b8
parentb4aee0fb9c6d4fee771271d6c03a65dc27ba024a
examples/ip_pipeline: check pipeline type

This commit add to CLI command check for pipeline type. It prevents
running CLI commands on not supported pipeline types.

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