summaryrefslogtreecommitdiffstats
path: root/windriver/titanium_cloud/settings.py
diff options
context:
space:
mode:
authorYun Huang <yun.huang@windriver.com>2018-03-07 09:16:38 +0800
committerYun Huang <yun.huang@windriver.com>2018-03-07 09:23:18 +0800
commit9b38263158909c0d20c0f36438071b3c532ec284 (patch)
tree05cebf5569f401ddeb095ea6282e2203e6c3eec0 /windriver/titanium_cloud/settings.py
parent8ff2e0716d126a9d47dc98f933bb0bc046faa05d (diff)
Change the code base from newton to share
And adopt settings,depreciate config Change-Id: Ib467a6e914ae89ab8799d38191dfed8b3cd7b726 Issue-ID: MULTICLOUD-138 Signed-off-by: Yun Huang <yun.huang@windriver.com>
Diffstat (limited to 'windriver/titanium_cloud/settings.py')
-rw-r--r--windriver/titanium_cloud/settings.py25
1 files changed, 23 insertions, 2 deletions
diff --git a/windriver/titanium_cloud/settings.py b/windriver/titanium_cloud/settings.py
index fe950f06..446a68d0 100644
--- a/windriver/titanium_cloud/settings.py
+++ b/windriver/titanium_cloud/settings.py
@@ -119,11 +119,32 @@ CACHES = {
}
}
-OPENSTACK_VERSION = "newton"
+# [MSB]
+MSB_SERVICE_ADDR = '127.0.0.1'
+MSB_SERVICE_PORT = '80'
+
+#[Multicloud]
+MULTICLOUD_PREFIX = "http://%s:%s/api/multicloud-titanium_cloud/v0" %(MSB_SERVICE_ADDR, MSB_SERVICE_PORT)
+
+# [A&AI]
+AAI_ADDR = "aai.api.simpledemo.openecomp.org"
+AAI_PORT = "8443"
+AAI_SERVICE_URL = 'https://%s:%s/aai' % (AAI_ADDR, AAI_PORT)
+AAI_SCHEMA_VERSION = "v11"
+AAI_USERNAME = 'AAI'
+AAI_PASSWORD = 'AAI'
+
+AAI_BASE_URL = "%s/%s" % (AAI_SERVICE_URL, AAI_SCHEMA_VERSION)
+
+MULTICLOUD_APP_ID = 'MultiCloud-Titanium_Cloud'
+
+# [IMAGE LOCAL PATH]
+ROOT_PATH = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+
+OPENSTACK_VERSION = "titanium_cloud"
MULTIVIM_VERSION = "multicloud-" + OPENSTACK_VERSION
if 'test' in sys.argv:
- from titanium_cloud.pub.config import config
REST_FRAMEWORK = {}
import platform