aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-11-14 20:28:29 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-11-14 20:28:29 +0800
commit803a228e40959442889044612fc85054f8e79b7b (patch)
treed9e3a4e7e5237c187b9cecc6b968972439855300
parentf77a36f3a9f5196c1c9f47642ece859958ab9779 (diff)
Fix vfc-nslcm network name
Change-Id: If457a40cf17bbc5403fbb47b774bf58e92ff06c4 Issue-ID: VFC-589 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
-rw-r--r--lcm/ns/vls/create_vls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/ns/vls/create_vls.py b/lcm/ns/vls/create_vls.py
index c8bfdedd..2c06a9c6 100644
--- a/lcm/ns/vls/create_vls.py
+++ b/lcm/ns/vls/create_vls.py
@@ -77,7 +77,7 @@ class CreateVls(object):
self.vld_id = ignore_case_get(vl_info, "vl_id")
self.description = ignore_case_get(vl_info, "description")
self.vl_properties = ignore_case_get(vl_info, "properties")
- self.vl_inst_name = ignore_case_get(self.vl_properties, "name")
+ self.vl_inst_name = ignore_case_get(self.vl_properties, "network_name")
self.route_external = ignore_case_get(vl_info, "route_external")
ns_info = NSInstModel.objects.filter(id=self.owner_id)
self.ns_name = ns_info[0].name if ns_info else ""