[ovs-discuss] Could OVS store flow entries in DB?

ZY felix_zw at 126.com
Wed Apr 22 13:24:27 UTC 2015


Thanks for your quick response , I will try the controllers







At 2015-04-22 21:14:58, "Gurucharan Shetty" <shettyg at nicira.com> wrote:
>On Wed, Apr 22, 2015 at 6:09 AM, ZY <felix_zw at 126.com> wrote:
>> hi
>>      I have a problem when using ovs-ofctl to add flowentry, do the
>> following:
>>     1: ovs-ofctl add-flow br-int
>> ip,nw_src=20.1.1.99,priority=99,actions=normal
>>     2: /usr/share/openvswitch/scripts/ovs-ctl stop
>>     3: /usr/share/openvswitch/scripts/ovs-ctl start
>"/usr/share/openvswitch/scripts/ovs-ctl  restart" should save the flows.
>
>>     4.  ovs-ofctl dump-flows br-int
>
>
>
>>
>>     The flowentry which added in step1 is missing,  Dose OVS store all the
>> flow entries in memory?
>Yes.
>
>>How can i make OVS store flow entries persistence
>> in DB, because i want it can reload the flow entries when machine reboot.
>After a machine restart, you will need a mechanism outside openvswitch
>to add the flows back. Usually the controllers do this.
>
>>
>>    Thank you
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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/20150422/e0bebfbc/attachment-0002.html>


More information about the discuss mailing list