Skip to content

Commit

Permalink
ovn-controller(8): ovn-remote must be an ovsdb remote.
Browse files Browse the repository at this point in the history
Document that the value of the ovn-remote configuration
option must be in the form of an ovsdb remote as previously documented
in this man page. This came up on IRC where someone trying OVN
put a hostname here and observed that it did not work.

Signed-off-by: Russell Bryant <[email protected]>
Acked-by: Ben Pfaff <[email protected]>
  • Loading branch information
russellb committed Dec 6, 2016
1 parent 8b6987d commit ff956ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
9 changes: 2 additions & 7 deletions ovn/controller/ovn-controller.8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,8 @@
<dd>
<p>
The OVN database that this system should connect to for its
configuration.
</p>

<p>
Currently, <code>ovn-controller</code> does not support changing this
setting mid-run. If the value needs to change, the daemon must be
restarted. (This behavior should be improved.)
configuration, in one of the same forms documented above for the
<var>ovs-database</var>.
</p>
</dd>

Expand Down
5 changes: 1 addition & 4 deletions ovn/controller/ovn-controller.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,7 @@ get_chassis_id(const struct ovsdb_idl *ovs_idl)
}

/* Retrieves the OVN Southbound remote location from the
* "external-ids:ovn-remote" key in 'ovs_idl' and returns a copy of it.
*
* XXX ovn-controller does not support this changing mid-run, but that should
* be addressed later. */
* "external-ids:ovn-remote" key in 'ovs_idl' and returns a copy of it. */
static char *
get_ovnsb_remote(struct ovsdb_idl *ovs_idl)
{
Expand Down

0 comments on commit ff956ea

Please sign in to comment.