Hi Adrian,
thank you for your reply. Your suggestion is the same as Ilya's. 

I used the following command to monitor the OpenFlow commands modifying the 
flow table:

sudo ovs-ofctl monitor switch1 65534 watch: --protocols=OpenFlow13

But the client doesn't receive any packets even I add and delete some entries 
in the flow table and the changes can be verified with dump-flows command. Only 
packets like the following are received:

OFPT_ECHO_REQUEST (OF1.3) (xid=0x0): 0 bytes of payload

Extensions of the protocols with al the versions other than OpenFlow13 doesn't 
help either. 

Can you see if the usage of the client with the command above is correct.

Regards,
Zekeriya

>-----Ursprüngliche Nachricht-----
>Von: Adrian Moreno <amore...@redhat.com>
>Gesendet: Freitag, 19. Januar 2024 13:16
>An: Mansuroglu, Zekeriya <zekeriya.mansuro...@iis.fraunhofer.de>; ovs-
>disc...@openvswitch.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?
>>
>
>OpenFlow flows are not stored in the OVSDB. Only configuration is stored there.
>
>> 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?
>>
>
>If you want to monitor the changes in the OpenFlow tables you can use "ovs-
>ofctl
>monitor".
>
>> Thanks,
>>
>> Zekeriya
>>
>>
>> _______________________________________________
>> discuss mailing list
>> disc...@openvswitch.org
>> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>
>--
>Adrián Moreno

_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to