mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
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.
This commit is contained in:
@@ -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 *);
|
||||
|
Reference in New Issue
Block a user