new param at openstack connector to allow insecure https connections 86/986/3
authortierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 18 Jan 2017 14:53:44 +0000 (15:53 +0100)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 20 Jan 2017 13:18:03 +0000 (14:18 +0100)
Change-Id: Icaecfa8470d28232ab1d65e2ffb8395f24825db3
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
vimconn_openstack.py

index 8abf7a2..fc3254b 100644 (file)
@@ -78,6 +78,9 @@ class vimconnector(vimconn.vimconnector):
         
         self.k_creds={}
         self.n_creds={}
+        if self.config.get("insecure"):
+            self.k_creds["insecure"] = True
+            self.n_creds["insecure"] = True
         if not url:
             raise TypeError, 'url param can not be NoneType'
         self.k_creds['auth_url'] = url