aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lcm/ns/ns_create.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/ns/ns_create.py b/lcm/ns/ns_create.py
index e18a9269..216d6386 100644
--- a/lcm/ns/ns_create.py
+++ b/lcm/ns/ns_create.py
@@ -108,7 +108,7 @@ class CreateNSService(object):
"service-type": SERVICE_TYPE,
"service-role": SERVICE_ROLE
}
- resp_data, resp_status = create_ns_aai(self.global_customer_id, SERVICE_TYPE, self.ns_inst_id, data)
+ resp_data, resp_status = create_ns_aai(self.global_customer_id, self.service_type, self.ns_inst_id, data)
if resp_data:
logger.debug("Fail to create ns[%s] to aai: [%s].", self.ns_inst_id, resp_status)
else: