diff options
author | ying.yunlong <ying.yunlong@zte.com.cn> | 2017-10-27 11:03:09 +0800 |
---|---|---|
committer | ying.yunlong <ying.yunlong@zte.com.cn> | 2017-10-27 11:03:09 +0800 |
commit | 7be9851db599efb09283728518a4d78813e5da71 (patch) | |
tree | 6f5c3b1cd3e080070941d415fc1cd1f6f8540253 | |
parent | e64b4b3308d5fad6b24634c0cdc487c2f37458bd (diff) |
Fix vfc-lcm build-in decode bug
Change-Id: Icea1c695c77ce6e1be1b4d566e2d30f4a1b317ee
Issue-ID: VFC-558
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
-rw-r--r-- | lcm/workflows/build_in.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |