X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=lcm%2Fns%2Fviews%2Fsol%2Finstantiate_ns_views.py;fp=lcm%2Fns%2Fviews%2Fsol%2Finstantiate_ns_views.py;h=c3c37510299e52ad9c9d7a76b18a45867f29d5a3;hb=049aada7605a701fb98b7479f648c93a516ae9d1;hp=08066be197163edeb630601c76fb1344cb834d2f;hpb=c988b17144918d3b295097b5faa72eb2b9f37c55;p=vfc%2Fnfvo%2Flcm.git diff --git a/lcm/ns/views/sol/instantiate_ns_views.py b/lcm/ns/views/sol/instantiate_ns_views.py index 08066be1..c3c37510 100644 --- a/lcm/ns/views/sol/instantiate_ns_views.py +++ b/lcm/ns/views/sol/instantiate_ns_views.py @@ -29,6 +29,10 @@ logger = logging.getLogger(__name__) class InstantiateNsView(APIView): + """ + This task resource represents the "Instantiate NS" operation. The client can use this resource to instantiate a NS + instance. + """ @swagger_auto_schema( request_body=InstantNsReqSerializer(), responses={ @@ -38,6 +42,12 @@ class InstantiateNsView(APIView): ) @view_safe_call_with_log(logger=logger) def post(self, request, ns_instance_id): + """ + The POST method requests to instantiate a NS instance resource. + :param request: + :param ns_instance_id: + :return: + """ logger.debug("Enter InstantiateNsView::post::ns_instance_id=%s", ns_instance_id) logger.debug("request.data=%s", request.data)