From 7be9851db599efb09283728518a4d78813e5da71 Mon Sep 17 00:00:00 2001 From: "ying.yunlong" Date: Fri, 27 Oct 2017 11:03:09 +0800 Subject: Fix vfc-lcm build-in decode bug Change-Id: Icea1c695c77ce6e1be1b4d566e2d30f4a1b317ee Issue-ID: VFC-558 Signed-off-by: ying.yunlong --- lcm/workflows/build_in.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lcm/workflows/build_in.py b/lcm/workflows/build_in.py index e562da74..86378ad2 100644 --- a/lcm/workflows/build_in.py +++ b/lcm/workflows/build_in.py @@ -124,7 +124,7 @@ def create_vnf(ns_inst_id, vnf_index, nf_param): data = json.JSONEncoder().encode({ "nsInstanceId": ns_inst_id, "vnfIndex": vnf_index, - "additionalParamForVnf": nf_param + "additionalParamForVnf": json.JSONDecoder().decode(nf_param) }) ret = restcall.req_by_msb(uri, "POST", data) -- cgit 1.2.3-korg