summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gvnfmadapter/driver/interfaces/views.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/gvnfmadapter/driver/interfaces/views.py b/gvnfmadapter/driver/interfaces/views.py
index b99dc10..db47884 100644
--- a/gvnfmadapter/driver/interfaces/views.py
+++ b/gvnfmadapter/driver/interfaces/views.py
@@ -281,6 +281,14 @@ class VnfGrantInfo(APIView):
class VnfNotifyInfo(APIView):
+ def get(self, request, vnfmtype):
+ try:
+ logger.debug("[%s]receive request.", fun_name())
+ return Response(status=status.HTTP_204_NO_CONTENT)
+ except:
+ logger.error(traceback.format_exc())
+ return Response(data={'error': 'unexpected exception'}, status=status.HTTP_500_INTERNAL_SERVER_ERROR)
+
@swagger_auto_schema(
request_body=VnfNotifyReqSerializer(),
responses={