These comments aren't particularly detailed, but it's helpful to at
least see what is modifying the database contents.

Signed-off-by: Justin Pettit <[email protected]>
---
 ovn/ovn-nbd.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/ovn/ovn-nbd.c b/ovn/ovn-nbd.c
index 28bc000..54cd3c8 100644
--- a/ovn/ovn-nbd.c
+++ b/ovn/ovn-nbd.c
@@ -415,6 +415,8 @@ main(int argc, char *argv[])
              * updating the OVN DB.
              */
             ctx.ovnsb_txn = ovsdb_idl_txn_create(ctx.ovnsb_idl);
+            ovsdb_idl_txn_add_comment(ctx.ovnsb_txn,
+                                      "ovn-nbd: northbound db changed");
             ovnnb_db_changed(&ctx);
             ovnnb_changes_pending = false;
         }
@@ -425,6 +427,8 @@ main(int argc, char *argv[])
              * updating the northbound DB.
              */
             ctx.ovnnb_txn = ovsdb_idl_txn_create(ctx.ovnnb_idl);
+            ovsdb_idl_txn_add_comment(ctx.ovnnb_txn,
+                                      "ovn-nbd: southbound db changed");
             ovnsb_db_changed(&ctx);
             ovn_changes_pending = false;
         }
-- 
1.7.5.4

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to