[ovs-dev] [PATCH v2] ofp-actions: Add a new action to truncate a packet.

Ben Pfaff blp at ovn.org
Wed Apr 13 04:13:30 UTC 2016


On Tue, Apr 12, 2016 at 11:38:38AM -0700, William Tu wrote:
> Should we expose "truncate" to the ovs-ofctl action list?
> 
> I was thinking about this ovs-ofctl syntax:
>     actions='output(max_len=64, port=1), output:2'
> 
> then at datapath it translates to actions
>     truncate(64), output(1), output(2)
> 
> So 64B to port1, and 100B to port2.

I think that's OK.

Pravin or Joe, do you have an opinion?



More information about the dev mailing list