diff options
author | maopengzhang <zhang.maopeng1@zte.com.cn> | 2018-11-10 16:44:29 +0800 |
---|---|---|
committer | maopengzhang <zhang.maopeng1@zte.com.cn> | 2018-11-10 16:44:29 +0800 |
commit | d160ee00ae58bb98f5fc49e7d6782ff6d5afa7b2 (patch) | |
tree | 971d057d4273d333a9dee3e49e10c526718a99ca | |
parent | a08a6c722d73b7fe81db8b9b22f9de8ac6e8e8f9 (diff) |
fix PNF create parameters error
fix create parameters error
Change-Id: Ia1430797b1e036e8bacabad775073707bd8cd0e7
Issue-ID: VFC-1158
Signed-off-by: maopengzhang <zhang.maopeng1@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 993efbe6..fa267855 100644 --- a/lcm/workflows/build_in.py +++ b/lcm/workflows/build_in.py @@ -279,7 +279,7 @@ def confirm_sfc_status(sfc_inst_id): def create_pnf(pnf_param_json): if pnf_param_json and len(pnf_param_json) > 0: pnfs = json.JSONDecoder().decode(pnf_param_json) - for pnf in pnfs: + for pnf in pnfs.itervalues(): uri = "/api/nslcm/v1/pnfs" method = "POST" content = json.JSONEncoder().encode(pnf["input"]["content"]) |