summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ocata/ocata/registration/tests/test_registration.py9
-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--windriver/titanium_cloud/extensions/views/epacaps.py2
-rw-r--r--windriver/titanium_cloud/extensions/views/extensions.py2
-rw-r--r--windriver/titanium_cloud/extensions/views/fcaps.py2
-rw-r--r--windriver/titanium_cloud/proxy/views/identityV3.py2
-rw-r--r--windriver/titanium_cloud/proxy/views/services.py2
-rw-r--r--windriver/titanium_cloud/registration/views/registration.py2
-rw-r--r--windriver/titanium_cloud/settings.py4
13 files changed, 20 insertions, 15 deletions
diff --git a/ocata/ocata/registration/tests/test_registration.py b/ocata/ocata/registration/tests/test_registration.py
index fcee2860..4af50c05 100644
--- a/ocata/ocata/registration/tests/test_registration.py
+++ b/ocata/ocata/registration/tests/test_registration.py
@@ -77,8 +77,13 @@ MOCK_GET_FLAVOR_RESPONSE = {
"swap": "8192", "os-flavor-access:is_public": True,
"OS-FLV-DISABLED:disabled": True,
},
-
-
+ {
+ "id": "8", "name": "onap.huge_page", "vcpus": 2, "ram": "2MB",
+ "disk": "2G", "OS-FLV-EXT-DATA:ephemeral": True,
+ "swap": False, "os-flavor-access:is_public": True,
+ "OS-FLV-DISABLED:disabled": True,
+ "properties": "hw:huge_page_size"
+ },
]
}
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/windriver/titanium_cloud/extensions/views/epacaps.py b/windriver/titanium_cloud/extensions/views/epacaps.py
index 77542b31..7efb71a6 100644
--- a/windriver/titanium_cloud/extensions/views/epacaps.py
+++ b/windriver/titanium_cloud/extensions/views/epacaps.py
@@ -23,7 +23,7 @@ from newton_base.extensions import epacaps as newton_epacaps
logger = logging.getLogger(__name__)
-DEBUG=True
+#DEBUG=True
class EpaCaps(newton_epacaps.EpaCaps):
diff --git a/windriver/titanium_cloud/extensions/views/extensions.py b/windriver/titanium_cloud/extensions/views/extensions.py
index 680e2ca6..d331b7b5 100644
--- a/windriver/titanium_cloud/extensions/views/extensions.py
+++ b/windriver/titanium_cloud/extensions/views/extensions.py
@@ -27,7 +27,7 @@ from newton_base.extensions import extensions as newton_extensions
logger = logging.getLogger(__name__)
-DEBUG=True
+#DEBUG=True
class Extensions(newton_extensions.Extensions):
diff --git a/windriver/titanium_cloud/extensions/views/fcaps.py b/windriver/titanium_cloud/extensions/views/fcaps.py
index d5be095f..c36b2642 100644
--- a/windriver/titanium_cloud/extensions/views/fcaps.py
+++ b/windriver/titanium_cloud/extensions/views/fcaps.py
@@ -35,7 +35,7 @@ from common.msapi import extsys
logger = logging.getLogger(__name__)
-DEBUG=True
+#DEBUG=True
#dict to store running worker threads
running_threads = {}
diff --git a/windriver/titanium_cloud/proxy/views/identityV3.py b/windriver/titanium_cloud/proxy/views/identityV3.py
index dd280314..c831d017 100644
--- a/windriver/titanium_cloud/proxy/views/identityV3.py
+++ b/windriver/titanium_cloud/proxy/views/identityV3.py
@@ -19,7 +19,7 @@ from newton_base.proxy import identityV3 as newton_identityV3
logger = logging.getLogger(__name__)
-DEBUG=True
+#DEBUG=True
class Tokens(newton_identityV3.Tokens):
diff --git a/windriver/titanium_cloud/proxy/views/services.py b/windriver/titanium_cloud/proxy/views/services.py
index 4bfecdbc..c1d4f194 100644
--- a/windriver/titanium_cloud/proxy/views/services.py
+++ b/windriver/titanium_cloud/proxy/views/services.py
@@ -21,7 +21,7 @@ from newton_base.proxy import services as newton_services
logger = logging.getLogger(__name__)
-DEBUG=True
+#DEBUG=True
class Services(newton_services.Services):
diff --git a/windriver/titanium_cloud/registration/views/registration.py b/windriver/titanium_cloud/registration/views/registration.py
index 69c85837..a7b2831f 100644
--- a/windriver/titanium_cloud/registration/views/registration.py
+++ b/windriver/titanium_cloud/registration/views/registration.py
@@ -20,7 +20,7 @@ from newton_base.registration import registration as newton_registration
logger = logging.getLogger(__name__)
-DEBUG=True
+#DEBUG=True
class Registry(newton_registration.Registry):
diff --git a/windriver/titanium_cloud/settings.py b/windriver/titanium_cloud/settings.py
index 27d44a52..f05991a9 100644
--- a/windriver/titanium_cloud/settings.py
+++ b/windriver/titanium_cloud/settings.py
@@ -32,9 +32,9 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = '3o-wney!99y)^h3v)0$j16l9=fdjxcb+a8g+q3tfbahcnu2b0o'
# SECURITY WARNING: don't run with debug turned on in production!
-DEBUG = True
+#DEBUG = True
-ALLOWED_HOSTS = []
+ALLOWED_HOSTS = ['*']
# Application definition