Hi Ilya,

many thanks for your reply. I'm just wondering what is the table "Flow_Table" 
of the database is intended for.

I have just tried the ovs-ofctl monitor command like this:

sudo ovs-ofctl monitor s1 watch: --protocols=OpenFlow13

but the on the flow table through the controller are not printed, even the 
changes are to be observed via the command

sudo ovs-ofctl dump-flows s1 --protocols=Openflow13

Unfortunately I'm not familiar with these commands. Do I use the monitor 
command correctly?

I expect that the flow add and delete request that obviously reach the switch 
are printed by the monitor. Thank you for any help on that.

Best regards, zekeriya

>-----Ursprüngliche Nachricht-----
>Von: Ilya Maximets <i.maxim...@ovn.org>
>Gesendet: Donnerstag, 18. Januar 2024 17:51
>An: Mansuroglu, Zekeriya <zekeriya.mansuro...@iis.fraunhofer.de>; ovs-
>disc...@openvswitch.org
>Cc: i.maxim...@ovn.org
>Betreff: Re: [ovs-discuss] Flow not registered in OVSDB flow table
>
>On 1/18/24 11:00, Mansuroglu, Zekeriya via discuss wrote:
>> Hi all,
>>
>> I’m using ovs through mininet with OpendayLight. The ovs version is 2.13.8 
>> and
>the mininet version is 2.3.0.dev6. I create a network with a single switch and 
>two
>hosts. After that I create a flow through the nortboubd interface of 
>opendaylight
>that works fine. I can also verify with ovs-ofctl that the flow is accepted by 
>the
>switch. I expected that the flow is also registered in a table in ovsdb, but 
>when I
>dump the database the flow doesn’t appear anywhere in the datastore.
>>
>> Shouldn’t the flow be registered in one of the table Flow_Table, sFlow or
>NetFlow?
>>
>> I aimed to use the ovsdb-client to monitor for changes of the flow table
>configurations. As I understood ovsdb-client’s monitor command this should be
>doable when changes of the flow configurations lead to changes in ovsdb. Is 
>this
>approach realistic?
>
>Hi, Zekeriya.
>
>OpenFlow rules are not stored in the database, so you can't do that.
>
>What you can do is to use OpenFlow monitor instead.  ovs-ofctl has
>a correcponding command.
>
>Best regards, Ilya Maximets.
_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to