Fix vfc-lcm ns parameter to aai 53/21753/1
authorying.yunlong <ying.yunlong@zte.com.cn>
Thu, 2 Nov 2017 02:14:02 +0000 (10:14 +0800)
committerying.yunlong <ying.yunlong@zte.com.cn>
Thu, 2 Nov 2017 02:14:02 +0000 (10:14 +0800)
Change-Id: I841a7e4c0724cb927daa83656e8fc82ba53d1915
Issue-ID: VFC-558
Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
lcm/ns/ns_create.py

index e18a926..216d638 100644 (file)
@@ -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: