aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhongyu zhao <zhao.hongyu@zte.com.cn>2020-05-22 09:17:09 +0000
committerGerrit Code Review <gerrit@onap.org>2020-05-22 09:17:09 +0000
commite6ecfa589b95b477220f5ab368de424df19120da (patch)
treea5e45296b152dfea36ff87dd83fd80a91405f954
parentb9d6ee2444e2d4cc8a32fc723a4d8b4c1d009259 (diff)
parente6f23acb37d1bcdccec57aba7e1abbba0cf52ffa (diff)
Merge "Upgrade the nslcm code to solve the problem of l_interface_info field is truple type"
-rw-r--r--lcm/ns_vnfs/biz/handle_notification.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lcm/ns_vnfs/biz/handle_notification.py b/lcm/ns_vnfs/biz/handle_notification.py
index 56717cd1..32e58fdf 100644
--- a/lcm/ns_vnfs/biz/handle_notification.py
+++ b/lcm/ns_vnfs/biz/handle_notification.py
@@ -163,7 +163,7 @@ class HandleVnfLcmOocNotification(object):
def del_l_interface_from_aai(self, vnf_id, l_interface_name):
logger.debug("Delete l_interface::delete_l_interface_in_aai[%s] in aai.", l_interface_name)
try:
- l_interface_info = query_l_interface_aai(vnf_id, l_interface_name)
+ l_interface_info = query_l_interface_aai(vnf_id, l_interface_name)[0]
resource_version = l_interface_info.get("resource-version", '')
resp_data, resp_status = delete_l_interface_aai(vnf_id, l_interface_name, resource_version)
logger.debug("Delete l_interface[%s] from aai successfully, status: %s", l_interface_name,