diff options
author | Fu Jinhua <fu.jinhua@zte.com.cn> | 2019-07-20 01:40:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-07-20 01:40:41 +0000 |
commit | f810be107527339c559e73d673e40237bcbac499 (patch) | |
tree | 011d076258155441a2ab817090872fb11a985ffe | |
parent | f5d0d06d8b60b661962cfc757eff13b9c6a54813 (diff) | |
parent | 787ecec043358a01583a30690e801bd80a1df11d (diff) |
Merge "Change layer_protocol array to string"
-rw-r--r-- | catalog/pub/utils/toscaparser/vnfdparser/vnfd_sol_251.py | 2 |
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']: |