Getting this error with OpenFlow1.0

sudo ovs-ofctl -O OpenFlow10 --readd replace-flows br-int /tmp/br_int

ovs-ofctl: switch does not support any of the usable flow formats
(OXM,NXM+table_id)

Is there any other way to achieve same ?

On Tue, Mar 28, 2017 at 10:17 PM, Ben Pfaff <[email protected]> wrote:

> On Tue, Mar 28, 2017 at 05:26:46PM +0530, f 62 wrote:
> > I am trying to reset the counter of ovs-flows. I followed following
> steps:
> >
> > a. ovs-ofctl -O Openflow13 dump-flows br-int > /tmp/br_int
> >
> > b. ovs-ofctl -O OpenFlow13 --readd replace-flows br-int /tmp/br_int
> >
> >
> >  Its not working . Does it only work if the flow differs in the *file
> *and
> > in the *ovs *? How the counters can be resetted ?
>
> In OpenFlow 1.2 and later, flow_mod messages need to add a special
> "reset counts" flag to reset the counters.  ovs-ofctl doesn't currently
> provide a way to set that flag.  This is an oversight that should be
> corrected.  Until then, if you can use OpenFlow 1.0, then that plus
> --readd should allow you to reset the counters.
>
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to