diff options
Diffstat (limited to 'lcm/ns/views.py')
-rw-r--r-- | lcm/ns/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lcm/ns/views.py b/lcm/ns/views.py index 6d19263d..f87a6ebb 100644 --- a/lcm/ns/views.py +++ b/lcm/ns/views.py @@ -57,8 +57,9 @@ class CreateNSView(APIView): csar_id = ignore_case_get(request.data, 'csarId') ns_name = ignore_case_get(request.data, 'nsName') description = ignore_case_get(request.data, 'description') + context = ignore_case_get(request.data, 'context') try: - ns_inst_id = CreateNSService(csar_id, ns_name, description).do_biz() + ns_inst_id = CreateNSService(csar_id, ns_name, description, context).do_biz() except Exception as e: logger.error("Exception in CreateNS: %s", e.message) return Response(data={'error': e.message}, status=status.HTTP_500_INTERNAL_SERVER_ERROR) |