aboutsummaryrefslogtreecommitdiff
path: root/lib/ovsdb-idl.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2009-12-16 13:30:53 -0800
committerBen Pfaff <blp@nicira.com>2009-12-16 13:30:53 -0800
commitd171b5846f4988e66c45a6ed5998bbaef82571f9 (patch)
treeb806bc671fa52a1bb36eb3029dac8693f47fb543 /lib/ovsdb-idl.h
parent5f98eed4eb5b75ab02422de1b5dbd5276ad5593d (diff)
ovsdb: Add "comment" feature to transactions and make ovs-vsctl use them.
The idea here is that transaction comments get copied to the ovsdb-server's transaction log, which can then make it clear later why a particular change was made to the database, to ease debugging.
Diffstat (limited to 'lib/ovsdb-idl.h')
-rw-r--r--lib/ovsdb-idl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ovsdb-idl.h b/lib/ovsdb-idl.h
index fd6aa8b9..0a1fbc6b 100644
--- a/lib/ovsdb-idl.h
+++ b/lib/ovsdb-idl.h
@@ -41,6 +41,7 @@ enum ovsdb_idl_txn_status {
const char *ovsdb_idl_txn_status_to_string(enum ovsdb_idl_txn_status);
struct ovsdb_idl_txn *ovsdb_idl_txn_create(struct ovsdb_idl *);
+void ovsdb_idl_txn_add_comment(struct ovsdb_idl_txn *, const char *);
void ovsdb_idl_txn_set_dry_run(struct ovsdb_idl_txn *);
void ovsdb_idl_txn_destroy(struct ovsdb_idl_txn *);
void ovsdb_idl_txn_wait(const struct ovsdb_idl_txn *);