[ovs-dev] [PATCH v3] ovs-ctl.in: Ability to save flows and kernel datapath config.

Ben Pfaff blp at nicira.com
Tue Oct 23 21:00:51 UTC 2012


On Tue, Oct 23, 2012 at 12:01:00PM -0700, Gurucharan Shetty wrote:
> Add a new command - "restart" to ovs-ctl. Calling this command
> will save and restore the Openflow flows on each bridge while
> stopping and starting the userspace daemons respectively.
> 
> Also, during a force-reload-kmod, save the flows and kernel datapath
> configuration. Use the saved datapath configuration while readding
> the kernel module and the flows while starting the userspace daemons.
> 
> Feature #13555.
> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>

I think that you can remove the call to log_warning_msg from
save_flows, because it is already invoked via the "action" function
that will report failure.

Otherwise, as long as you've tested it, this looks good to me.  Thank
you!



More information about the dev mailing list