summaryrefslogtreecommitdiffstats
path: root/lcm/v2/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'lcm/v2/views.py')
-rw-r--r--lcm/v2/views.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/lcm/v2/views.py b/lcm/v2/views.py
index 3fa240d9..c35ab01e 100644
--- a/lcm/v2/views.py
+++ b/lcm/v2/views.py
@@ -54,3 +54,13 @@ class VnfGrantView(APIView):
logger.error(traceback.format_exc())
logger.error("Exception in VnfGrant: %s", e.message)
return Response(data={'error': e.message}, status=status.HTTP_500_INTERNAL_SERVER_ERROR)
+
+
+class VnfNotifyView(APIView):
+ def post(self, request):
+ logger.debug("VnfNotifyView post: %s" % request.data)
+ return Response(data={}, status=status.HTTP_204_NO_CONTENT)
+
+ def get(self, request):
+ logger.debug("VnfNotifyView get")
+ return Response(data={}, status=status.HTTP_204_NO_CONTENT)