ovn-sbctl: Support SSL for connecting to southbound database.
authorBen Pfaff <blp@nicira.com>
Wed, 2 Sep 2015 23:38:19 +0000 (16:38 -0700)
committerBen Pfaff <blp@nicira.com>
Mon, 14 Sep 2015 14:49:31 +0000 (07:49 -0700)
Eventually we'll want this and it's easy to add, so go ahead and add it
now.

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Alex Wang <ee07b291@gmail.com>
ovn/utilities/ovn-sbctl.c

index 1d43504..1104167 100644 (file)
@@ -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);