examples/ip_pipeline: rework flow action CLI
authorPiotr Azarewicz <piotrx.t.azarewicz@intel.com>
Wed, 8 Jun 2016 10:35:23 +0000 (12:35 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 8 Jun 2016 14:45:05 +0000 (16:45 +0200)
commit816a3db6521e45daff0951b7288c8ece71a77c83
treed56be9daa17a2f25afdf7d356b818baf09054f2f
parent93771a569daaf0b2983ae5873406b1d58224afcc
examples/ip_pipeline: rework flow action CLI

All commands merged into one: cmd_action_parsed.

modified bulk command:
action flow bulk
File line format:
flow <flow ID>
meter 0 <cir> <pir> <cbs> <pbs> meter 1 <cir> <pir> <cbs> <pbs> meter 2
<cir> <pir> <cbs> <pbs> meter 3 <cir> <pir> <cbs> <pbs>
policer 0 <action> <action> <action> policer 1 <action> <action>
<action> policer 2 <action> <action> <action> policer 3 <action>
<action> <action>
port <port ID>

Signed-off-by: Marcin Kerlin <marcinx.kerlin@intel.com>
Signed-off-by: Piotr Azarewicz <piotrx.t.azarewicz@intel.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/ip_pipeline/config/action.cfg [new file with mode: 0644]
examples/ip_pipeline/config/action.sh [new file with mode: 0644]
examples/ip_pipeline/config/action.txt [new file with mode: 0644]
examples/ip_pipeline/pipeline/pipeline_flow_actions.c
examples/ip_pipeline/pipeline/pipeline_flow_actions.h