summaryrefslogtreecommitdiff
path: root/ovsdb/replication.h
diff options
context:
space:
mode:
authorMario Cabrera <mario.cabrera@hpe.com>2016-03-29 11:01:00 -0600
committerBen Pfaff <blp@ovn.org>2016-06-24 17:15:38 -0700
commit7a9d65d294c903ef77191cd143a467a5a1e8d3ac (patch)
tree3f62a2d8d21ae655a15c22e78804d101b4ea3320 /ovsdb/replication.h
parentae671c5feb88db395304e452ab47c83b4ac84ee0 (diff)
downloadopenvswitch-7a9d65d294c903ef77191cd143a467a5a1e8d3ac.tar.gz
ovsdb: Add table exclusion functionality to OVSDB replication
A blacklist of tables that will be excluded from replication can be specified by the following option: --sync-exclude-tables=db:table[,db:table]… Where 'table' corresponds to a table name, and 'db' corresponds to the database name where the table resides. Signed-off-by: Mario Cabrera <mario.cabrera@hpe.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'ovsdb/replication.h')
-rw-r--r--ovsdb/replication.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ovsdb/replication.h b/ovsdb/replication.h
index f9b7d6323..74acdbaa5 100644
--- a/ovsdb/replication.h
+++ b/ovsdb/replication.h
@@ -32,6 +32,7 @@ struct db {
void replication_run(struct shash *dbs);
void set_remote_ovsdb_server(const char *remote_server);
+void set_tables_blacklist(const char *blacklist);
void disconnect_remote_server(void);
const struct db *find_db(const struct shash *all_dbs, const char *db_name);
void replication_usage(void);