diff options
author | fujinhua <fu.jinhua@zte.com.cn> | 2017-10-30 20:08:35 +0800 |
---|---|---|
committer | fujinhua <fu.jinhua@zte.com.cn> | 2017-10-30 20:08:35 +0800 |
commit | 2ef5ffb193f08b74849d5fef9a9574378555a2cb (patch) | |
tree | 7306fe81d58256152bbbffb6924fee6c660c27e4 | |
parent | f21172e9ef728b19bd4322324872a4f39f94b7a9 (diff) |
Fix vnfd model format of create vnf
Change-Id: Ia1680025b3741465ee54b8e29273f073e9376e2e
Issue-Id: VFC-569
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
-rw-r--r-- | lcm/ns/vnfs/create_vnfs.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lcm/ns/vnfs/create_vnfs.py b/lcm/ns/vnfs/create_vnfs.py index 083131ca..ede33807 100644 --- a/lcm/ns/vnfs/create_vnfs.py +++ b/lcm/ns/vnfs/create_vnfs.py @@ -131,6 +131,7 @@ class CreateVnfs(Thread): nfpackage_info = query_vnfpackage_by_id(self.vnfd_id) self.nf_package_info = nfpackage_info["packageInfo"] self.vnfd_model = ignore_case_get(self.nf_package_info, "vnfdModel") + self.vnfd_model = json.loads(self.vnfd_model) def get_virtual_link_info(self, vnf_id): virtual_link_list, ext_virtual_link = [], [] |