summaryrefslogtreecommitdiff
path: root/xenserver
diff options
context:
space:
mode:
authorTerry Wilson <twilson@redhat.com>2022-06-28 09:54:45 -0500
committerIlya Maximets <i.maximets@ovn.org>2022-06-30 11:10:31 +0200
commit6f24c2bc769afde0a390ce344de1a7d9c592e5a6 (patch)
treeccee748179bdde91682a6ea1ba8b280fbdba854b /xenserver
parent603bc853fb5637d8db0f748c2a9ded87a4b9c67c (diff)
downloadopenvswitch-6f24c2bc769afde0a390ce344de1a7d9c592e5a6.tar.gz
ovsdb: Add Local_Config schema.
The only way to configure settings on a remote (e.g. inactivity_probe) is via --remote=db:DB,table,row. There is no way to do this via the existing CLI options. For a clustered DB with multiple servers listening on unique addresses there is no way to store these entries in the DB as the DB is shared. For example, three servers listening on 1.1.1.1, 1.1.1.2, and 1.1.1.3 respectively would require a Manager/Connection row each, but then all three servers would try to listen on all three addresses. It is possible for ovsdb-server to serve multiple databases. This means that we can have a local "config" database in addition to the main database we are serving (Open_vSwitch, OVN_Southbound, etc.) and this patch adds a Local_Config schema that currently just mirrors the Connection table and a Config table with a 'connections' row that stores each Connection. Signed-off-by: Terry Wilson <twilson@redhat.com> Acked-by: Dumitru Ceara <dceara@redhat.com> Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'xenserver')
-rw-r--r--xenserver/openvswitch-xen.spec.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/xenserver/openvswitch-xen.spec.in b/xenserver/openvswitch-xen.spec.in
index 4d21c6364..ae22f2f5c 100644
--- a/xenserver/openvswitch-xen.spec.in
+++ b/xenserver/openvswitch-xen.spec.in
@@ -457,6 +457,7 @@ exit 0
/usr/share/openvswitch/scripts/ovs-lib
/usr/share/openvswitch/scripts/ovs-vtep
/usr/share/openvswitch/vswitch.ovsschema
+/usr/share/openvswitch/local-config.ovsschema
/usr/share/openvswitch/vtep.ovsschema
/usr/sbin/ovs-bugtool
/usr/sbin/ovs-vswitchd
@@ -479,6 +480,7 @@ exit 0
/usr/share/man/man1/ovsdb-client.1.gz
/usr/share/man/man1/ovsdb-server.1.gz
/usr/share/man/man1/ovsdb-tool.1.gz
+/usr/share/man/man5/ovsdb.local-config.5.gz
/usr/share/man/man5/ovsdb-server.5.gz
/usr/share/man/man5/ovs-vswitchd.conf.db.5.gz
/usr/share/man/man5/vtep.5.gz