From: Ben Pfaff Date: Wed, 2 Sep 2015 23:38:19 +0000 (-0700) Subject: ovn-sbctl: Support SSL for connecting to southbound database. X-Git-Tag: v2.5.0~583 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=dda825b845f4263e9fbea6f8b7ae305de313a8c5;p=cascardo%2Fovs.git ovn-sbctl: Support SSL for connecting to southbound database. Eventually we'll want this and it's easy to add, so go ahead and add it now. Signed-off-by: Ben Pfaff Acked-by: Alex Wang --- diff --git a/ovn/utilities/ovn-sbctl.c b/ovn/utilities/ovn-sbctl.c index 1d4350496..1104167db 100644 --- a/ovn/utilities/ovn-sbctl.c +++ b/ovn/utilities/ovn-sbctl.c @@ -40,6 +40,7 @@ #include "process.h" #include "sset.h" #include "shash.h" +#include "stream-ssl.h" #include "table.h" #include "timeval.h" #include "util.h" @@ -171,6 +172,7 @@ parse_options(int argc, char *argv[], struct shash *local_options) {"options", no_argument, NULL, OPT_OPTIONS}, {"version", no_argument, NULL, 'V'}, VLOG_LONG_OPTIONS, + STREAM_SSL_LONG_OPTIONS, TABLE_LONG_OPTIONS, {NULL, 0, NULL, 0}, }; @@ -255,6 +257,7 @@ parse_options(int argc, char *argv[], struct shash *local_options) VLOG_OPTION_HANDLERS TABLE_OPTION_HANDLERS(&table_style) + STREAM_SSL_OPTION_HANDLERS case '?': exit(EXIT_FAILURE);