[ovs-discuss] Query on OVSDB notification message.

Prasanthi K prasanthi.k at freescale.com
Fri Nov 22 12:47:45 UTC 2013


Hai ,

Query: How is parent table information interpreted from the received "OVSDB notification" .
Analysis:

In openvswitch code ,vswitch daemon waits for the notifications from OVSDB .After receiving the notification it is parsing   and updates the database accordingly.

>From my code walk through I see the notification is  just giving info about table,row and column that need to be updated .
Here I am listing down the API's for reference:

ovsdb_idl_run(This API will receive the notification if there is any configuration update)

ovsdb_idl_parse_update__(This API is extracting information about particular table and row which need to be configured)

ovsdb_idl_process_update(This API is deriving the action(add/mod/del) to be performed)

ovsdb_idl_row_update(This API will update the columns of table accordingly)
For example deleting a flowtable in a bridge is the notification which we received , code is interpreting  delete flowtable  x from table Flowtable  but how will we get the information from which bridge we need to perform this deletion.
Can anyone help me on how to get that info from received notification and let me know if my understanding is wrong.

Regards
Prashanthi.k


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20131122/d5419b0c/attachment.html>


More information about the discuss mailing list