Code Review
/
vfc
/
nfvo
/
lcm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e64b4b3
)
Fix vfc-lcm build-in decode bug
85/20885/1
author
ying.yunlong
<ying.yunlong@zte.com.cn>
Fri, 27 Oct 2017 03:03:09 +0000
(11:03 +0800)
committer
ying.yunlong
<ying.yunlong@zte.com.cn>
Fri, 27 Oct 2017 03:03:09 +0000
(11:03 +0800)
Change-Id: Icea1c695c77ce6e1be1b4d566e2d30f4a1b317ee
Issue-ID: VFC-558
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
lcm/workflows/build_in.py
patch
|
blob
|
history
diff --git
a/lcm/workflows/build_in.py
b/lcm/workflows/build_in.py
index
e562da7
..
86378ad
100644
(file)
--- 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)