aboutsummaryrefslogtreecommitdiffstats
path: root/lcm/ns/views/sol/instantiate_ns_views.py
diff options
context:
space:
mode:
Diffstat (limited to 'lcm/ns/views/sol/instantiate_ns_views.py')
-rw-r--r--lcm/ns/views/sol/instantiate_ns_views.py10
1 files changed, 10 insertions, 0 deletions
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)