aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-11-02 10:14:02 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-11-02 10:14:02 +0800
commit6a2a929c3229fd2eb134115e4e310c79df680917 (patch)
tree041d320e389f75f970fd448764c41b0520f9f6db
parente55115f06bce17bd0721432c4438533fcf5fbeec (diff)
Fix vfc-lcm ns parameter to aai
Change-Id: I841a7e4c0724cb927daa83656e8fc82ba53d1915 Issue-ID: VFC-558 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
-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: