summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFu Jinhua <fu.jinhua@zte.com.cn>2017-11-08 07:41:26 +0000
committerGerrit Code Review <gerrit@onap.org>2017-11-08 07:41:26 +0000
commit8d3c850ddc3ea3640ec33cac5a53e22c258f1d46 (patch)
tree34c0bbaf696ac148d656ce950b39ae8ce470f387
parent170f6a9edc8352785b649361b8b51d85f6ce163f (diff)
parent69c90e62a6252fc53a59c8df5ea7b84eb23035ba (diff)
Merge "Fix vfc-catalog convert vl bug"v1.0.1
-rw-r--r--catalog/pub/utils/toscaparser/basemodel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog/pub/utils/toscaparser/basemodel.py b/catalog/pub/utils/toscaparser/basemodel.py
index ef5e5205..fe4043c3 100644
--- a/catalog/pub/utils/toscaparser/basemodel.py
+++ b/catalog/pub/utils/toscaparser/basemodel.py
@@ -273,7 +273,7 @@ class BaseInfoModel(object):
if 'requirements' in node:
for item in node['requirements']:
for key, value in item.items():
- if key.upper().find('VIRTUAL_LINK') >= 0:
+ if key.upper().find('VIRTUAL_LINK') >= 0 or key.upper().find('VIRTUALLINK') >= 0:
rets.append({"key_name": key, "vl_id": self.get_requirement_node_name(value)})
return rets