On Wed, Apr 22, 2015 at 6:09 AM, ZY <[email protected]> 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 > [email protected] > http://openvswitch.org/mailman/listinfo/discuss > _______________________________________________ discuss mailing list [email protected] http://openvswitch.org/mailman/listinfo/discuss
