projects
/
osm
/
LCM.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Bug 2199 Fixing ns update operation for KNF instances
[osm/LCM.git]
/
osm_lcm
/
ns.py
diff --git
a/osm_lcm/ns.py
b/osm_lcm/ns.py
index
9885f40
..
968e1f3
100644
(file)
--- a/
osm_lcm/ns.py
+++ b/
osm_lcm/ns.py
@@
-5905,8
+5905,16
@@
class NsLcm(LcmBase):
ee_id = vca_deployed.get("ee_id")
step = "Getting descriptor config"
ee_id = vca_deployed.get("ee_id")
step = "Getting descriptor config"
+ if current_vnfd.get("kdu"):
+
+ search_key = "kdu_name"
+ else:
+ search_key = "vnfd_id"
+
+ entity_id = vca_deployed.get(search_key)
+
descriptor_config = get_configuration(
descriptor_config = get_configuration(
- current_vnfd,
current_vnfd["id"]
+ current_vnfd,
entity_id
)
if "execution-environment-list" in descriptor_config:
)
if "execution-environment-list" in descriptor_config: