From 932f36ebdb5be9decb8e95befb3acd986c811185 Mon Sep 17 00:00:00 2001 From: Arun Sharma Date: Mon, 9 Apr 2012 13:29:32 -0700 Subject: [PATCH] Python binaries to write comment in db show-log while updating database This is an improvement in python script ovs-xapi-sync to call add_comment() method while updating database. This will help developer to debug binaries and database from ovsdb-tool show-log command output and understand which python binary is updating db. Feature #10543 Signed-off-by: Arun Sharma Signed-off-by: Ben Pfaff --- xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync | 1 + 1 file changed, 1 insertion(+) diff --git a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync index cc14d6f28..77c07bcd6 100755 --- a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync +++ b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync @@ -361,6 +361,7 @@ def main(): iface_ids = new_iface_ids vm_ids = new_vm_ids + txn.add_comment("ovs-xapi-sync: Updating records from XAPI") txn.commit_block() unixctl_server.close() -- 2.43.0