summaryrefslogtreecommitdiffstats
path: root/lcm/lcm/nf/views/curd_vnf_views.py
diff options
context:
space:
mode:
authorfujinhua <fu.jinhua@zte.com.cn>2018-11-17 14:39:13 +0800
committerfujinhua <fu.jinhua@zte.com.cn>2018-11-20 18:30:30 +0800
commit1cbfeb8366d32855c1d4daf4e7371bb4081f89de (patch)
tree99e371bf7183b22f03242202e519a85505e04ab7 /lcm/lcm/nf/views/curd_vnf_views.py
parent4d830f4d202669d16c8baf6ef9ad1d8c67aa6c61 (diff)
Add lcm notify call in vnf inst and term
Change-Id: I7808360954933f1dbdcb2ae9341bb1e2d8e69c6c Issue-ID: VFC-1163 Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
Diffstat (limited to 'lcm/lcm/nf/views/curd_vnf_views.py')
-rw-r--r--lcm/lcm/nf/views/curd_vnf_views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/lcm/nf/views/curd_vnf_views.py b/lcm/lcm/nf/views/curd_vnf_views.py
index 3200e1f1..ae8a211a 100644
--- a/lcm/lcm/nf/views/curd_vnf_views.py
+++ b/lcm/lcm/nf/views/curd_vnf_views.py
@@ -70,7 +70,7 @@ class CreateVnfAndQueryVnfs(APIView):
if not req_serializer.is_valid():
raise NFLCMException(req_serializer.errors)
- nf_inst = CreateVnf(req_serializer.data).do_biz()
+ nf_inst = CreateVnf(request.data).do_biz()
create_vnf_resp_serializer = VnfInstanceSerializer(data={"id": nf_inst.nfinstid,
"vnfProvider": nf_inst.vendor,
"vnfdVersion": nf_inst.version,