summaryrefslogtreecommitdiffstats
path: root/zte/vmanager
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-10-18 17:29:09 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-10-18 17:29:09 +0800
commit4184f3e8eb01b4b8bd15e99f7a547fa762ccad88 (patch)
treead85d8455a3a5e69844160bdf3d8ecf7b77d72a6 /zte/vmanager
parent32686c4efae298d7b1785365162b2df3e8afedfc (diff)
Fix vfc-svnfm-driver inst bug
Change-Id: I73f3465ed6f7a37563b23049ee32be5b251df598 Issue-ID: VFC-543 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'zte/vmanager')
-rw-r--r--zte/vmanager/driver/interfaces/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/zte/vmanager/driver/interfaces/views.py b/zte/vmanager/driver/interfaces/views.py
index a9a430d2..dd07d794 100644
--- a/zte/vmanager/driver/interfaces/views.py
+++ b/zte/vmanager/driver/interfaces/views.py
@@ -131,8 +131,8 @@ def instantiate_vnf(request, *args, **kwargs):
vnfm_ip = urlparse(ignorcase_get(vnfm_info, "url")).netloc.split(':')[0]
VNFS = ["SPGW", "MME"]
if vnfdId in VNFS:
- data["VNFD"] = "ftp://VMVERSION:vmversion@" + vnfm_ip + ":21/" + vnfdId
- data["VNFURL"] = "ftp://VMVERSION:vmversion@" + vnfm_ip + ":21/" + vnfdId
+ data["VNFD"] = "ftp://VMVNFM:Vnfm_1g3T@" + vnfm_ip + ":21/" + vnfdId
+ data["VNFURL"] = "ftp://VMVNFM:Vnfm_1g3T@" + vnfm_ip + ":21/" + vnfdId
else:
data["VNFD"] = ignorcase_get(packageInfo, "downloadUri")
data["VNFURL"] = ignorcase_get(packageInfo, "downloadUri")