[ovs-discuss] Have doubts about ovsdb

ych at panath.cn ych at panath.cn
Thu May 18 03:32:11 UTC 2017


Thank you for Andy



ych at panath.cn
 
From: Andy Zhou
Date: 2017-05-18 11:20
To: ych at panath.cn
CC: ovs-discuss
Subject: Re: Re: [ovs-discuss] Have doubts about ovsdb
On Wed, May 17, 2017 at 7:52 PM, ych at panath.cn <ych at panath.cn> wrote:
>
>
> ________________________________
> ych at panath.cn
>
>
> From: Andy Zhou
> Date: 2017-05-18 10:33
> To: ych at panath.cn
> CC: ovs-discuss
> Subject: Re: [ovs-discuss] Have doubts about ovsdb
> On Wed, May 17, 2017 at 7:29 PM, ych at panath.cn <ych at panath.cn> 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 at 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 at ubuntu:/home/ych#
>> root at ubuntu:/home/ych#
>>
>>
>> Best wishes!
>> ________________________________
>> ych at panath.cn
>>
>> _______________________________________________
>> discuss mailing list
>> discuss at openvswitch.org
>> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20170518/967edc95/attachment-0001.html>


More information about the discuss mailing list