From: ying.yunlong Date: Thu, 2 Nov 2017 02:14:02 +0000 (+0800) Subject: Fix vfc-lcm ns parameter to aai X-Git-Tag: v1.0.1~14 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=6a2a929c3229fd2eb134115e4e310c79df680917;p=vfc%2Fnfvo%2Flcm.git Fix vfc-lcm ns parameter to aai Change-Id: I841a7e4c0724cb927daa83656e8fc82ba53d1915 Issue-ID: VFC-558 Signed-off-by: ying.yunlong --- 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: