]> git.proxmox.com Git - mirror_ovs.git/commit
ovsdb-server: Add support for a built-in _Server database.
authorBen Pfaff <blp@ovn.org>
Fri, 15 Dec 2017 19:14:55 +0000 (11:14 -0800)
committerBen Pfaff <blp@ovn.org>
Sat, 24 Mar 2018 19:04:52 +0000 (12:04 -0700)
commit6bb9b060d5b0f972461f0c061a865393611fd86a
tree9acfdc5a3374821cd97c0da88b9593f4ffb3e0a4
parent00d5d6310da15bf0530cb9a7a73acce325636b44
ovsdb-server: Add support for a built-in _Server database.

The _Server database is valuable primarily because it provides database
clients a way to find out the details of changes to databases, schemas,
etc. in a granular, natural way.  Until now, the only way that the server
could notify clients about these kinds of changes was to close the session;
when the client reconnects, it is expected to reassess the server's state.
One way to provide this kind of granular information would be to add
specific JSON-RPC requests to obtain notifications for different kinds of
changes, but since ovsdb-server already provides granular and flexible
notification support for databases, using a database for the purpose is
convenient and avoids duplicating functionality.

Initially this database only reports databases' names and schemas, but
when clustering support is added in a later commit it will also report
important aspects of clustering and cluster status.  Thus, this database
also reduces the need to add JSON-RPC calls to retrieve information about
new features.

Signed-off-by: Ben Pfaff <blp@ovn.org>
18 files changed:
Documentation/ref/index.rst
Makefile.am
NEWS
build-aux/automake.mk
build-aux/text2c [new file with mode: 0755]
debian/openvswitch-switch.manpages
ovsdb/.gitignore
ovsdb/_server.ovsschema [new file with mode: 0644]
ovsdb/_server.xml [new file with mode: 0644]
ovsdb/automake.mk
ovsdb/ovsdb-server.1.in
ovsdb/ovsdb-server.c
ovsdb/ovsdb-util.c
ovsdb/ovsdb-util.h
rhel/openvswitch-fedora.spec.in
rhel/openvswitch.spec.in
tests/ovsdb-server.at
xenserver/openvswitch-xen.spec.in