[ovs-discuss] How to dump the flow from ovs and restore the flow to ovs?

yue wang heuye.wang at gmail.com
Fri Feb 1 08:53:16 UTC 2013


Hi Justin,

Thanks for your help, and i use ovs 1.7.1, after removing the first line,
and delete the idle_age column, i found the command "ovs-ofctl add-flows
br0 file1" works fine, so i will focus on this bug, and waiting for the new
release, thanks again.

Best regards,
Heuye


On Fri, Feb 1, 2013 at 4:22 PM, Justin Pettit <jpettit at nicira.com> wrote:

> The "ovs-ofctl dump-flows" command is going to dump out more data than
> "ovs-ofctl add-flows" needs. The error you're seeing is complaining about
> the first line of dump-flows output, which is "NXST_FLOW reply".  Try
> removing that.
>
> I just noticed that 1.6 and later releases don't properly read in regular
> flows either, since "ovs-ofctl add-flows" doesn't know to ignore the
> "idle_age" field.  I just sent out a fix for review:
>
>         http://openvswitch.org/pipermail/dev/2013-February/025036.html
>
> If you're using an affected release, until that gets checked in and a new
> release is out, you'll need to do some additional preprocessing on your
> flows.
>
> --Justin
>
>
> On Jan 31, 2013, at 11:56 PM, yue wang <heuye.wang at gmail.com> wrote:
>
> > Hi guys,
> >
> > I use the command:
> > ovs-ofctl dump-flows br0 > /root/flow_backup
> >
> > To save all flow entries into a file, but when i run:
> > ovs-ofctl add-flows br0 /root/flow_backup
> >
> > It says: ovs-ofctl: must specify an action.
> > I think the add flow syntax is not correct, so ho can i to dump flows to
> a file, and restore them into ovs?
> >
> >
> > Thanks,
> > Heuye
> >
> >
> > _______________________________________________
> > discuss mailing list
> > discuss at openvswitch.org
> > http://openvswitch.org/mailman/listinfo/discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130201/1bde3381/attachment-0001.html>


More information about the discuss mailing list