summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/newton_base/extensions/extensions.py2
-rw-r--r--share/newton_base/proxy/dnsaasdelegate.py2
-rw-r--r--share/newton_base/proxy/identityV3.py2
-rw-r--r--share/newton_base/proxy/proxy_utils.py2
-rw-r--r--share/newton_base/proxy/services.py2
-rw-r--r--share/newton_base/util.py2
6 files changed, 6 insertions, 6 deletions
diff --git a/share/newton_base/extensions/extensions.py b/share/newton_base/extensions/extensions.py
index 6b3ecb57..bd43c6ca 100644
--- a/share/newton_base/extensions/extensions.py
+++ b/share/newton_base/extensions/extensions.py
@@ -30,7 +30,7 @@ from common.msapi import extsys
logger = logging.getLogger(__name__)
-DEBUG=True
+#DEBUG=True
class Extensions(APIView):
diff --git a/share/newton_base/proxy/dnsaasdelegate.py b/share/newton_base/proxy/dnsaasdelegate.py
index 8a384527..66d123f1 100644
--- a/share/newton_base/proxy/dnsaasdelegate.py
+++ b/share/newton_base/proxy/dnsaasdelegate.py
@@ -32,7 +32,7 @@ from newton_base.util import VimDriverUtils
logger = logging.getLogger(__name__)
-DEBUG=True
+#DEBUG=True
class DnsaasDelegate(Services):
'''
diff --git a/share/newton_base/proxy/identityV3.py b/share/newton_base/proxy/identityV3.py
index 057bdf3e..a7c8c546 100644
--- a/share/newton_base/proxy/identityV3.py
+++ b/share/newton_base/proxy/identityV3.py
@@ -30,7 +30,7 @@ from newton_base.proxy.proxy_utils import ProxyUtils
logger = logging.getLogger(__name__)
-DEBUG=True
+#DEBUG=True
v3_version_detail = {
"version": {
diff --git a/share/newton_base/proxy/proxy_utils.py b/share/newton_base/proxy/proxy_utils.py
index bad5b60f..98ef0a20 100644
--- a/share/newton_base/proxy/proxy_utils.py
+++ b/share/newton_base/proxy/proxy_utils.py
@@ -23,7 +23,7 @@ from common.exceptions import VimDriverNewtonException
logger = logging.getLogger(__name__)
-DEBUG=True
+#DEBUG=True
#MULTICLOUD_PREFIX = "http://%s:%s/api/multicloud-newton/v0" %(config.MSB_SERVICE_IP, config.MSB_SERVICE_PORT)
class ProxyUtils(object):
diff --git a/share/newton_base/proxy/services.py b/share/newton_base/proxy/services.py
index fb0cf60a..85b3ec49 100644
--- a/share/newton_base/proxy/services.py
+++ b/share/newton_base/proxy/services.py
@@ -29,7 +29,7 @@ from newton_base.util import VimDriverUtils
logger = logging.getLogger(__name__)
-DEBUG=True
+#DEBUG=True
class HasValidToken(BasePermission):
diff --git a/share/newton_base/util.py b/share/newton_base/util.py
index 36c47620..e925d99a 100644
--- a/share/newton_base/util.py
+++ b/share/newton_base/util.py
@@ -90,7 +90,7 @@ class VimDriverUtils(object):
if auth_state:
auth.set_auth_state(auth_state)
- return session.Session(auth=auth, verify=False)
+ return session.Session(auth=auth, verify=(vim['insecure']==False))
@staticmethod
def get_auth_state(session_obj):