diff options
author | Arun Sharma <arun.sharma@calsoftinc.com> | 2012-04-09 13:29:32 -0700 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2012-04-10 10:42:03 -0700 |
commit | 932f36ebdb5be9decb8e95befb3acd986c811185 (patch) | |
tree | 2cdd12da41d684206ba7ff0345111fcf7b7d2dca /xenserver | |
parent | a65084987b743fbeaf9a5376ea0fe99454912186 (diff) |
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 <arun.sharma@calsoftinc.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'xenserver')
-rwxr-xr-x | xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync index cc14d6f2..77c07bcd 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() |