From patchwork Wed Sep 2 23:44:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Pfaff X-Patchwork-Id: 513705 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from archives.nicira.com (unknown [IPv6:2600:3c00::f03c:91ff:fe6e:bdf7]) by ozlabs.org (Postfix) with ESMTP id 0C18D1401F0 for ; Thu, 3 Sep 2015 09:45:34 +1000 (AEST) Received: from archives.nicira.com (localhost [127.0.0.1]) by archives.nicira.com (Postfix) with ESMTP id DF25D10A30; Wed, 2 Sep 2015 16:44:35 -0700 (PDT) X-Original-To: dev@openvswitch.org Delivered-To: dev@openvswitch.org Received: from mx1e4.cudamail.com (mx1.cudamail.com [69.90.118.67]) by archives.nicira.com (Postfix) with ESMTPS id AF69E109A3 for ; Wed, 2 Sep 2015 16:44:34 -0700 (PDT) Received: from bar5.cudamail.com (unknown [192.168.21.12]) by mx1e4.cudamail.com (Postfix) with ESMTPS id 25B5F1E0442 for ; Wed, 2 Sep 2015 17:44:34 -0600 (MDT) X-ASG-Debug-ID: 1441237473-09eadd4ef658670001-byXFYA Received: from mx1-pf1.cudamail.com ([192.168.24.1]) by bar5.cudamail.com with ESMTP id pDjg4KBW4jktC6WD (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 02 Sep 2015 17:44:33 -0600 (MDT) X-Barracuda-Envelope-From: blp@nicira.com X-Barracuda-RBL-Trusted-Forwarder: 192.168.24.1 Received: from unknown (HELO mail-pa0-f48.google.com) (209.85.220.48) by mx1-pf1.cudamail.com with ESMTPS (RC4-SHA encrypted); 2 Sep 2015 23:44:33 -0000 Received-SPF: unknown (mx1-pf1.cudamail.com: Multiple SPF records returned) X-Barracuda-RBL-Trusted-Forwarder: 209.85.220.48 Received: by pacfv12 with SMTP id fv12so26690037pac.2 for ; Wed, 02 Sep 2015 16:44:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Ezb1OtQ2LmOe7//sdlS6aQbJKRJjCKxgP2/H4S0DSqA=; b=WjwDdXbHpbb2qPcqjwDqUBM+zhwFzMXTqATGgjnREC9XZHTapQTvunuNHXzKNvJtME 8zT1saZJgO1fF/RfuS/D6wE9L1fhSjSvbjLg/t//SMaNC+UthC4OOl0/Qfof5+qL3Yim /TbiqrarA7pNVPeJgTFZWmzFj9tGy9Cg6bUWJ43Ro2ETiGOHIscRk29mF9vHFEwry+ni ijFuxP+Ue0KMgVLORR+RVNVrMjrVrBGknZL8+DGAqVtH/4nu57eKsm0hfz4LeQxEQFkp FO6dsU5Tp5kZJxRDdDwiNmjcyfhToOekLu+oleG04ev/L9ccLEQq1hlFxFFWzJwResvx 2ASA== X-Gm-Message-State: ALoCoQlh8tjE/NcY5gl7wuM/eC+/RSD9r3NNxsNir9sgk+Gz6+vi8T+v8iznmRq32VsK5iq6wdVs X-Received: by 10.68.223.4 with SMTP id qq4mr61246626pbc.36.1441237472947; Wed, 02 Sep 2015 16:44:32 -0700 (PDT) Received: from sigabrt.benpfaff.org ([208.91.2.4]) by smtp.gmail.com with ESMTPSA id f5sm23046151pas.23.2015.09.02.16.44.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 02 Sep 2015 16:44:31 -0700 (PDT) X-CudaMail-Envelope-Sender: blp@nicira.com X-Barracuda-Apparent-Source-IP: 208.91.2.4 From: Ben Pfaff To: dev@openvswitch.org X-CudaMail-Whitelist-To: dev@openvswitch.org X-CudaMail-MID: CM-E1-901091873 X-CudaMail-DTE: 090215 X-CudaMail-Originating-IP: 209.85.220.48 Date: Wed, 2 Sep 2015 16:44:07 -0700 X-ASG-Orig-Subj: [##CM-E1-901091873##][PATCH v2 10/14] ovn-sbctl: Support SSL for connecting to southbound database. Message-Id: <1441237451-17940-10-git-send-email-blp@nicira.com> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1441237451-17940-1-git-send-email-blp@nicira.com> References: <1441237451-17940-1-git-send-email-blp@nicira.com> X-Barracuda-Connect: UNKNOWN[192.168.24.1] X-Barracuda-Start-Time: 1441237473 X-Barracuda-Encrypted: DHE-RSA-AES256-SHA X-Barracuda-URL: https://web.cudamail.com:443/cgi-mod/mark.cgi X-ASG-Whitelist: Header =?UTF-8?B?eFwtY3VkYW1haWxcLXdoaXRlbGlzdFwtdG8=?= X-Virus-Scanned: by bsmtpd at cudamail.com X-Barracuda-BRTS-Status: 1 Cc: Ben Pfaff Subject: [ovs-dev] [PATCH v2 10/14] ovn-sbctl: Support SSL for connecting to southbound database. X-BeenThere: dev@openvswitch.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dev-bounces@openvswitch.org Sender: "dev" Eventually we'll want this and it's easy to add, so go ahead and add it now. Signed-off-by: Ben Pfaff --- 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 e2b296a..1627a8e 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);