Code Review
/
vfc
/
gvnfm
/
vnflcm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
d8019fd
)
Code optimization
37/96137/1
author
hongyuzhao
<zhao.hongyu@zte.com.cn>
Mon, 23 Sep 2019 09:18:24 +0000
(17:18 +0800)
committer
hongyuzhao
<zhao.hongyu@zte.com.cn>
Mon, 23 Sep 2019 09:19:40 +0000
(17:19 +0800)
Change-Id: I610a4f24c0fcfaac9198b5073309586f315a6a4a
Issue-ID: VFC-1431
Signed-off-by: hongyuzhao <zhao.hongyu@zte.com.cn>
lcm/lcm/nf/views/curd_vnf_views.py
patch
|
blob
|
history
diff --git
a/lcm/lcm/nf/views/curd_vnf_views.py
b/lcm/lcm/nf/views/curd_vnf_views.py
index
2992814
..
fa57f2e
100644
(file)
--- a/
lcm/lcm/nf/views/curd_vnf_views.py
+++ b/
lcm/lcm/nf/views/curd_vnf_views.py
@@
-61,6
+61,7
@@
class CreateVnfAndQueryVnfs(APIView):
request_body=CreateVnfReqSerializer(),
responses={
status.HTTP_201_CREATED: VnfInstanceSerializer(),
+ status.HTTP_400_BAD_REQUEST: "Bad Request",
status.HTTP_500_INTERNAL_SERVER_ERROR: "Internal error"
}
)