summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2018-07-27 09:30:26 +0800
committeryangyan <yangyanyj@chinamobile.com>2018-07-27 10:14:23 +0800
commit2f5dac11d5ec5459a18b8e6dad7c2ab006263edb (patch)
tree664f7d7802453027483a152e2867fd41290d1f50
parent026d0d1fac55f0d9df0d45da2cec1b4aa0f6ec78 (diff)
Update query vnfm info url
Issue-ID: VFC-1000 Change-Id: I6d9ffeb69b7dbc37d0a6c242b4d604347bef5f98 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
-rw-r--r--gvnfmadapter/driver/interfaces/views.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gvnfmadapter/driver/interfaces/views.py b/gvnfmadapter/driver/interfaces/views.py
index eb53a33..a1aa0f7 100644
--- a/gvnfmadapter/driver/interfaces/views.py
+++ b/gvnfmadapter/driver/interfaces/views.py
@@ -345,7 +345,8 @@ def ignorcase_get(args, key):
def get_vnfminfo_from_nslcm(vnfm_id):
logger.debug("[get_vnfminfo_from_nslcm] vnfm_id=[%s]", vnfm_id)
- ret = req_by_msb("api/aai-esr-server/v1/vnfms/%s" % vnfm_id, "GET")
+ # ret = req_by_msb("api/aai-esr-server/v1/vnfms/%s" % vnfm_id, "GET")
+ ret = req_by_msb("api/nslcm/v1/vnfms/%s" % vnfm_id, "GET")
logger.debug("[get_vnfminfo_from_nslcm] response=%s", ret)
if ret[0] != 0:
logger.error("Status code is %s, detail is %s.", ret[2], ret[1])