diff options
author | Ilya Maximets <i.maximets@ovn.org> | 2021-06-09 16:50:37 +0200 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2021-07-15 22:38:31 +0200 |
commit | edcf441722d1b570b8a1cd9207550b2d9076ce8b (patch) | |
tree | 2e021ba6cb1f2be5546fbaa9238b4a1b3f07361b /ovsdb/_server.xml | |
parent | 7964ffe7d2bfd35b08c221ad1c3c04dc4403b6f1 (diff) | |
download | openvswitch-edcf441722d1b570b8a1cd9207550b2d9076ce8b.tar.gz |
ovsdb: relay: Reflect connection status in _Server database.
It might be important for clients to know that relay lost connection
with the relay remote, so they could re-connect to other relay.
Acked-by: Mark D. Gray <mark.d.gray@redhat.com>
Acked-by: Dumitru Ceara <dceara@redhat.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to 'ovsdb/_server.xml')
-rw-r--r-- | ovsdb/_server.xml | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/ovsdb/_server.xml b/ovsdb/_server.xml index 37297da73..7866f134f 100644 --- a/ovsdb/_server.xml +++ b/ovsdb/_server.xml @@ -71,6 +71,15 @@ source. </column> + <column name="connected"> + True if the database is connected to its storage. A standalone database + is always connected. A clustered database is connected if the server is + in contact with a majority of its cluster. A relay database is connected + if the server is in contact with the relay source, i.e. is connected to + the server it syncs from. An unconnected database cannot be modified and + its data might be unavailable or stale. + </column> + <group title="Clustered Databases"> <p> These columns are most interesting and in some cases only relevant for @@ -78,14 +87,6 @@ column is <code>clustered</code>. </p> - <column name="connected"> - True if the database is connected to its storage. A standalone or - active-backup database is always connected. A clustered database is - connected if the server is in contact with a majority of its cluster. - An unconnected database cannot be modified and its data might be - unavailable or stale. - </column> - <column name="leader"> True if the database is the leader in its cluster. For a standalone or active-backup database, this is always true. For a relay database, |