aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFu Jinhua <fu.jinhua@zte.com.cn>2019-07-20 01:40:41 +0000
committerGerrit Code Review <gerrit@onap.org>2019-07-20 01:40:41 +0000
commitf810be107527339c559e73d673e40237bcbac499 (patch)
tree011d076258155441a2ab817090872fb11a985ffe
parentf5d0d06d8b60b661962cfc757eff13b9c6a54813 (diff)
parent787ecec043358a01583a30690e801bd80a1df11d (diff)
Merge "Change layer_protocol array to string"
-rw-r--r--catalog/pub/utils/toscaparser/vnfdparser/vnfd_sol_251.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog/pub/utils/toscaparser/vnfdparser/vnfd_sol_251.py b/catalog/pub/utils/toscaparser/vnfdparser/vnfd_sol_251.py
index f1cb1560..d1b0d143 100644
--- a/catalog/pub/utils/toscaparser/vnfdparser/vnfd_sol_251.py
+++ b/catalog/pub/utils/toscaparser/vnfdparser/vnfd_sol_251.py
@@ -91,7 +91,7 @@ class VnfdSOL251():
vl['properties'] = node['properties']
vlp = vl['properties']
nodep = node['properties']
- vlp['connectivity_type']['layer_protocol'] = nodep['connectivity_type']['layer_protocols']
+ vlp['connectivity_type']['layer_protocol'] = nodep['connectivity_type']['layer_protocols'][0]
vlp['vl_profile']['max_bit_rate_requirements'] = nodep['vl_profile']['max_bitrate_requirements']
vlp['vl_profile']['min_bit_rate_requirements'] = nodep['vl_profile']['min_bitrate_requirements']
if 'virtual_link_protocol_data' in nodep['vl_profile']: