diff options
-rw-r--r-- | gvnfmadapter/driver/interfaces/views.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gvnfmadapter/driver/interfaces/views.py b/gvnfmadapter/driver/interfaces/views.py index eb53a33..044012b 100644 --- a/gvnfmadapter/driver/interfaces/views.py +++ b/gvnfmadapter/driver/interfaces/views.py @@ -70,7 +70,8 @@ class VnfInstInfo(APIView): input_data = { "flavourId": ignorcase_get(requestData, "flavourId"), "extVirtualLinks": ignorcase_get(requestData, "extVirtualLink"), - "additionalParams": ignorcase_get(requestData, "additionalParam") + "additionalParams": ignorcase_get(requestData, "additionalParam"), + "vnfmId": vnfm_id } logger.debug("do_instvnf: vnfInstanceId=[%s],request data=[%s],input_data=[%s],vnfm_id=[%s]", vnfInstanceId, request.data, input_data, vnfm_id) @@ -345,7 +346,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]) |