summaryrefslogtreecommitdiffstats
path: root/zte/vmanager/driver/pub/config/config.py
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2018-03-27 10:16:57 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2018-03-27 10:16:57 +0800
commit5a49fdb031599b96e48c7bcb540e973292114365 (patch)
tree97b8d8ef865068ed4f5d8226610050a9ac71b761 /zte/vmanager/driver/pub/config/config.py
parent16352314819e03143e91d76b3157a125d3e49f8d (diff)
Add vfc-ztevnfmdriver log integration config
Change-Id: I64a175eb2f516f060bb909acdcfb47d54efc8c14 Issue-ID: VFC-839 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'zte/vmanager/driver/pub/config/config.py')
-rw-r--r--zte/vmanager/driver/pub/config/config.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/zte/vmanager/driver/pub/config/config.py b/zte/vmanager/driver/pub/config/config.py
index 925f280d..a8988801 100644
--- a/zte/vmanager/driver/pub/config/config.py
+++ b/zte/vmanager/driver/pub/config/config.py
@@ -19,6 +19,11 @@ VNF_FTP = "ftp://VMVNFM:Vnfm_1g3T@127.0.0.1:21/"
MSB_SERVICE_IP = '127.0.0.1'
MSB_SERVICE_PORT = '80'
+# [MDC]
+SERVICE_NAME = "ztevnfmdriver"
+FORWARDED_FOR_FIELDS = ["HTTP_X_FORWARDED_FOR", "HTTP_X_FORWARDED_HOST",
+ "HTTP_X_FORWARDED_SERVER"]
+
# [register]
REG_TO_MSB_WHEN_START = True
REG_TO_MSB_REG_URL = "/api/microservices/v1/services"