summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhongyuzhao <zhao.hongyu@zte.com.cn>2019-09-23 17:18:24 +0800
committerhongyuzhao <zhao.hongyu@zte.com.cn>2019-09-23 17:19:40 +0800
commit1d4ae57b08ce589f2c8eefbfb4457f0d84bc972d (patch)
tree96de78b207a636d4385f4dcb309f1b895d609cea
parentd8019fdc8c1243f7c8bcf54921639333526f3749 (diff)
Code optimization
Change-Id: I610a4f24c0fcfaac9198b5073309586f315a6a4a Issue-ID: VFC-1431 Signed-off-by: hongyuzhao <zhao.hongyu@zte.com.cn>
-rw-r--r--lcm/lcm/nf/views/curd_vnf_views.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lcm/lcm/nf/views/curd_vnf_views.py b/lcm/lcm/nf/views/curd_vnf_views.py
index 2992814b..fa57f2ed 100644
--- 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"
}
)