From: tierno Date: Wed, 18 Jan 2017 14:53:44 +0000 (+0100) Subject: new param at openstack connector to allow insecure https connections X-Git-Tag: v1.1.0~22 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F86%2F986%2F3;p=osm%2FRO.git new param at openstack connector to allow insecure https connections Change-Id: Icaecfa8470d28232ab1d65e2ffb8395f24825db3 Signed-off-by: tierno --- diff --git a/vimconn_openstack.py b/vimconn_openstack.py index 8abf7a21..fc3254bf 100644 --- a/vimconn_openstack.py +++ b/vimconn_openstack.py @@ -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