aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Haibin <haibin.huang@intel.com>2018-04-16 23:25:46 +0800
committerHuang Haibin <haibin.huang@intel.com>2018-04-16 23:25:46 +0800
commit73d5ed9a7d0aea91cf0922fd73091f0d5696c70f (patch)
tree2b87309c50180b2f47876a3cbe9f7b60407b1762
parent18f39804274b3ad1a3c6def3b106dc5636c45094 (diff)
VDU parser cps with virtual binding
Change-Id: I569a1e07fac8aa3fc3f831b0400d7f9a70ca3af8 Issue-ID: VFC-657 Signed-off-by: Huang Haibin <haibin.huang@intel.com>
-rw-r--r--catalog/pub/utils/toscaparser/nsdmodel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog/pub/utils/toscaparser/nsdmodel.py b/catalog/pub/utils/toscaparser/nsdmodel.py
index 032fae3c..d250559f 100644
--- a/catalog/pub/utils/toscaparser/nsdmodel.py
+++ b/catalog/pub/utils/toscaparser/nsdmodel.py
@@ -132,7 +132,7 @@ class EtsiNsdInfoModel(BaseInfoModel):
if 'requirements' in tmpnode:
for item in tmpnode['requirements']:
for key, value in item.items():
- if key.upper().startswith('VIRTUALBINDING'):
+ if key.upper().startswith('VIRTUAL_BINDING'):
req_node_name = self.get_requirement_node_name(value)
if req_node_name is not None and req_node_name == node['name']:
cps.append(tmpnode)