summaryrefslogtreecommitdiff
path: root/ovsdb/transaction.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2020-01-09 12:48:30 -0800
committerBen Pfaff <blp@ovn.org>2020-01-16 16:02:05 -0800
commita529e3cd1f410747778c3a8be1370a618ef0c861 (patch)
tree014f6f8ad395d27de9ccf25601e2ab1519b95e3d /ovsdb/transaction.h
parentb9254f7b59bc3e7166c4d555cd40fb8e0b32bafc (diff)
downloadopenvswitch-a529e3cd1f410747778c3a8be1370a618ef0c861.tar.gz
ovsdb-server: Allow OVSDB clients to specify the UUID for inserted rows.
Acked-by: Han Zhou <hzhou@ovn.org> Requested-by: Leonid Ryzhyk <lryzhyk@vmware.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ovsdb/transaction.h')
-rw-r--r--ovsdb/transaction.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ovsdb/transaction.h b/ovsdb/transaction.h
index ea6b53d3c..6b5bb7f24 100644
--- a/ovsdb/transaction.h
+++ b/ovsdb/transaction.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2009, 2010, 2017 Nicira, Inc.
+/* Copyright (c) 2009, 2010, 2017, 2019 Nicira, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -53,6 +53,9 @@ struct ovsdb_row *ovsdb_txn_row_modify(struct ovsdb_txn *,
void ovsdb_txn_row_insert(struct ovsdb_txn *, struct ovsdb_row *);
void ovsdb_txn_row_delete(struct ovsdb_txn *, const struct ovsdb_row *);
+bool ovsdb_txn_may_create_row(const struct ovsdb_table *,
+ const struct uuid *row_uuid);
+
typedef bool ovsdb_txn_row_cb_func(const struct ovsdb_row *old,
const struct ovsdb_row *new,
const unsigned long int *changed,