On Wed, May 17, 2017 at 7:52 PM, [email protected] <[email protected]> wrote: > > > ________________________________ > [email protected] > > > From: Andy Zhou > Date: 2017-05-18 10:33 > To: [email protected] > CC: ovs-discuss > Subject: Re: [ovs-discuss] Have doubts about ovsdb > On Wed, May 17, 2017 at 7:29 PM, [email protected] <[email protected]> wrote: >> Hi everyone, >> whether the ovs flows(ovs-ofctl dump-flows br0) will save to ovsbd >> inside, if not, they will do save, save in where? > Not in OVSDB, they are stored in ovs-vswitchd. > ===>The data can be saved and Restore? yes, you can save the output of ovs-ofctl dump-flows to a file, and use ovs-ofctl add-flows to add them back. "man ovs-ofctl' for more detail.
> Or ovs doesn't care about this, why does he not exist ovsdb, ovsdb main > purpose is to save the existence of what information. > Openflow are usually installed by a controller, ovsdb usually stores configuration information that tends to be more static compare to openflow flows. If you don't want to use a controller, and only has a fixed set of flows, you can load them from a file, as discussed above. >> Also, where I can find a create ovsdb table specification document >> information. > > man ovs-vswitchd.conf.db > ===>Many thanks >> >> root@ubuntu:/home/ych# sudo ovs-ofctl dump-flows br0 >> NXST_FLOW reply (xid=0x4): >> cookie=0x0, duration=28712.532s, table=0, n_packets=4038, n_bytes=563549, >> idle_age=173, in_port=1 actions=IN_PORT >> cookie=0x0, duration=28714.677s, table=0, n_packets=185, n_bytes=31964, >> idle_age=277, priority=0 actions=NORMAL >> root@ubuntu:/home/ych# >> root@ubuntu:/home/ych# >> >> >> Best wishes! >> ________________________________ >> [email protected] >> >> _______________________________________________ >> discuss mailing list >> [email protected] >> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss >> _______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
