summaryrefslogtreecommitdiffstats
path: root/mgr/mgr/pub/config/config.py
diff options
context:
space:
mode:
Diffstat (limited to 'mgr/mgr/pub/config/config.py')
-rw-r--r--mgr/mgr/pub/config/config.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/mgr/mgr/pub/config/config.py b/mgr/mgr/pub/config/config.py
index c67effd..8ac51d1 100644
--- a/mgr/mgr/pub/config/config.py
+++ b/mgr/mgr/pub/config/config.py
@@ -37,10 +37,16 @@ FORWARDED_FOR_FIELDS = ["HTTP_X_FORWARDED_FOR", "HTTP_X_FORWARDED_HOST",
# [register]
REG_TO_MSB_WHEN_START = True
+SSL_ENABLED = "true"
REG_TO_MSB_REG_URL = "/api/microservices/v1/services"
+if SSL_ENABLED == "true":
+ enable_ssl = "true"
+else:
+ enable_ssl = "false"
REG_TO_MSB_REG_PARAM = {
"serviceName": "vnfmgr",
"version": "v1",
+ "enable_ssl": enable_ssl,
"url": "/api/vnfmgr/v1",
"protocol": "REST",
"visualRange": "1",