diff mbox

[ovs-dev,3/4] ovn-sbctl: Support SSL for connecting to southbound database.

Message ID 1442029598-6778-4-git-send-email-blp@nicira.com
State Accepted
Headers show

Commit Message

Ben Pfaff Sept. 12, 2015, 3:46 a.m. UTC
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>
---
 ovn/utilities/ovn-sbctl.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Andy Zhou Sept. 18, 2015, 10:24 p.m. UTC | #1
Acked-by: Andy Zhou <azhou@nicira.com>

On Fri, Sep 11, 2015 at 8:46 PM, Ben Pfaff <blp@nicira.com> wrote:
> 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>
> ---
>  ovn/utilities/ovn-sbctl.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/ovn/utilities/ovn-sbctl.c b/ovn/utilities/ovn-sbctl.c
> index 1d43504..1104167 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);
> --
> 2.1.3
>
> _______________________________________________
> dev mailing list
> dev@openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev
diff mbox

Patch

diff --git a/ovn/utilities/ovn-sbctl.c b/ovn/utilities/ovn-sbctl.c
index 1d43504..1104167 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);